Skip to content

Commit

Permalink
change resource ID generation
Browse files Browse the repository at this point in the history
  • Loading branch information
omriyoffe-panw committed Dec 2, 2024
1 parent 8a0250e commit 5e43367
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion checkov/arm/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ def add_graph_check_results(self, report: Report, runner_filter: RunnerFilter) -
file_path=self.extract_file_path_from_abs_path(clean_file_path(Path(entity_file_path))),
file_abs_path=str(file_abs_path),
file_line_range=[start_line - 1, end_line - 1],
resource_id=entity[CustomAttributes.ID],
resource_id=f'{entity[CustomAttributes.RESOURCE_TYPE]}.{entity[CustomAttributes.BLOCK_NAME]}',
)

def build_record(
Expand Down

0 comments on commit 5e43367

Please sign in to comment.