View a markdown version of this page

Assessment Findings - Amazon Managed Streaming for Apache Kafka
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Assessment Findings

URI

/v1/clusters/clusterArn/assessments/assessmentArn/findings

HTTP methods

GET

Operation ID: ListAssessmentFindings

Returns the findings of a completed assessment. Each finding names the affected resource, what is wrong with it, and how to resolve it. Filter by category, by severity, or by both.

Findings are available only while the assessment status is COMPLETE. An assessment that is still in progress returns a conflict error.

Path parameters
NameTypeRequiredDescription
clusterArnStringTrue

The Amazon Resource Name (ARN) that uniquely identifies the cluster.

assessmentArnStringTrue

The Amazon Resource Name (ARN) of the assessment.

Query parameters
NameTypeRequiredDescription
categoryStringFalse

Optional filter. Only return findings matching this category.

severityStringFalse

Optional filter. Only return findings matching this severity.

maxResultsStringFalse

The maximum number of findings to return in the response. The default is 100 and the maximum is 500. If there are more results, the response includes a NextToken parameter.

nextTokenStringFalse

The paginated results marker. When the result of the operation is truncated, the call returns NextToken in the response. To get the next batch, provide this token in your next request.

Responses
Status codeResponse modelDescription
200ListAssessmentFindingsResponse

Successful response.

400Error

The request isn't valid because the input is incorrect. Correct your input and then submit it again.

401Error

The request is not authorized. The provided credentials couldn't be validated.

403Error

Access forbidden. Check your credentials and then retry your request.

404Error

The resource could not be found due to incorrect input. Correct the input, then retry the request.

409Error

The assessment is not yet complete. Findings are available only while the assessment status is COMPLETE.

429Error

429 response

500Error

There was an unexpected internal server error. Retrying your request might resolve the issue.

503Error

503 response

OPTIONS

Enable CORS by returning correct headers

Path parameters
NameTypeRequiredDescription
clusterArnStringTrue

The Amazon Resource Name (ARN) that uniquely identifies the cluster.

assessmentArnStringTrue
Responses
Status codeResponse modelDescription
200None

Default response for CORS method

Schemas

Response bodies

{ "findings": [ { "findingId": "string", "category": enum, "severity": enum, "resource": "string", "message": "string", "remediation": { "action": "string", "documentationUrl": "string" } } ], "nextToken": "string" }
{ "message": "string", "invalidParameter": "string" }

Properties

AssessmentFinding

A single finding from an assessment, describing a specific issue or observation.

PropertyTypeRequiredDescription
category

FindingCategory

True

The category of this finding.

findingId

string

True

An identifier derived from the content of the finding, not from the assessment run. The same problem on the same resource produces the same findingId every time, so you can compare runs to see which findings you have resolved and which are new.

message

string

True

Human-readable description of what is wrong, why it matters, and what to do.

remediation

FindingRemediation

False

Guidance for resolving this finding. Absent when no specific remediation applies.

resource

string

False

The specific resource affected (for example, topic name). Absent for cluster-level findings.

severity

FindingSeverity

True

The severity of this finding.

Error

Returns information about an error.

PropertyTypeRequiredDescription
invalidParameter

string

False

The parameter that caused the error.

message

string

False

The description of the error.

FindingCategory

The category of an assessment finding.

  • INFRASTRUCTURE

  • BROKER_CONFIGURATION

  • TOPIC_CONFIGURATION

  • CAPACITY

  • HEALTH

FindingRemediation

Guidance for resolving a finding.

PropertyTypeRequiredDescription
action

string

False

The recommended action to resolve this finding.

documentationUrl

string

MaxLength: 2048

False

A link to documentation with more detail about this finding and how to resolve it.

FindingSeverity

How much attention the finding needs. ERROR means that the upgrade cannot proceed until you resolve the condition. WARNING means that the upgrade can proceed, but that the condition is likely to cause problems afterwards. INFO is reported so that you know about the condition and needs no action.

  • ERROR

  • WARNING

  • INFO

ListAssessmentFindingsResponse

Returns the findings for a completed assessment.

PropertyTypeRequiredDescription
findings

Array of type AssessmentFinding

False

A list of findings from the assessment.

nextToken

string

False

If the response is truncated, it returns a nextToken. Send this in the subsequent request to get the remaining results.