Skip to content

feat: Run SAST and DAST Aviator audits separately in SSC CI action - #1135

Open
jmadhur87 wants to merge 15 commits into
fortify:dev/v3.xfrom
jmadhur87:mjain6/sscAviatorSastDastAudit
Open

jmadhur87 wants to merge 15 commits into
fortify:dev/v3.xfrom
jmadhur87:mjain6/sscAviatorSastDastAudit

Conversation

@jmadhur87

Copy link
Copy Markdown
Contributor
  • SSC ci action now has separate Aviator audits for SAST and DAST

    • SAST: DO_AVIATOR_SAST_AUDIT
    • DAST: DO_AVIATOR_DAST_AUDIT
  • DAST audit now waits for the scan results to be in SSC before it starts:

    • wait for DAST scan to be published (DAST_PUBLISH_WAIT)
    • find the published DAST artifacts (DAST_ARTIFACTS)
    • wait for them to finish processing (DAST_ARTIFACTS_WAIT)
  • DAST_PUBLISH runs sc-dast scan publish only when the scan has
    "submit for audit" turned off. Auto-published scans are handled too.

  • DAST_WAIT runs automatically when the DAST audit is enabled, so there is no
    need to also set DO_DAST_WAIT.

  • Warning is logged if the scan settings point to a different app version
    than the CI app version.

  • Remediations stay SAST only (AVIATOR_REMEDIATIONS), as DAST has no remediations.

  • AVIATOR_SAST_WAIT now runs after the DAST audit, so SSC can process the
    SAST audit result while the DAST steps run.

  • New option fcli sc-dast scan wait-for --published: waits until the scan
    results are published to SSC, not only until the scan is complete.

@jmadhur87
jmadhur87 marked this pull request as ready for review October 29, 2026 04:34
@jmadhur87
jmadhur87 requested a review from rsenden October 29, 2026 04:34

@rsenden rsenden left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some initial observations:

  • For backward compatibility, we need to continue supporting DO_AVIATOR_AUDIT, AVIATOR_AUDIT_EXTRA_OPTS, AVIATOR_WAIT_EXTRA_OPTS as deprecated inputs that are equivalent to the new *AVIATOR_SAST* env vars
  • The new *DAST_PUBLISH* inputs don't fit well with the existing *WAIT* options in the documentation; any way to improve? Maybe these should go into a separate section, maybe we should have a single section for DAST, or have a single section for each scan type? Also note that most DO*WAIT options are enabled by default, except for DAST, so maybe that also warrants a separate section.
  • Given the number of steps to run/publish/wait for DAST scan, maybe it would make sense to move this to a separate action that's then invoked from the ci action (somewhat similar to the Debricked and future faa-scan action)? Although that might make it more difficult to run the different scan types in parallel?
  • I'm not sure whether the --published option on the wait-for command makes sense; if we include publishing state in state info, we can use existing wait-for options to wait for that specific state?

This branch has not been deployed

No deployments
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.

2 participants