Reasons

A component that contains a means to provide additional details and further classify the top-level OUTCOME of the ACTION included in a CADF Event Record.

Property Type Required Description
reasonType xs:anyURI No The domain URI that defines the “reasonCode” property’s value
reasonCode xs:string No An optional detailed result code as described by the domain identified in the “reasonType” property
policyType xs:anyURI No The domain URI that defines the “policyId” property’s value
policyId xs:string No An optional identifier that indicates which policy or algorithm was applied in order to achieve the described OUTCOME

Serialisation

{
    "typeURI": "http://schemas.dmtf.org/cloud/audit/1.0/event",
    ...,
    "reason": {
        "reasonType": "http://www.iana.org/assignments/http-status-codes/http-status-codes.xml",
        "reasonCode": "408",
        "policyType": "http://schemas.xmlsoap.org/ws/2002/12/policy",
        "policyId": "http://10.0.3.4/firewall-ruleset/rule0012"
    },
    ...
}