Skip to content

Instantly share code, notes, and snippets.

@dgwhited
Last active July 21, 2020 20:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dgwhited/06eaaa98fc04f6460c197052f628b126 to your computer and use it in GitHub Desktop.
Save dgwhited/06eaaa98fc04f6460c197052f628b126 to your computer and use it in GitHub Desktop.
{
"issue": "RESOURCE_STAR",
"title": "Unnecessary use of Resource *",
"severity": "LOW",
"description": "",
"detail": null,
"location": {
"actions": [
"ec2:AcceptTransitGatewayPeeringAttachment",
"ec2:AcceptTransitGatewayVpcAttachment",
"ec2:AcceptVpcEndpointConnections",
"ec2:AcceptVpcPeeringConnection",
"....",
"ec2:TerminateInstances",
"ec2:UpdateSecurityGroupRuleDescriptionsEgress",
"ec2:UpdateSecurityGroupRuleDescriptionsIngress"
],
"sid": "ElasticComputeCloudFull",
"filepath": "policy.json"
}
}
{
"issue": "RESOURCE_STAR",
"title": "Unnecessary use of Resource *",
"severity": "LOW",
"description": "",
"detail": null,
"location": {
"actions": [
"rds:ModifyDBInstance"
],
"sid": "RDSFull",
"filepath": "policy.json"
}
}
{
"issue": "RESOURCE_MISMATCH",
"title": "No resources match for the given action",
"severity": "MEDIUM",
"description": "",
"detail": [
{
"action": "s3:GetObject",
"required_format": "arn:*:s3:::*/*"
}
],
"location": {
"actions": [
"s3:GetObject",
"s3:ListBucket"
],
"sid": "S3Full",
"filepath": "policy.json"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment