Generates and uploads SARIF files to GitHub Advanced Security.
Place an aviary.yaml (or aviary.yml) at the root of a consuming repo to
customize scanner behavior.
Use exclude to skip directories or files. Each entry is a regex matched
against file paths:
version: 1
exclude:
- ^__tests__/
- ^tools/Use exclude_rules to suppress Semgrep rules that don't apply to your repo
(e.g., Kubernetes rules in a repo with no production deployments). Each entry is
a full Semgrep rule ID:
version: 1
exclude_rules:
- yaml.kubernetes.security.run-as-non-root.run-as-non-rootRule IDs can be found by searching the
Semgrep Registry. Changes to exclude_rules require
infosec approval.
If check-dist.yaml fails, it probably means
that a transient dependency has changed. To fix it, rebuild dist like this and
commit it.
$ rm -rf dist node-modules
$ npm install
$ npm run bundle