| Object type: attachment | |
|---|---|
| A file included or added to an incident. | |
| Field | Description |
| createdate | The date and time when the object was created. |
| creator | The URL of the Sentinel User object that represents the creator of the object. |
| data | The data being attached to an incident, such as a log file. |
| desc | A description of the file being attached to the incident. |
| extension | The extension of the file being attached to the incident. |
| filename | The name of the file being attached to the incident. |
| meta | The metadata for an object, including the object type name and the URL reference to the object. Definition |
| moddate | The date and time when the object was last modified. |
| modifier | The URL of the Sentinel User object that represents the last modifier of the object. |
| source | The source of the file being attached to the incident. |
| sub-type | The sub-type of the file being attached to the incident. |
| type | The type of file being attached to the incident. |
| Object type: meta | |
|---|---|
| The metadata for an object, including the object type name and the URL reference to the object. | |
| Field | Description |
| @href | The URL reference to the object. |
| type | The name of the object type |
GET https://164.99.19.131:8443/SentinelRESTServices/objects/attachment/42
{
"meta":{
"type":"attachment",
"@href":"https://164.99.19.131:8443/SentinelRESTServices/objects/attachment/42"
},
"extension":"txt",
"sub-type":"xml",
"moddate":"2012-04-25T13:33:44.524Z",
"desc":"Log file containing failed logins.",
"source":"Log File",
"createdate":"2012-04-25T13:33:44.524Z",
"filename":"server.log",
"type":"text"
}
| Object type: attachment | ||
|---|---|---|
| A file included or added to an incident. | ||
| Field | Required | Description |
| data | false | The data being attached to an incident, such as a log file. |
| desc | false | A description of the file being attached to the incident. |
| extension | false | The extension of the file being attached to the incident. |
| filename | false | The name of the file being attached to the incident. |
| source | false | The source of the file being attached to the incident. |
| sub-type | false | The sub-type of the file being attached to the incident. |
| type | false | The type of file being attached to the incident. |
| Object type: meta | ||
|---|---|---|
| The metadata for an object, including the object type name and the URL reference to the object. | ||
| Field | Required | Description |
| @href | false | The URL reference to the object. |
| type | false | The name of the object type |
PUT https://164.99.19.131:8443/SentinelRESTServices/objects/attachment/42
{
"extension":"txt",
"sub-type":"xml",
"desc":"Log file containing failed logins.",
"source":"Log File",
"filename":"server.log",
"type":"text"
}
DELETE https://164.99.19.131:8443/SentinelRESTServices/objects/attachment/42