Skip to content

feat: add actions and supply-chain packs#14

Open
zhongliang02 wants to merge 5 commits intodevelopfrom
feat/actions-supply-chain-packs
Open

feat: add actions and supply-chain packs#14
zhongliang02 wants to merge 5 commits intodevelopfrom
feat/actions-supply-chain-packs

Conversation

@zhongliang02
Copy link
Copy Markdown
Contributor

Summary

  • Adds opengovsg/actions-custom-queries@1.0.0 under a new actions: packs section for scanning GitHub Actions workflows (e.g. unfrozen package installs)
  • Adds opengovsg/supply-chain-release-age-queries@1.0.0 under the existing javascript: packs section for dependabot cooldown and pnpm workspace minimum release age checks

Notes

  • The actions pack only runs on repos that include actions in their CodeQL language matrix
  • The supply-chain-release-age-queries pack uses the JavaScript extractor, so it will run on all JS/TS repos automatically

Test plan

  • Verify CodeQL analysis runs successfully on a repo with actions in its language matrix and picks up the new actions queries
  • Verify CodeQL analysis on a JS repo picks up the supply-chain-release-age-queries
  • Confirm existing JavaScript/NestJS/Next.js/React queries continue to work as before

Includes new unvetted-package-exec rule added in codeql-pack#33.
Fixes false negative where commands ending with . (e.g. npx prettier --check .)
were incorrectly excluded as local path executions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant