Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Nov 15, 2023
1 parent 7ed8572 commit e13e5b9
Show file tree
Hide file tree
Showing 6 changed files with 197 additions and 417 deletions.
2 changes: 1 addition & 1 deletion check/check.go
Original file line number Diff line number Diff line change
Expand Up @@ -310,4 +310,4 @@ func runAudit(audit string) (output string, err error) {
glog.V(3).Infof("Output:\n %q", output)
}
return output, err
}
}
6 changes: 3 additions & 3 deletions check/controls.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const (
// UNKNOWN is when the AWS account can't be found
UNKNOWN = "Unknown"
// ARN for the AWS Security Hub service
ARN = "arn:aws:securityhub:%s::product/khulnasoft-security/kube-bench"
ARN = "arn:aws:securityhub:%s::product/aqua-security/kube-bench"
// SCHEMA for the AWS Security Hub service
SCHEMA = "2018-10-08"
// TYPE is type of Security Hub finding
Expand Down Expand Up @@ -237,7 +237,7 @@ func (controls *Controls) ASFF() ([]types.AwsSecurityFinding, error) {
actualValue = check.ActualValue[0:1023]
}

// Fix issue https://github.com/khulnasoft-lab/kube-bench/issues/903
// Fix issue https://github.com/aquasecurity/kube-bench/issues/903
if len(check.Remediation) > 512 {
remediation = check.Remediation[0:511]
}
Expand Down Expand Up @@ -327,4 +327,4 @@ func summarizeGroup(group *Group, state State) {
default:
glog.Warningf("Unrecognized state %s", state)
}
}
}
Loading

0 comments on commit e13e5b9

Please sign in to comment.