-
CV-006 checks where a CodeScene uploader keeps its token. For a repository whose workflows upload to CodeScene, the environment
codescenemust exist with a custom deployment branch policy admitting the branchmainalone, andCS_ACCESS_TOKENmust be a secret of that environment and not a repository secret. Each result carries astatusproperty naming the step still outstanding:environment-missing,policy-not-custom,policy-not-main-only,secret-not-movedorsecret-missing. Reading secret names needs a token allowed to list them; a refused read is reported asindeterminate, never as a pass. -
Scheduled audits run via
.github/workflows/auditor.ymlevery day at 05:00 UTC. Results land in GitHub's Code Scanning dashboard because the workflow uploads the generated Static Analysis Results Interchange Format (SARIF) file using the GitHubgithub/codeql-action/upload-sarifaction. -
Trigger the workflow manually with Run workflow to inspect a specific revision. Provide
snapshot_path(for example,tests/fixtures/auditor/snapshot.json) to replay a recorded API response and setupload_sariftofalsewhen only a local artefact is required. -
Run the same workflow locally with
act:
CONCORDAT_RUN_ACT_TESTS=1 pytest tests/workflows/test_auditor_workflow.py -k auditor
The test reads tests/fixtures/workflows/auditor-workflow-dispatch.json,
downloads workflow artefacts under a temporary directory, and asserts that
the SARIF log structure is valid.