| 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 |
.. _hosts: |
| 17 |
|
| 18 |
====== |
| 19 |
Hosts |
| 20 |
====== |
| 21 |
|
| 22 |
Most resources that are referenced in an IT or cloud infrastructure are |
| 23 |
conceptually "hosted on" or "hosted by" other resources. For example, |
| 24 |
"applications" are hosted on "web servers" or "users" may be hosted on a |
| 25 |
"network connected device" or a "terminal". In addition, networked resources |
| 26 |
are "hosted" by some device attached to some network. |
| 27 |
|
| 28 |
The host resource often provides context or location information for the |
| 29 |
resource it is hosting at the time the Actual Event was observed and recorded |
| 30 |
(e.g., an IP address, software agent, platform, etc.). Providing a means to |
| 31 |
record host information with a CADF Event Record is valuable for audit purposes |
| 32 |
because compliance policies and rules are often based on such information. |
| 33 |
|
| 34 |
======== =============== ======== ============================================== |
| 35 |
Property Type Required Description |
| 36 |
======== =============== ======== ============================================== |
| 37 |
id cadf:Identifier No The optional identifier of the host RESOURCE |
| 38 |
address xs:anyURI No The optional address of the host RESOURCE |
| 39 |
agent xs:string No The optional agent (name) of the host RESOURCE |
| 40 |
platform xs:string No The optional platform of the host RESOURCE |
| 41 |
======== =============== ======== ============================================== |
| 42 |
|
| 43 |
Serialisation |
| 44 |
============= |
| 45 |
|
| 46 |
.. code-block:: javascript |
| 47 |
|
| 48 |
{ |
| 49 |
"id": "myuuid:1234-5678-90abc-defg-0000", |
| 50 |
"address": "10.0.2.15", |
| 51 |
"agent": "Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:18.0)", |
| 52 |
"platform": "Linux version 3.5.0-23-generic (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #35~precise1-Ubuntu SMP Fri Jan 25 17:15:33 UTC 2013" |
| 53 |
} |