| 1 |
.. |
| 2 |
Copyright 2014 IBM Corp. |
| 3 |
|
| 4 |
Licensed under the Apache License, Version 2.0 (the "License"); you may |
| 5 |
not use this file except in compliance with the License. You may obtain |
| 6 |
a copy of the License at |
| 7 |
|
| 8 |
http://www.apache.org/licenses/LICENSE-2.0 |
| 9 |
|
| 10 |
Unless required by applicable law or agreed to in writing, software |
| 11 |
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT |
| 12 |
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the |
| 13 |
License for the specific language governing permissions and limitations |
| 14 |
under the License. |
| 15 |
|
| 16 |
.. _reasons: |
| 17 |
|
| 18 |
======== |
| 19 |
Reasons |
| 20 |
======== |
| 21 |
|
| 22 |
A component that contains a means to provide additional details and further |
| 23 |
classify the top-level OUTCOME of the ACTION included in a CADF Event Record. |
| 24 |
|
| 25 |
========== ========= ======== ===================================================================================================================== |
| 26 |
Property Type Required Description |
| 27 |
========== ========= ======== ===================================================================================================================== |
| 28 |
reasonType xs:anyURI No The domain URI that defines the "reasonCode" property's value |
| 29 |
reasonCode xs:string No An optional detailed result code as described by the domain identified in the "reasonType" property |
| 30 |
policyType xs:anyURI No The domain URI that defines the "policyId" property’s value |
| 31 |
policyId xs:string No An optional identifier that indicates which policy or algorithm was applied in order to achieve the described OUTCOME |
| 32 |
========== ========= ======== ===================================================================================================================== |
| 33 |
|
| 34 |
Serialisation |
| 35 |
============= |
| 36 |
|
| 37 |
.. code-block:: javascript |
| 38 |
|
| 39 |
{ |
| 40 |
"typeURI": "http://schemas.dmtf.org/cloud/audit/1.0/event", |
| 41 |
..., |
| 42 |
"reason": { |
| 43 |
"reasonType": "http://www.iana.org/assignments/http-status-codes/http-status-codes.xml", |
| 44 |
"reasonCode": "408", |
| 45 |
"policyType": "http://schemas.xmlsoap.org/ws/2002/12/policy", |
| 46 |
"policyId": "http://10.0.3.4/firewall-ruleset/rule0012" |
| 47 |
}, |
| 48 |
... |
| 49 |
} |