Repository navigation
Extend CodeQL to the actions language, settle on security-extended, and document the alert dismissal policy (#341) - #366
Conversation
|
hey, gonna review this before merging |
|
You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool. What Enabling Code Scanning Means:
For more information about GitHub Code Scanning, check out the documentation. |
|
Is this pull request abandoned? It had no activity for 21 days. It has been marked stale and will be closed in 7 days if no further activity occurs. Add a comment or push a commit to keep it open. See TRIAGE.md for our triage cadence. |
|
pinng @IanoNjuguna @danbaruka |
|
Hey guys one moment
…On Tue, Nov 10, 2026, 7:11 AM Tex M. ***@***.***> wrote:
*Ranchhand87* left a comment (IntersectMBO/developer-experience#366)
<#366 (comment)>
pinng @IanoNjuguna <https://github.com/IanoNjuguna> @danbaruka
<https://github.com/danbaruka>
—
Reply to this email directly, view it on GitHub
<#366?email_source=notifications&email_token=CMAPYQEZEVG4WEW3SKXI75L5YMHY3A5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTMNZWHAZDCMZWGM4KM4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KYZTPN52GK4S7MNWGSY3L#issuecomment-6768213638>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/CMAPYQDKIWI53OZWVFY73MT5YMHY3AVCNFSNUABFKJSXA33TNF2G64TZHM4TANBYGUZDOOJWHNEXG43VMU5TKOJQHEZDCNJWHE2KC5QC>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
…t dismissal policy (IntersectMBO#341) The workflow merged in IntersectMBO#335 covers the website sources only. The workflow files under .github/workflows/ are the highest-privilege code in this repo (deploy.yml holds pages: write and id-token: write) and nothing analysed them. - Add an actions matrix entry (build-mode: none) alongside javascript-typescript, so workflow YAML gets the same SAST coverage: the actions query pack covers code injection in workflows, unpinned or third-party actions and cleartext credentials, among others. - TRIAGE.md: the Security scanning section now records that workflows are covered, and a new subsection states the code scanning dismissal policy — only a maintainer may dismiss, and only with one of the three GitHub reason codes (false positive / won't fix / used in tests), each with its bar for what the dismissal comment must show. The query-suite comparison (default vs security-extended) numbers are recorded on IntersectMBO#341; this change keeps the suite that comparison supports.
…ctMBO#341) Comparison run on a throwaway fork branch, both suites against this tree (numbers also recorded on IntersectMBO#341): - default suite: javascript-typescript 87 rules, actions 17 rules — 0 results - security-extended suite: javascript-typescript 103 rules, actions 23 rules — 0 results The wider suite surfaces nothing extra on the current code, so the noise risk does not materialise and the extra 22 rules are free coverage. Making it the default here rather than leaving the suite un-chosen.
c1b9149 to
ea77c7c
Compare
|
Refreshing this PR: I've rebased the branch onto current
One wrinkle: the new head's workflow run is sitting at "approval required" (fork PR), so it needs a maintainer to approve the run before checks report on this head. On the previous head all three checks were green (CodeQL, Analyze (actions), Analyze (javascript-typescript)). @IanoNjuguna @danbaruka — no rush, just keeping this current and merge-ready for whenever it reaches the top of your queue. Happy to split the TRIAGE.md policy section into its own PR if you'd rather land the workflow change alone. — @Kshot9000 · ADA tips: addr1q8hnl6vl5a6k3rw3n5g3jtte696zcl76kfatzv7gpswa9r0dj7fma6klq55y4ffm7tf0em09udnyhuk4ah92pl5x9jpqjae44v |
danbaruka
left a comment
There was a problem hiding this comment.
The change matches #341. actions with build-mode: none is the right setup, and security-extended keeps the default queries and adds the wider set without the maintainability rules. The dismissal policy in TRIAGE.md matches the three GitHub reason codes.
LGTM
|
Merged |
What this does
Follow-up to #298 / #335, closing out #341 in one change:
1. The
actionslanguage is analysed. One matrix entry (build-mode: none) alongsidejavascript-typescript. The Actions extractor reads the workflow YAML directly, and the run on my fork analyses this repo's workflows cleanly with no extra configuration: 17 rules (default suite), 0 results. These are the highest-privilege files in the repo —deploy.ymlholdspages: writeandid-token: write— and until now nothing scanned them.2. The query suite is settled:
security-extended. Comparison run on a throwaway fork branch, both suites against this tree:The wider suite surfaces nothing extra on the current code, so the noise risk #341 flags does not materialise — the extra 22 rules are free coverage, and the suite is now a decision instead of a default. (The numbers are also recorded on #341 itself.)
3. TRIAGE.md states the dismissal policy. Only a maintainer may dismiss a code scanning alert, and only with one of the three GitHub reason codes —
false positive,won't fix,used in tests— each with what the dismissal comment must show; dismissing for convenience or without an explanation is explicitly not acceptable, and dismissals are revisited in the monthly review. The Security scanning section also now records that workflows are covered.Verification
queries:line, and comments..github/workflows/codeql.ymlandTRIAGE.md.Built and maintained by me, an independent Cardano community builder — not affiliated with the Cardano Foundation, IOG or Intersect.
@Kshot9000 (https://x.com/kshot9000) · ADA: addr1q8hnl6vl5a6k3rw3n5g3jtte696zcl76kfatzv7gpswa9r0dj7fma6klq55y4ffm7tf0em09udnyhuk4ah92pl5x9jpqjae44v
cc @cardano-foundation @IntersectMBO