feat(parsers): add Orca Security CSV and JSON parser#14450
Open
skywalke34 wants to merge 13 commits intoDefectDojo:devfrom
Open
feat(parsers): add Orca Security CSV and JSON parser#14450skywalke34 wants to merge 13 commits intoDefectDojo:devfrom
skywalke34 wants to merge 13 commits intoDefectDojo:devfrom
Conversation
Authored by T. Walker - DefectDojo
Authored by T. Walker - DefectDojo
Authored by T. Walker - DefectDojo
Extract shared helper functions into helpers.py to avoid circular imports between parser.py and csv_parser.py. The CSV parser reads Orca Security alert exports and maps fields to DefectDojo findings. Authored by T. Walker - DefectDojo
Authored by T. Walker - DefectDojo
Authored by T. Walker - DefectDojo
Authored by T. Walker - DefectDojo
- Source now populates 'service' field - OrcaScore populates severity_justification as 'OrcaScore: X.X' - Labels now populate finding tags (unsaved_tags) - unique_id_from_tool changed to hash(CloudAccount.Name|Inventory.Name|Title) Authored by T. Walker - DefectDojo
- Updated deduplication hash fields (CloudAccount.Name|Inventory.Name|Title) - Added service field mapping from Source - Added severity_justification field mapping from OrcaScore - Added tags field mapping from Labels - Updated line number references throughout - Added new Special Processing Notes sections Authored by T. Walker - DefectDojo
Add comprehensive docstrings to helpers.py with function descriptions, parameter documentation, and return value documentation. Simplify class docstrings in parser files to match DefectDojo conventions. Authored by T. Walker - DefectDojo
- Add DEDUPE_ALGO_UNIQUE_ID_FROM_TOOL entry for Orca Security Alerts in settings.dist.py - Increase title truncation from 150 to 500 characters - Remove line number references from documentation tables and prose - Clean up parser.py imports (remove unused helper re-exports) Authored by T. Walker - DefectDojo
Reviewers have indicated parsers should not compute unique_id_from_tool. Switch to DEDUPE_ALGO_HASH_CODE using title + component_name fields configured in settings.dist.py. - Remove build_unique_id helper and hashlib import - Remove unique_id_from_tool from CSV and JSON parsers - Add HASHCODE_FIELDS_PER_SCANNER entry for Orca Security Alerts - Change DEDUPLICATION_ALGORITHM_PER_PARSER to DEDUPE_ALGO_HASH_CODE - Update tests and documentation to reflect new dedup approach Authored by T. Walker - DefectDojo
Authored by T. Walker - DefectDojo
Maffooch
approved these changes
Mar 9, 2026
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.
Description
New parser for Orca Security. Orca Security is a cloud security platform that provides agentless security and compliance for AWS, Azure, GCP, and Kubernetes environments.
The parser:
[, otherwise CSV)title+component_nameconfigured insettings.dist.pyNote on Category field: Category metadata (e.g., "IAM misconfigurations") is included in the structured markdown description alongside other alert metadata, rather than as a tag. Orca's Labels field is stored as tags.
Test results
7 unit tests covering:
Documentation
Parser documentation at
docs/content/supported_tools/parsers/file/orca_security.mdChecklist
devdevbranchsettings.dist.py(hashcode: title + component_name)Authored by T. Walker - DefectDojo