Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Description: "This control checks if an AWS Web Services (AWS) account has secur
Connector:
- aws
Query:
Engine: odysseus-v0.0.1
Engine: CloudQL-v0.0.1
QueryToExecute: |
with alternate_security_contact as (
select
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Description: "Ensure that an AWS account is part of AWS Organizations. The rule
Connector:
- aws
Query:
Engine: odysseus-v0.0.1
Engine: CloudQL-v0.0.1
QueryToExecute: |
select
arn as resource,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Description: "Ensure network integrity is protected by ensuring X509 certificate
Connector:
- aws
Query:
Engine: odysseus-v0.0.1
Engine: CloudQL-v0.0.1
QueryToExecute: |
select
certificate_arn as resource,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Description: "This control ensures that ACM certificates are not in failed state
Connector:
- aws
Query:
Engine: odysseus-v0.0.1
Engine: CloudQL-v0.0.1
QueryToExecute: |-
select
certificate_arn as resource,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Description: "This control ensures that ACM certificates are not in pending vali
Connector:
- aws
Query:
Engine: odysseus-v0.0.1
Engine: CloudQL-v0.0.1
QueryToExecute: |-
select
certificate_arn as resource,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Description: "Ensure that ACM single domain name certificates are used instead o
Connector:
- aws
Query:
Engine: odysseus-v0.0.1
Engine: CloudQL-v0.0.1
QueryToExecute: |-
select
certificate_arn as resource,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Description: "This control ensures that all expired ACM certificates are removed
Connector:
- aws
Query:
Engine: odysseus-v0.0.1
Engine: CloudQL-v0.0.1
QueryToExecute: |-
select
certificate_arn as resource,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Description: "This control checks whether RSA certificates managed by AWS Certif
Connector:
- aws
Query:
Engine: odysseus-v0.0.1
Engine: CloudQL-v0.0.1
QueryToExecute: |-
select
certificate_arn as resource,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Description: "Ensure ACM certificates transparency logging is enabled as certifi
Connector:
- aws
Query:
Engine: odysseus-v0.0.1
Engine: CloudQL-v0.0.1
QueryToExecute: |-
select
certificate_arn as resource,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Description: "This control checks if AWS Private CA has a root certificate autho
Connector:
- aws
Query:
Engine: odysseus-v0.0.1
Engine: CloudQL-v0.0.1
QueryToExecute: |-
select
arn as resource,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Description: "This control checks whether API Gateway method has an authorizer c
Connector:
- aws
Query:
Engine: odysseus-v0.0.1
Engine: CloudQL-v0.0.1
QueryToExecute: |-
select
resource_id as resource,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Description: "This control checks whether API Gateway method request parameter i
Connector:
- aws
Query:
Engine: odysseus-v0.0.1
Engine: CloudQL-v0.0.1
QueryToExecute: |-
select
resource_id as resource,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Description: "Ensure API Gateway REST API public endpoint is configured with aut
Connector:
- aws
Query:
Engine: odysseus-v0.0.1
Engine: CloudQL-v0.0.1
QueryToExecute: |-
select
'arn:' || p.partition || ':apigateway:' || p.region || '::/apis/' || p.api_id as resource,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Description: "This control checks if AWS API Gateway routes have an authorizatio
Connector:
- aws
Query:
Engine: odysseus-v0.0.1
Engine: CloudQL-v0.0.1
QueryToExecute: |
select
'arn:' || partition || ':apigateway:' || region || '::/apis/' || api_id || '/routes/' || route_id as resource,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Description: "This control checks whether API Gateway V2 has an authorizer confi
Connector:
- aws
Query:
Engine: odysseus-v0.0.1
Engine: CloudQL-v0.0.1
QueryToExecute: |-
select
'arn:' || partition || ':apigateway:' || region || '::/apis/' || api_id || '/routes/' || route_id as resource,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Description: "Ensure API Gateway stages have authorizers configured."
Connector:
- aws
Query:
Engine: odysseus-v0.0.1
Engine: CloudQL-v0.0.1
QueryToExecute: |-
select
p.name as resource,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Description: "This control checks whether API Gateway endpoint is public or priv
Connector:
- aws
Query:
Engine: odysseus-v0.0.1
Engine: CloudQL-v0.0.1
QueryToExecute: |-
select
'arn:' || partition || ':apigateway:' || region || '::/apis/' || api_id as resource,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Description: "Ensure that a REST API stage uses a Secure Sockets Layer (SSL) cer
Connector:
- aws
Query:
Engine: odysseus-v0.0.1
Engine: CloudQL-v0.0.1
QueryToExecute: |
select
arn as resource,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Description: "This control checks whether AWS X-Ray active tracing is enabled fo
Connector:
- aws
Query:
Engine: odysseus-v0.0.1
Engine: CloudQL-v0.0.1
QueryToExecute: |
select
arn as resource,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Description: "To help protect data at rest, ensure encryption is enabled for you
Connector:
- aws
Query:
Engine: odysseus-v0.0.1
Engine: CloudQL-v0.0.1
QueryToExecute: |
select
'arn:' || partition || ':apigateway:' || region || '::/apis/' || rest_api_id || '/stages/' || name as resource,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Description: "API Gateway logging displays detailed views of users who accessed
Connector:
- aws
Query:
Engine: odysseus-v0.0.1
Engine: CloudQL-v0.0.1
QueryToExecute: |
with all_stages as (
select
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Description: "Ensure that an AWS API Gateway API stage is using a WAF Web ACL. T
Connector:
- aws
Query:
Engine: odysseus-v0.0.1
Engine: CloudQL-v0.0.1
QueryToExecute: |
select
arn as resource,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Description: "Enabling default internet access for AppStream fleet is not recomm
Connector:
- aws
Query:
Engine: odysseus-v0.0.1
Engine: CloudQL-v0.0.1
QueryToExecute: |-
select
arn as resource,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Description: "Ensure session idle disconnect timeout is set to 10 minutes or les
Connector:
- aws
Query:
Engine: odysseus-v0.0.1
Engine: CloudQL-v0.0.1
QueryToExecute: |-
select
arn as resource,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Description: "Ensure user maximum session duration is no longer than 10 hours. A
Connector:
- aws
Query:
Engine: odysseus-v0.0.1
Engine: CloudQL-v0.0.1
QueryToExecute: |-
select
arn as resource,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Description: "The disconnect timeout in minutes refers to the duration for which
Connector:
- aws
Query:
Engine: odysseus-v0.0.1
Engine: CloudQL-v0.0.1
QueryToExecute: |-
select
arn as resource,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Description: "This control checks whether an AWS AppSync API has field-level log
Connector:
- aws
Query:
Engine: odysseus-v0.0.1
Engine: CloudQL-v0.0.1
QueryToExecute: |-
select
name as resource,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Description: "This control checks if an Athena workgroup is encrypted at rest. T
Connector:
- aws
Query:
Engine: odysseus-v0.0.1
Engine: CloudQL-v0.0.1
QueryToExecute: |-
select
name as resource,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Description: "This control checks if an Athena workgroup enforces configuration.
Connector:
- aws
Query:
Engine: odysseus-v0.0.1
Engine: CloudQL-v0.0.1
QueryToExecute: |-
select
name as resource,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Description: "Ensure that sensitive information is not included in the user data
Connector:
- aws
Query:
Engine: odysseus-v0.0.1
Engine: CloudQL-v0.0.1
QueryToExecute: |-
select
launch_configuration_arn as resource,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Description: "This control checks whether an AWS EC2 Auto Scaling group spans mu
Connector:
- aws
Query:
Engine: odysseus-v0.0.1
Engine: CloudQL-v0.0.1
QueryToExecute: |
select
autoscaling_group_arn as resource,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Description: "Ensure that there are no Auto Scaling Groups (ASGs) with suspended
Connector:
- aws
Query:
Engine: odysseus-v0.0.1
Engine: CloudQL-v0.0.1
QueryToExecute: |-
select
autoscaling_group_arn as resource,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Description: "Tags can help with managing, identifying, organizing, searching fo
Connector:
- aws
Query:
Engine: odysseus-v0.0.1
Engine: CloudQL-v0.0.1
QueryToExecute: |-
with propagate_tags_to_ec2_instance as (
select
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Description: "This control checks whether an AWS EC2 Auto Scaling group is creat
Connector:
- aws
Query:
Engine: odysseus-v0.0.1
Engine: CloudQL-v0.0.1
QueryToExecute: |
select
autoscaling_group_arn as resource,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Description: "The Elastic Load Balancer (ELB) health checks for AWS Elastic Comp
Connector:
- aws
Query:
Engine: odysseus-v0.0.1
Engine: CloudQL-v0.0.1
QueryToExecute: |
select
autoscaling_group_arn as resource,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Description: "This control checks the number of network hops that a metadata tok
Connector:
- aws
Query:
Engine: odysseus-v0.0.1
Engine: CloudQL-v0.0.1
QueryToExecute: |
select
launch_configuration_arn as resource,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Description: "Ensure that AWS EC2 Auto Scaling groups have public IP addresses e
Connector:
- aws
Query:
Engine: odysseus-v0.0.1
Engine: CloudQL-v0.0.1
QueryToExecute: |
select
launch_configuration_arn as resource,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Description: "This control checks whether IMDSv2 is enabled on all instances lau
Connector:
- aws
Query:
Engine: odysseus-v0.0.1
Engine: CloudQL-v0.0.1
QueryToExecute: |
select
launch_configuration_arn as resource,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Description: "This control checks whether an AWS EC2 Auto Scaling group uses mul
Connector:
- aws
Query:
Engine: odysseus-v0.0.1
Engine: CloudQL-v0.0.1
QueryToExecute: |
with autoscaling_groups as (
select
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Description: "Checks if a backup plan has a backup rule that satisfies the requi
Connector:
- aws
Query:
Engine: odysseus-v0.0.1
Engine: CloudQL-v0.0.1
QueryToExecute: |
with all_plans as (
select
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Description: "Ensure that there exists at least one backup plan in a region. The
Connector:
- aws
Query:
Engine: odysseus-v0.0.1
Engine: CloudQL-v0.0.1
QueryToExecute: |-
with count_plans as (
select
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Description: "Ensure that a recovery point is encrypted. The rule is non-complia
Connector:
- aws
Query:
Engine: odysseus-v0.0.1
Engine: CloudQL-v0.0.1
QueryToExecute: |
select
recovery_point_arn as resource,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Description: "Checks if a backup vault has an attached resource-based policy whi
Connector:
- aws
Query:
Engine: odysseus-v0.0.1
Engine: CloudQL-v0.0.1
QueryToExecute: |
with recovery_point_manual_deletion_disabled as (
select
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Description: "Ensure a recovery point expires no earlier than after the specifie
Connector:
- aws
Query:
Engine: odysseus-v0.0.1
Engine: CloudQL-v0.0.1
QueryToExecute: |
select
recovery_point_arn as resource,
Expand Down
Loading
Loading