AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

AuditFinding

import "github.com/aws/aws-sdk-go/service/iot"

type AuditFinding struct { CheckName *string `locationName:"checkName" type:"string"` FindingTime *time.Time `locationName:"findingTime" type:"timestamp"` NonCompliantResource *NonCompliantResource `locationName:"nonCompliantResource" type:"structure"` ReasonForNonCompliance *string `locationName:"reasonForNonCompliance" type:"string"` ReasonForNonComplianceCode *string `locationName:"reasonForNonComplianceCode" type:"string"` RelatedResources []*RelatedResource `locationName:"relatedResources" type:"list"` Severity *string `locationName:"severity" type:"string" enum:"AuditFindingSeverity"` TaskId *string `locationName:"taskId" min:"1" type:"string"` TaskStartTime *time.Time `locationName:"taskStartTime" type:"timestamp"` }

The findings (results) of the audit.

CheckName

Type: *string

The audit check that generated this result.

FindingTime

Type: *time.Time

The time the result (finding) was discovered.

NonCompliantResource

Information about the resource that was non-compliant with the audit check.

ReasonForNonCompliance

Type: *string

The reason the resource was non-compliant.

ReasonForNonComplianceCode

Type: *string

A code which indicates the reason that the resource was non-compliant.

RelatedResources

Information about a related resource.

Severity

Type: *string

The severity of the result (finding).

TaskId

Type: *string

The ID of the audit that generated this result (finding)

TaskStartTime

Type: *time.Time

The time the audit started.

Method

GoString

func (s AuditFinding) GoString() string

GoString returns the string representation

SetCheckName

func (s *AuditFinding) SetCheckName(v string) *AuditFinding

SetCheckName sets the CheckName field's value.

SetFindingTime

func (s *AuditFinding) SetFindingTime(v time.Time) *AuditFinding

SetFindingTime sets the FindingTime field's value.

SetNonCompliantResource

func (s *AuditFinding) SetNonCompliantResource(v *NonCompliantResource) *AuditFinding

SetNonCompliantResource sets the NonCompliantResource field's value.

SetReasonForNonCompliance

func (s *AuditFinding) SetReasonForNonCompliance(v string) *AuditFinding

SetReasonForNonCompliance sets the ReasonForNonCompliance field's value.

SetReasonForNonComplianceCode

func (s *AuditFinding) SetReasonForNonComplianceCode(v string) *AuditFinding

SetReasonForNonComplianceCode sets the ReasonForNonComplianceCode field's value.

SetRelatedResources

func (s *AuditFinding) SetRelatedResources(v []*RelatedResource) *AuditFinding

SetRelatedResources sets the RelatedResources field's value.

SetSeverity

func (s *AuditFinding) SetSeverity(v string) *AuditFinding

SetSeverity sets the Severity field's value.

SetTaskId

func (s *AuditFinding) SetTaskId(v string) *AuditFinding

SetTaskId sets the TaskId field's value.

SetTaskStartTime

func (s *AuditFinding) SetTaskStartTime(v time.Time) *AuditFinding

SetTaskStartTime sets the TaskStartTime field's value.

String

func (s AuditFinding) String() string

String returns the string representation

On this page: