Skip to content

Commit

Permalink
Update src/terraform/structure/terraform_parser.go
Browse files Browse the repository at this point in the history
  • Loading branch information
ChanochShayner authored Jun 30, 2024
1 parent 0a0216f commit d52654f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/terraform/structure/terraform_parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ func (p *TerraformParser) modifyBlockTags(rawBlock *hclwrite.Block, parsedBlock
// => we should replace it!
rawTagsTokens = newTagsTokens // checkov:skip=CKV_SECRET_6 false positive
} else {
rawTagsTokens = InsertTokens(rawTagsTokens, newTagsTokens[2:len(newTagsTokens)-2]) // checkov:skip=CKV_SECRET_6 false positive
rawTagsTokens = InsertTokens(rawTagsTokens, newTagsTokens[2:len(newTagsTokens)-2]) // checkov:skip=CKV_SECRET_80 false positive
}
rawBlock.Body().SetAttributeRaw(tagsAttributeName, rawTagsTokens)
return
Expand Down

0 comments on commit d52654f

Please sign in to comment.