Skip to content

Commit

Permalink
ASFF: no longer include timestamp in the finding ID (aquasecurity#1127)
Browse files Browse the repository at this point in the history
  • Loading branch information
mozillazg authored Mar 27, 2022
1 parent 85020ff commit be157a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion check/controls.go
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ func (controls *Controls) ASFF() ([]*securityhub.AwsSecurityFinding, error) {
AwsAccountId: aws.String(a),
Confidence: aws.Int64(100),
GeneratorId: aws.String(fmt.Sprintf("%s/cis-kubernetes-benchmark/%s/%s", arn, controls.Version, check.ID)),
Id: aws.String(fmt.Sprintf("%s%sEKSnodeID+%s%s", arn, a, check.ID, tf)),
Id: aws.String(fmt.Sprintf("%s%sEKSnodeID+%s", arn, a, check.ID)),
CreatedAt: aws.String(tf),
Description: aws.String(check.Text),
ProductArn: aws.String(arn),
Expand Down

0 comments on commit be157a8

Please sign in to comment.