Repository navigation
Conversation
Adds JFrog Xray SCA (jf audit) source-dependency scanning on pull_request plus workflow_dispatch for on-demand runs, matching the org-standard template used by ACO-RAP/ACO-collector/ACO-fullstack/ACO-benchmarking/ ACO-DNOS-collector/ACO-BenchyPacks/ACO-installation. This repo already runs security.yml (CodeQL + Zizmor) but had no dependency SCA scan. Auto-detects the pnpm-managed package.json/pnpm-lock.yaml (no CodeArtifact-scoped private registry here, unlike DAP-UI). Requires JFrog OIDC trust to be provisioned for this repo before the scan will authenticate. Part of the cross-repo sweep tracked as AICO-4423.
✅ Deploy Preview for drivenets-design-system ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
oxfmt --check flagged the inline trailing comment's spacing (normalizes to a single space before `#`, the org template used three). No semantic change.
cspell flagged both in the xray.yml comment (AICO- ticket references and "behaviour", British spelling used in the source ACO-fullstack template this file was copied from). Added to cspell/local-words.txt rather than rewording the comment, to keep it byte-identical to the org template.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a JFrog Xray SCA (
jf audit) source-dependency scan on every PR, matching theorg-standard
xray.ymltemplate already live on ACO-RAP, ACO-collector, ACO-fullstack,ACO-benchmarking, ACO-DNOS-collector, ACO-BenchyPacks, and ACO-installation. This repo
ships a
package.json/pnpm-lock.yaml(pnpm monorepo, library — no shipped image) andalready runs
security.yml(CodeQL + Zizmor, SAST/workflow-lint) but had no dependencySCA scan — closing that gap. Tracked as AR-90388 (this repo's own ticket, needed to
satisfy this repo's PR-title lint) / AICO-4423 (the umbrella cross-repo sweep).
drivenets/ACO-github-actions/xray@65db639c92ca22fe02708a74a45dc5f453391c58(pinnedrather than
@mainper the AICO-3242 incident — see the in-file comment).id-token: write/contents: readpermissions andjf_url/jf_oidc_provider_name/jf_access_tokenwiring as every existing repo.fail_on_severity: high, matching the majority of existing repos.workflow_dispatch:alongsidepull_request:so the scan can also be run on demand.working_directoryorextra_exclusionsoverride was needed. Unlike DAP-UI, this repo has noCodeArtifact-scoped private registry (
.npmrc), so no auth pre-step is needed forjf audit's pnpm resolution.pnpm changeset statusonly requires one for versioned-packagechanges; this is a repo-level CI file with no package impact.
Requires (follow-up, not part of this PR)
JFrog OIDC trust must be provisioned for this repo before the scan will authenticate.
Until a JFrog admin (Zamir/Noga) does that, the workflow will report the deliberate
"not configured, skipping" green state (verified live on the sibling ACO-startup-config
PR #152) rather than a real scan — that is expected, not a broken workflow. The new check
is also not yet wired into this repo's required branch ruleset; that is a separate
follow-up once the scan is confirmed authenticating.
Verification
python3 -c "import yaml; yaml.safe_load(open('.github/workflows/xray.yml'))"— valid YAML.actionlintwas not available locally; the file is a near-verbatim copy of thealready-CI-proven ACO-fullstack template, so the PR's own workflow run is the
authoritative check.
Risk / reviewer focus
Report-only by default posture from the org (
fail_on_severity: high, but the check isnot required in the branch ruleset yet) — this PR cannot block any merge. Reviewer focus:
confirm the SHA pin and severity gate match the intended org standard.