Skip to main content

organization_insights

Creates, updates, deletes, gets or lists an organization_insights resource.

Overview

Nameorganization_insights
TypeResource
Idaws.devops_guru.organization_insights

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
associated_resource_arnsarrayThe Amazon Resource Names (ARNs) of the Amazon Web Services resources that generated this insight.
idstringThe ID of the proactive insight. (pattern: <code>^[\w-]*$</code>)
insight_time_rangeobjectA time ranged that specifies when the observed behavior in an insight started and ended.
namestringThe name of the proactive insight. (pattern: <code>^[\s\S]*$</code>)
prediction_time_rangeobjectThe time range during which anomalous behavior in a proactive anomaly or an insight is expected to occur.
resource_collectionobjectA collection of Amazon Web Services resources supported by DevOps Guru. The two types of Amazon Web Services resource collections supported are Amazon Web Services CloudFormation stacks and Amazon Web Services resources that contain the same Amazon Web Services tag. DevOps Guru can be configured to analyze the Amazon Web Services resources that are defined in the stacks or that are tagged using the same tag key. You can specify up to 500 Amazon Web Services CloudFormation stacks.
service_collectionobjectA collection of the names of Amazon Web Services services.
severitystringThe severity of the insight. For more information, see Understanding insight severities in the Amazon DevOps Guru User Guide. (LOW, MEDIUM, HIGH)
statusstringThe status of the proactive insight. (ONGOING, CLOSED)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
search_organization_insightsselectregionReturns a list of insights in your organization. You can specify which insights are returned by their start time, one or more statuses (ONGOING, CLOSED, and CLOSED), one or more severities (LOW, MEDIUM, and HIGH), and type (REACTIVE or PROACTIVE). Use the Filters parameter to specify status and severity search parameters. Use the Type parameter to specify REACTIVE or PROACTIVE in your search.
list_organization_insightsselectregionReturns a list of insights associated with the account or OU Id.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Returns a list of insights in your organization. You can specify which insights are returned by their start time, one or more statuses (ONGOING, CLOSED, and CLOSED), one or more severities (LOW, MEDIUM, and HIGH), and type (REACTIVE or PROACTIVE). Use the Filters parameter to specify status and severity search parameters. Use the Type parameter to specify REACTIVE or PROACTIVE in your search.

SELECT
associated_resource_arns,
id,
insight_time_range,
name,
prediction_time_range,
resource_collection,
service_collection,
severity,
status
FROM aws.devops_guru.organization_insights
WHERE region = '{{ region }}' -- required
;