Skip to content
This repository was archived by the owner on Oct 4, 2024. It is now read-only.

Commit 07b4a6d

Browse files
committed
Ignore Name tag, not used in plugin anyway
#645
1 parent 2b8f4a0 commit 07b4a6d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/main/java/com/hack23/sonar/cloudformation/reports/checkov/EntityTags.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
*/
2020
package com.hack23.sonar.cloudformation.reports.checkov;
2121

22-
import com.fasterxml.jackson.annotation.JsonProperty;
22+
import com.fasterxml.jackson.annotation.JsonIgnore;
2323

2424
/**
2525
* The Class EntityTags.
@@ -34,7 +34,7 @@ public class EntityTags {
3434
*
3535
* @return the name
3636
*/
37-
@JsonProperty("Name")
37+
@JsonIgnore
3838
public String getName() {
3939
return name;
4040
}

src/test/resources/checkov/azuredeploy.checkov-report

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@
303303
"evaluations": {},
304304
"check_class": "checkov.arm.checks.resource.SQLServerNoPublicAccess",
305305
"fixed_definition": null,
306-
"entity_tags": null,
306+
"entity_tags": {"Name": ["${var.application_name}-${var.rds_database_name}-aurora-sg"]},
307307
"caller_file_path": null,
308308
"caller_file_line_range": null,
309309
"resource_address": null,

0 commit comments

Comments
 (0)