Skip to content

align SAST file type mappings - #1182

Merged
kireetivar merged 4 commits into
fortify:feat/v3.x/aviator/27.1from
kireetivar:p/cdatla/sast-filetype-alignment
Dec 4, 2026
Merged

kireetivar merged 4 commits into
fortify:feat/v3.x/aviator/27.1from
kireetivar:p/cdatla/sast-filetype-alignment

Conversation

@kireetivar

@kireetivar kireetivar commented Dec 3, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Align extension mappings with SAST and Aviator.
  • Resolve SECONDARY findings using the primary file’s type and extension.
  • Recognize standalone AI-rule files.
  • Preserve existing annotation and remediation comparison behavior.
  • Suppress unsafe COBOL annotations.

Resolve SECONDARY findings from the primary file and align extension mappings with SAST. Preserve the existing annotation and remediation comparison boundary.
@kireetivar kireetivar self-assigned this Dec 3, 2026
@kireetivar
kireetivar marked this pull request as ready for review December 3, 2026 11:57
@ankit2995

Copy link
Copy Markdown
Contributor

Non-blocking: Keep SECONDARY header tiering tied to the primary file. If the primary path is known but has no matching type metadata, the fallback can still pick up SECONDARY/hpp from another trace file. The server sees only the resolved pair and can assign GOLD. Could you port the primary-file guard and regression test from the companion server change? Please also verify the original six-finding SSC repro with both builds and check that findings marked Not an Issue have suppressed="true" in audit.xml.

Prevent unrelated SECONDARY trace files from overriding the primary request language and extension.
@kireetivar
kireetivar merged commit c602a66 into fortify:feat/v3.x/aviator/27.1 Dec 4, 2026
15 of 16 checks passed
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.

3 participants