Skip to main content

failure_mode_findings

Creates, updates, deletes, gets or lists a failure_mode_findings resource.

Overview

Namefailure_mode_findings
TypeResource
Idaws.resiliencehubv2.failure_mode_findings

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringThe name of the finding.
commentstringA user-provided comment about the finding.
descriptionstringResource description.
failure_categorystringThe failure category of the finding. (SHARED_FATE, EXCESSIVE_LOAD, EXCESSIVE_LATENCY, MISCONFIGURATION_AND_BUGS, SINGLE_POINT_OF_FAILURE)
finding_idstringThe unique identifier of the finding. (pattern: <code>[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}</code>)
infrastructure_and_code_recommendationsarrayInfrastructure and code recommendations to address the finding.
observability_recommendationsarrayObservability recommendations to address the finding.
policy_componentstringThe policy component associated with the finding. (AVAILABILITY_SLO, MULTI_AZ_DISASTER_RECOVERY, MULTI_REGION_DISASTER_RECOVERY, DATA_RECOVERY)
reasoningstringThe reasoning behind the finding.
service_functionsarrayThe service functions associated with the finding.
severitystringThe severity of the finding. (LOW, MEDIUM, HIGH)
statusstringThe current status of the finding. (OPEN, RESOLVED, IRRELEVANT)
testing_recommendationsarrayTesting recommendations to address the finding.
updated_atstring (date-time)The timestamp when the finding was last updated.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_failure_mode_findingselectfindingId, serviceArn, regionRetrieves a finding by findingId.
list_failure_mode_findingsselectserviceArn, regionseverity, failureCategory, status, maxResults, nextTokenList findings.
update_failure_mode_findingupdateregion, findingId, status, serviceArnUpdates an existing finding.

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
findingIdstringThe unique identifier of the finding to retrieve.
regionstringAWS region (default: us-east-1)
serviceArnstring
failureCategorystringFilter findings by failure category.
maxResultsinteger
nextTokenstring
severitystringFilter findings by severity.
statusstringFilter findings by status.

SELECT examples

Retrieves a finding by findingId.

SELECT
name,
comment,
description,
failure_category,
finding_id,
infrastructure_and_code_recommendations,
observability_recommendations,
policy_component,
reasoning,
service_functions,
severity,
status,
testing_recommendations,
updated_at
FROM aws.resiliencehubv2.failure_mode_findings
WHERE findingId = '{{ findingId }}' -- required
AND serviceArn = '{{ serviceArn }}' -- required
AND region = '{{ region }}' -- required
;

UPDATE examples

Updates an existing finding.

UPDATE aws.resiliencehubv2.failure_mode_findings
SET
findingId = '{{ findingId }}',
status = '{{ status }}',
serviceArn = '{{ serviceArn }}',
comment = '{{ comment }}'
WHERE
region = '{{ region }}' --required
AND findingId = '{{ findingId }}' --required
AND status = '{{ status }}' --required
AND serviceArn = '{{ serviceArn }}' --required
RETURNING
finding;