Compliance class

Contains finding details that are specific to control-based findings. Only returned for findings generated from controls.

Constructors

Compliance({List<String>? relatedRequirements, ComplianceStatus? status, List<StatusReason>? statusReasons})
Compliance.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
relatedRequirements List<String>?
For a control, the industry or regulatory framework requirements that are related to the control. The check for that control is aligned with these requirements.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status ComplianceStatus?
The result of a standards check.
final
statusReasons List<StatusReason>?
For findings generated from controls, a list of reasons behind the value of Status. For the list of status reason codes and their meanings, see Standards-related information in the ASFF in the AWS Security Hub User Guide.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited