ci: scan release images with the official CrowdStrike fcs-action - #34
Merged
Conversation
The shared action pinned FCS CLI 2.0.2, which CrowdStrike no longer serves from the downloads endpoint, so the release build died with an opaque curl exit 6 before the image was pushed. The official action resolves the current CLI itself and reports the policy result through its exit-code output. Also load the built image into the daemon so the scan inspects the image from this build rather than pulling the previous :latest from the registry. Co-authored-by: Cursor <cursoragent@cursor.com>
5 tasks
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
The
v3.0.0release build failed with an opaqueexit code 6before the image was pushed to GHCR, so Fly Deploy never ran (run).The Docker build itself succeeded. The failure was in
Bigdata-com/security-scan-containers@master, which downloads a pinned FCS CLI:CrowdStrike no longer serves
fcs_2.0.2_Linux_x86_64.tar.gzfrom the downloads endpoint (the CLI is on 2.3.x/4.x now). The API returns nodownload_url,jq -ryields the stringnull, and curl fails trying to resolve a host namednull. Nothing in the log says so, because the script never checks that the link is usable.Changes:
crowdstrike/fcs-action@v5.0.2, which resolves the current CLI itself instead of pinning a version that gets retired. The policy result comes back through itsexit-codeoutput, and a follow-up step fails the job on a non-zero value, preserving the previous gating behaviour.load: trueto the build step. Withpush: falseand noload, the image stays in the buildx cache and never reaches the Docker daemon, so the scan was pulling:latestfrom GHCR — the previous release's image — rather than the one just built.Note:
bigdata-briefsandbigdata-thematic-screenerpinfcs_version: "2.0.2"too, and the shared action defaults to it. Neither has released since November 2025, so their next release will fail the same way.Test plan
v3.0.0release to re-firerelease: publishedghcr.io/bigdata-com/bigdata-risk-analyzer:v3.0.0and:latestare pushedMade with Cursor