Skip to content

Commit efde1b5

Browse files
authored
Create shared/security-analysis-base.md for daily security scan workflows (#25459)
1 parent 4947797 commit efde1b5

11 files changed

Lines changed: 130 additions & 99 deletions

.github/workflows/code-scanning-fixer.lock.yml

Lines changed: 16 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/code-scanning-fixer.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,17 @@ permissions:
1010
security-events: read
1111
engine: copilot
1212
imports:
13+
- shared/security-analysis-base.md
1314
- shared/activation-app.md
1415
tools:
1516
github:
1617
github-token: "${{ secrets.GITHUB_TOKEN }}"
17-
toolsets: [context, repos, code_security, pull_requests]
18+
toolsets: [context, pull_requests]
1819
repo-memory:
1920
- id: campaigns
2021
branch-name: memory/campaigns
2122
file-glob: [security-alert-burndown/**]
2223
edit:
23-
bash: true
2424
cache-memory:
2525
safe-outputs:
2626
add-labels:
@@ -33,8 +33,6 @@ safe-outputs:
3333
labels: [security, automated-fix, agentic-campaign, z_campaign_security-alert-burndown]
3434
reviewers: [copilot]
3535
timeout-minutes: 20
36-
features:
37-
copilot-requests: true
3836
---
3937

4038
# Code Scanning Alert Fixer Agent

.github/workflows/daily-malicious-code-scan.lock.yml

Lines changed: 13 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/daily-malicious-code-scan.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,16 @@ permissions:
99
security-events: read
1010
tracker-id: malicious-code-scan
1111
engine: copilot
12-
tools:
13-
github:
14-
toolsets: [repos, code_security]
15-
bash: true
1612
safe-outputs:
1713
create-code-scanning-alert:
1814
driver: "Malicious Code Scanner"
1915
threat-detection: false
2016
timeout-minutes: 15
2117
strict: true
2218
imports:
19+
- shared/security-analysis-base.md
2320
- shared/reporting.md
2421
- shared/observability-otlp.md
25-
features:
26-
copilot-requests: true
2722
---
2823

2924
{{#runtime-import? .github/shared-instructions.md}}

0 commit comments

Comments
 (0)