forked from aquasecurity/trivy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Owen Rumney
authored
Dec 17, 2021
1 parent
efe6889
commit 9be97f2
Showing
147 changed files
with
3,817 additions
and
47,866 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 1,30 @@ | ||
package iam | ||
|
||
import ( | ||
"github.com/aquasecurity/defsec/provider" | ||
"github.com/aquasecurity/defsec/rules" | ||
"github.com/aquasecurity/defsec/severity" | ||
"github.com/aquasecurity/defsec/state" | ||
) | ||
|
||
var EnforceMFA = rules.Register( | ||
rules.Rule{ | ||
AVDID: "AVD-AWS-0123", | ||
Provider: provider.AWSProvider, | ||
Service: "iam", | ||
ShortCode: "enforce-mfa", | ||
Summary: "IAM Groups should have MFA enforcement activated.", | ||
Impact: "User accounts are more vulnerable to compromise without multi factor authentication activated", | ||
Resolution: "Use terraform-module/enforce-mfa/aws to ensure that MFA is enforced", | ||
Explanation: ` | ||
IAM user accounts should be protected with multi factor authentication to add safe guards to password compromise. | ||
`, | ||
Links: []string{ | ||
"https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_passwords_account-policy.html#password-policy-details", | ||
}, | ||
Severity: severity.Medium, | ||
}, | ||
func(s *state.State) (results rules.Results) { | ||
return | ||
}, | ||
) |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Empty file.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.