Skip to content

Prepare command upgraded ssc#1025

Open
mneeta wants to merge 4 commits into
fortify:feat/v3.x/aviator/26.3from
mneeta:prepare-command-upgraded-ssc
Open

Prepare command upgraded ssc#1025
mneeta wants to merge 4 commits into
fortify:feat/v3.x/aviator/26.3from
mneeta:prepare-command-upgraded-ssc

Conversation

@mneeta
Copy link
Copy Markdown
Member

@mneeta mneeta commented Jun 3, 2026

Summary

Adds capability detection for SSC 26.2+ system-managed Aviator tags.

Changes

  • Added SynchronizationResult class to track tag sync status and system-managed flag
  • Implemented /internalCustomTags fallback for Aviator built-in tags detection
  • Updated prepare command to skip manual association for system-managed tags
  • Preserved DAST correlation tag and last_correlation attribute behavior
  • Fixed AviatorLoggerImpl.warn() to output warnings to console (stderr)
  • Updated help text to explain SSC 26.2+ behavior
  • Added unit tests for SynchronizationResult and PrepareResult

Neeta Meshram and others added 4 commits June 2, 2026 15:06
- Add SynchronizationResult class to track tag sync status and system-managed flag
- Implement /internalCustomTags fallback for Aviator built-in tags detection
- Update prepare command to skip manual association for system-managed tags
- Preserve DAST correlation tag and last_correlation attribute behavior
- Fix AviatorLoggerImpl.warn() to output warnings to console (stderr)
- Update help text to explain SSC 26.2+ behavior
- Add unit tests for SynchronizationResult and PrepareResult
JsonNode predictionTag = tagHelperPrediction.synchronize(result);
JsonNode statusTag = tagHelperStatus.synchronize(result);
JsonNode dastCorrTag = tagHelperDastCorr.synchronize(result);
SynchronizationResult predictionResult = tagHelperPrediction.synchronize(result);
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.

This method is quite long; can this be split into multiple methods?

exist in SSC and are associated with the specified issue templates and/or application versions. \
This is necessary to prevent SSC from stripping Fortify Remediation Aviator audit data from uploaded FPR files. \
At least one update option must be specified. \
%n%nFor SSC 26.2 and later, Aviator tags are built-in system-managed tags that are automatically associated with all \
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.

I think it was mentioned that these system-managed tags are only available if Aviator is enabled in SSC configuration, correct? If so, would be good to explicitly mention this in fcli usage help.

* @param result the prepare result to record status entries
* @return SynchronizationResult indicating success/failure and whether system-managed
*/
public SynchronizationResult synchronize(AviatorSSCPrepareHelper.PrepareResult result) {
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.

This method seems fairly long; please check whether it's feasible to refactor into multiple focused methods.

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