-
Notifications
You must be signed in to change notification settings - Fork 152
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make enumeration diagnostig messages more generic
- Loading branch information
1 parent
a1a4d70
commit 1ad43c0
Showing
6 changed files
with
16 additions
and
16 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
6 changes: 3 additions & 3 deletions
6
pkg/cmd/scan/output/testdata/output_access_denied_alert_aws.txt
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 |
---|---|---|
@@ -1,9 +1,9 @@ | ||
Found 0 resource(s) | ||
- 0% coverage | ||
Congrats! Your infrastructure is fully in sync. | ||
Ignoring aws_vpc from drift calculation: Listing aws_vpc is forbidden: dummy error | ||
Ignoring aws_sqs from drift calculation: Listing aws_sqs is forbidden: dummy error | ||
Ignoring aws_sns from drift calculation: Listing aws_sns is forbidden: dummy error | ||
An error occured listing aws_vpc: listing aws_vpc is forbidden: dummy error | ||
An error occured listing aws_sqs: listing aws_sqs is forbidden: dummy error | ||
An error occured listing aws_sns: listing aws_sns is forbidden: dummy error | ||
|
||
It seems that we got access denied exceptions while listing resources. | ||
The latest minimal read-only IAM policy for driftctl is always available here, please update yours: https://docs.driftctl.com/aws/policy |
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
4 changes: 2 additions & 2 deletions
4
pkg/cmd/scan/output/testdata/output_access_denied_alert_github.txt
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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
Found 0 resource(s) | ||
- 0% coverage | ||
Congrats! Your infrastructure is fully in sync. | ||
Ignoring github_team from drift calculation: Listing github_team is forbidden: dummy error | ||
Ignoring github_team_membership from drift calculation: Listing github_team is forbidden: dummy error | ||
An error occured listing github_team: listing github_team is forbidden: dummy error | ||
An error occured listing github_team_membership: listing github_team is forbidden: dummy error | ||
|
||
It seems that we got access denied exceptions while listing resources. | ||
Please be sure that your Github token has the right permissions, check the last up-to-date documentation there: https://docs.driftctl.com/github/policy |