PolicyPackPolicyInput class
Constructors
-
PolicyPackPolicyInput({Input<
Map< ? configSchema, Input<String, dynamic> >String> ? description, Input<String> ? displayName, Input<String> ? enforcementLevel, Input<PolicyPackComplianceFrameworkInput> ? framework, Input<String> ? message, required Input<String> name, Input<String> ? remediationSteps, Input<String> ? severity, Input<List< ? tags, Input<String> >String> ? url}) -
Creates a new PolicyPackPolicyInput.
configSchemaJSON Schema (properties/required/type) for the policy's runtime config. Values are supplied per-policy via the PolicyGroup's policyPacks[].config map.descriptionOptional.displayNameOptional.enforcementLevelOne of: advisory, mandatory, remediate, disabled.frameworkCompliance framework this policy belongs to.messageOptional.nameUnique policy name within the pack.remediationStepsDescription of steps to remediate a violation.severitySeverity level: low, medium, high, or critical.tagsTags associated with the policy.urlURL with more information about the policy.const -
PolicyPackPolicyInput.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
configSchema
→ Input<
Map< ?String, dynamic> > -
JSON Schema (properties/required/type) for the policy's runtime config. Values are supplied per-policy via the PolicyGroup's policyPacks[].config map.
final
-
description
→ Input<
String> ? -
final
-
displayName
→ Input<
String> ? -
final
-
enforcementLevel
→ Input<
String> ? -
One of: advisory, mandatory, remediate, disabled.
final
-
framework
→ Input<
PolicyPackComplianceFrameworkInput> ? -
Compliance framework this policy belongs to.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
message
→ Input<
String> ? -
final
-
name
→ Input<
String> -
Unique policy name within the pack.
final
-
remediationSteps
→ Input<
String> ? -
Description of steps to remediate a violation.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
severity
→ Input<
String> ? -
Severity level: low, medium, high, or critical.
final
-
Tags associated with the policy.
final
-
url
→ Input<
String> ? -
URL with more information about the policy.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited