| 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 |
.. _reportersteps: |
| 17 |
|
| 18 |
============== |
| 19 |
Reportersteps |
| 20 |
============== |
| 21 |
|
| 22 |
This type represents a step in the REPORTERCHAIN that captures information |
| 23 |
about any notable REPORTER (in addition to the OBSERVER) that modified or |
| 24 |
relayed the CADF Event Record and any details regarding any modification it |
| 25 |
performed on the CADF Event Record it is contained within. |
| 26 |
|
| 27 |
The Reporterstep data type should capture information about the resources that |
| 28 |
have had a role in modifying, or relaying the CADF Event Record during its |
| 29 |
lifecycle after having been created by the OBSERVER. |
| 30 |
|
| 31 |
============ ================= ========= ========================================================================================================================== |
| 32 |
Property Type Required Description |
| 33 |
============ ================= ========= ========================================================================================================================== |
| 34 |
role xs:string Yes The role the REPORTER performed on the CADF Event Record (e.g., an "observer", "modifier" or "relay" role) |
| 35 |
reporter cadf:Resource Dependent This property defines the resource that acted as a REPORTER on a CADF Event Record. Required if not reporterId |
| 36 |
reporterId cadf:Identifier Dependent This property identifies a resource that acted as a REPORTER on a CADF Event Record by reference. Required if not reporter |
| 37 |
reporterTime cadf:Timestamp No The time a REPORTER adds its Reporterstep entry into the REPORTERCHAIN |
| 38 |
attachments cadf:Attachment[] No An optional array of additional data containing information about the reporter or any action it performed |
| 39 |
============ ================= ========= ========================================================================================================================== |
| 40 |
|
| 41 |
Serialisation |
| 42 |
============= |
| 43 |
|
| 44 |
.. code-block:: javascript |
| 45 |
|
| 46 |
{ |
| 47 |
"typeURI": "http://schemas.dmtf.org/cloud/audit/1.0/event", |
| 48 |
..., |
| 49 |
"reporterchain": [ |
| 50 |
{ |
| 51 |
"role": "modifier", |
| 52 |
"reporterTime": "2012-03-22T13:00:00-04:00", |
| 53 |
"reporter": { |
| 54 |
"id": "myscheme://mydomain/resource/monitor/id/0002" |
| 55 |
} |
| 56 |
}, |
| 57 |
... |
| 58 |
] |
| 59 |
} |