Repository navigation
Commit fbea4d3
committed
Add a dedicated CodeQL job for python and javascript
S360 grades this repo on 'python' and 'javascript' for
Microsoft.Security.CodeQL.10000. Today both databases come from the central
CodeQL AutoBuilds service rather than from this repo's own pipelines, while the
auto-injected CodeQL in the e2e and horton pipelines uploads competing databases
from jobs that only provision Azure resources. S360 records
arg_max(SnapshotDate) per (repo, language), so whichever uploads last wins.
Add an explicit, cheap CodeQL job to vsts/build.yaml. Both languages are
interpreted, so CodeQL extracts them straight from the checked-out sources and
no build step is needed between Init and Finalize. ('javascript' is graded
because of sdklab/meantimerecovery/aedes/aedes_server.js.)
CodeQL is turned off at pipeline level so the five-way python test matrix does
not each build and upload a database, and off in vsts/python-e2e.yaml and
vsts/horton-e2e.yaml, which build nothing.
CodeQL is enabled only on main; these pipelines also run on PRs, which do not
need to produce a snapshot. CodeQL AutoBuilds remains as a backstop for periods
with no commits to main.1 parent 5ffa377 commit fbea4d3
3 files changed
Lines changed: 46 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
3 | 12 | | |
4 | 13 | | |
5 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
6 | 39 | | |
7 | 40 | | |
8 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
8 | 13 | | |
9 | 14 | | |
10 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
3 | 11 | | |
4 | 12 | | |
5 | 13 | | |
| |||
0 commit comments