Skip to content

Commit 0af17f1

Browse files
committed
Merge branch 'main' of https://github.com/microsoft/security-devops-action into release/vNext
2 parents 6f502f3 + 5e24da2 commit 0af17f1

File tree

4 files changed

+11
-2
lines changed

4 files changed

+11
-2
lines changed

.github/workflows/on-push-verification.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
branches:
77
- '*'
88

9+
permissions:
10+
security-events: write
11+
912
jobs:
1013
sample:
1114
name: MSDO on ${{ matrix.os }}

.github/workflows/sample-workflow.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
branches:
55
- main
66

7+
permissions:
8+
security-events: write
9+
710
jobs:
811
sample:
912
name: MSDO on ${{ matrix.os }}

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ See [action.yml](action.yml)
2525
Run **Microsoft Security DevOps (MSDO)** with the default policy and recommended tools.
2626

2727
```yaml
28+
permissions:
29+
security-events: write
30+
2831
steps:
2932

3033
- uses: actions/checkout@v3

action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ inputs:
1515
languages:
1616
description: A comma separated list of languages to analyze. Example javascript, typescript. Defaults to all.
1717
tools:
18-
description: A comma separated list of analyzer tools to run. Example bandit, binskim, eslint, template-analyzer, terrascan, trivy.
18+
description: A comma separated list of analyzer tools to run. Example bandit, binskim, eslint, templateanalyzer, terrascan, trivy.
1919
outputs:
2020
sarifFile:
2121
description: A file path to a SARIF results file.
2222
runs:
2323
using: 'node16'
24-
main: 'lib/action.js'
24+
main: 'lib/action.js'

0 commit comments

Comments
 (0)