Skip to content

Commit

Permalink
Merge pull request #419 from accurics/imdsv1-fix
Browse files Browse the repository at this point in the history
IMDSv1 policy: update category, description
  • Loading branch information
cesar-rodriguez authored Dec 3, 2020
2 parents 559c45d + 5fc9818 commit 929e377
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 9 deletions.
11 changes: 6 additions & 5 deletions docs/policies/aws.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
### aws_apigatewayv2_api
| Category | Resource | Severity | Description | Reference ID |
| -------- | -------- | -------- | ----------- | ------------ |
| AccessControl | ApiGatewayV2Api | Medium | Insecure Cross-Origin Resource Sharing Configuration allowing all domains | AWS.ApiGatewayV2Api.AccessControl.High.0630 |
| AccessControl | ApiGatewayV2Api | Medium | Insecure Cross-Origin Resource Sharing Configuration allowing all domains | AWS.ApiGatewayV2Api.AccessControl.0630 |


### aws_efs_file_system
Expand All @@ -109,6 +109,7 @@
### aws_instance
| Category | Resource | Severity | Description | Reference ID |
| -------- | -------- | -------- | ----------- | ------------ |
| Network Security | json | MEDIUM | EC2 instances should disable IMDS or require IMDSv2 | AC-AWS-NS-IN-M-1172 |
| Network Security | Instance | MEDIUM | Instance should be configured in vpc. AWS VPCs provides the controls to facilitate a formal process for approving and testing all network connections and changes to the firewall and router configurations. | AWS.Instance.NetworkSecurity.Medium.0506 |


Expand Down Expand Up @@ -158,7 +159,7 @@
### aws_apigatewayv2_stage
| Category | Resource | Severity | Description | Reference ID |
| -------- | -------- | -------- | ----------- | ------------ |
| Logging | ApiGatewayV2Stage | Low | AWS API Gateway V2 Stage is missing access logs | AWS.ApiGatewayV2Stage.Logging.Low.0630 |
| Logging | ApiGatewayV2Stage | Low | AWS API Gateway V2 Stage is missing access logs | AWS.ApiGatewayV2Stage.Logging.0630 |


### aws_ecr_repository
Expand Down Expand Up @@ -353,9 +354,9 @@
### aws_lambda_function
| Category | Resource | Severity | Description | Reference ID |
| -------- | -------- | -------- | ----------- | ------------ |
| Logging | LambdaFunction | Low | Lambda function doesn't not include a VPC configuration. | AWS.LambdaFunction.Logging.Low.0472 |
| Logging | LambdaFunction | LOW | Lambda tracing is not enabled. | AWS.LambdaFunction.Logging.Low.0470 |
| Encryption and Key Management | LambdaFunction | High | Lambda does not uses KMS CMK key to protect environment variables. | AWS.LambdaFunction.EncryptionandKeyManagement.High.0471 |
| Logging | LambdaFunction | Low | Lambda function doesn't not include a VPC configuration. | AWS.LambdaFunction.Logging.0472 |
| Logging | LambdaFunction | LOW | Lambda tracing is not enabled. | AWS.LambdaFunction.Logging.0470 |
| Encryption and Key Management | LambdaFunction | High | Lambda does not use KMS CMK key to protect environment variables. | AWS.LambdaFunction.EncryptionandKeyManagement.0471 |


### aws_kms_key
Expand Down
9 changes: 8 additions & 1 deletion docs/policies/github.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,15 @@
| Identity & Access Management | github | MEDIUM | Repository is Not Private. | accurics.github.IAM.1 |


### github_repository_webhook
| Category | Resource | Severity | Description | Reference ID |
| -------- | -------- | -------- | ----------- | ------------ |
| Encryption and Key Management | github | MEDIUM | Insecure SSL is used for repository webhook. | accurics.github.EKM.2 |


### github_organization_webhook
| Category | Resource | Severity | Description | Reference ID |
| -------- | -------- | -------- | ----------- | ------------ |
| Encryption and Key Management | github | MEDIUM | Insecure SSL is used for organization webhook. | accurics.github.EKM.1 |
| Encryption and Key Management | github | MEDIUM | Insecure SSL is used for repository webhook. | accurics.github.EKM.2 |


Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"file": "ec2UsingIMDSv1.rego",
"template_args": null,
"severity": "MEDIUM",
"description": "Ensure there are no ECS instances using IMDSv1",
"description": "EC2 instances should disable IMDS or require IMDSv2",
"reference_id": "AC-AWS-NS-IN-M-1172",
"category": "Unknown",
"category": "Network Security",
"version": 1
}
}

0 comments on commit 929e377

Please sign in to comment.