Table: aws_elasticbeanstalk_configuration_settings

This table shows data for AWS Elastic Beanstalk Configuration Settings.

https://docs.aws.amazon.com/elasticbeanstalk/latest/api/API_ConfigurationSettingsDescription.html (opens in a new tab)

The primary key for this table is _cq_id.

Relations

This table depends on aws_elasticbeanstalk_environments.

Columns

NameType
_cq_id (PK)uuid
_cq_parent_iduuid
account_idutf8
regionutf8
environment_idutf8
application_nameutf8
date_createdtimestamp[us, tz=UTC]
date_updatedtimestamp[us, tz=UTC]
deployment_statusutf8
descriptionutf8
environment_nameutf8
option_settingsjson
platform_arnutf8
solution_stack_nameutf8
template_nameutf8
application_arnutf8

Example Queries

These SQL queries are sampled from CloudQuery policies and are compatible with PostgreSQL.

Elastic Beanstalk managed platform updates should be enabled

SELECT
  'Elastic Beanstalk managed platform updates should be enabled' AS title,
  account_id,
  application_arn AS resource_id,
  CASE
  WHEN s->>'OptionName' = 'ManagedActionsEnabled'
  AND (s->>'Value')::BOOL = true IS NOT true
  THEN 'fail'
  ELSE 'pass'
  END
    AS status
FROM
  aws_elasticbeanstalk_configuration_settings,
  jsonb_array_elements(
    aws_elasticbeanstalk_configuration_settings.option_settings
  )
    AS s;