Skip to content

Commit 8134a44

Browse files
authored
CM-33703 - Add severity for IaC (#216)
1 parent 383f389 commit 8134a44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cycode/cli/commands/scan/code_scanner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ def _enrich_scan_result_with_data_from_detection_rules(
119119
cycode_client: 'ScanClient', scan_type: str, scan_result: ZippedFileScanResult
120120
) -> None:
121121
# TODO(MarshalX): remove scan_type arg after migration to new backend filter
122-
if scan_type != consts.SECRET_SCAN_TYPE:
122+
if scan_type not in {consts.SECRET_SCAN_TYPE, consts.INFRA_CONFIGURATION_SCAN_TYPE}:
123123
# not yet
124124
return
125125

0 commit comments

Comments
 (0)