Class OSPolicyResourceCompliance (1.13.0)

OSPolicyResourceCompliance(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Attributes

NameDescription
os_policy_resource_id str
The ID of the OS policy resource.
config_steps MutableSequence[google.cloud.osconfig_v1alpha.types.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep]
Ordered list of configuration completed by the agent for the OS policy resource.
compliance_state google.cloud.osconfig_v1alpha.types.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState
The compliance state of the resource.
compliance_state_reason str
A reason for the resource to be in the given compliance state. This field is always populated when compliance_state is UNKNOWN. The following values are supported when compliance_state == UNKNOWN - execution-errors: Errors were encountered by the agent while executing the resource and the compliance state couldn't be determined. - execution-skipped-by-agent: Resource execution was skipped by the agent because errors were encountered while executing prior resources in the OS policy. - os-policy-execution-attempt-failed: The execution of the OS policy containing this resource failed and the compliance state couldn't be determined.
exec_resource_output google.cloud.osconfig_v1alpha.types.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput
ExecResource specific output. This field is a member of oneof_ output.

Classes

ComplianceState

ComplianceState(value)

Possible compliance states for a resource.

ExecResourceOutput

ExecResourceOutput(mapping=None, *, ignore_unknown_fields=False, **kwargs)

ExecResource specific output.

OSPolicyResourceConfigStep

OSPolicyResourceConfigStep(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Step performed by the OS Config agent for configuring an OSPolicy resource to its desired state.