|
48 | 48 | }, |
49 | 49 | { |
50 | 50 | "name": "object_category", |
51 | | - "validity": "if(like(object_category,'%\\\"%'),null(),object_category)", |
| 51 | + "validity": "if(tag==\"account\" AND object_category==user,object_category, null())", |
52 | 52 | "type": "required", |
53 | 53 | "comment": "Generic name for the class of the updated resource object. Expected values may be specific to an app." |
54 | 54 | }, |
|
61 | 61 | { |
62 | 62 | "name": "object_path", |
63 | 63 | "validity": "if(like(object_path,'%\\\"%'),null(),object_path)", |
64 | | - "type": "required", |
| 64 | + "type": "optional", |
65 | 65 | "comment": "The path of the modified resource object, if applicable (such as a file, directory, or volume)." |
66 | 66 | }, |
67 | 67 | { |
68 | 68 | "name": "result", |
69 | | - "type": "optional", |
70 | | - "expected_values": ["lockout"], |
| 69 | + "condition": "status=failure", |
| 70 | + "type": "conditional", |
71 | 71 | "comment": "The vendor-specific result of a change, or clarification of an action status. For instance, status=failure may be accompanied by result=blocked by policy or result=disk full. result is a string. Please use a msg_severity_id field (not included in the data model) for severity ID fields that are integer data types." |
72 | 72 | }, |
73 | 73 | { |
|
77 | 77 | }, |
78 | 78 | { |
79 | 79 | "name": "src", |
80 | | - "type": "optional", |
| 80 | + "type": "required", |
81 | 81 | "comment": "The resource where the change was originated. You can alias this from more specific fields not included in the data model, such as src_host, src_ip, or src_name." |
82 | 82 | }, |
83 | 83 | { |
|
96 | 96 | "type": "required", |
97 | 97 | "comment": "The user or entity performing the change. For account changes, this is the account that was changed (see src_user for user or entity performing the change)." |
98 | 98 | }, |
| 99 | + { |
| 100 | + "name": "user_agent", |
| 101 | + "type": "optional", |
| 102 | + "comment": "The user agent through which the request was made, such as Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) or aws-cli/2.0.0 Python/3.7.4 Darwin/18.7.0 botocore/2.0.0dev4." |
| 103 | + }, |
| 104 | + { |
| 105 | + "name": "user_name", |
| 106 | + "type": "optional", |
| 107 | + "comment": "The user name of the user or entity performing the change. For account changes, this is the account that was changed this is the account that was changed (see src_user_name)." |
| 108 | + }, |
| 109 | + { |
| 110 | + "name": "user_type", |
| 111 | + "type": "optional", |
| 112 | + "comment": "The type of the user involved in the event or who initiated the event, such as IAMUser, Admin, or System. For account management events, this should represent the type of the user changed by the request." |
| 113 | + }, |
| 114 | + { |
| 115 | + "name": "vendor_account", |
| 116 | + "type": "optional", |
| 117 | + "comment": "The account that manages the user that initiated the request. The account represents the organization, or a Cloud customer or a Cloud account." |
| 118 | + }, |
| 119 | + { |
| 120 | + "name": "vendor_region", |
| 121 | + "type": "optional", |
| 122 | + "comment": "The account that manages the user that initiated the request. The account represents the organization, or a Cloud customer or a Cloud account." |
| 123 | + }, |
99 | 124 | { |
100 | 125 | "name": "vendor_product", |
101 | 126 | "type": "required", |
|
124 | 149 | "type": "conditional", |
125 | 150 | "condition": "object_category=user", |
126 | 151 | "comment": "For account changes, the user or entity performing the change." |
| 152 | + }, |
| 153 | + { |
| 154 | + "name": "src_user_type", |
| 155 | + "type": "optional", |
| 156 | + "comment": "For account management events, this should represent the type of the user changed by the request." |
| 157 | + }, |
| 158 | + { |
| 159 | + "name": "src_user_name", |
| 160 | + "type": "optional", |
| 161 | + "comment": "For account changes, the user name of the user or entity performing the change." |
127 | 162 | } |
128 | 163 | ], |
129 | 164 | "child_dataset": [ |
|
194 | 229 | ], |
195 | 230 | "search_constraints": "tag=endpoint" |
196 | 231 | }, |
| 232 | + { |
| 233 | + "name": "Instance_Changes", |
| 234 | + "tags": [["change", "instance"]], |
| 235 | + "fields_cluster": [], |
| 236 | + "search_constraints": "tag=instance", |
| 237 | + "fields": [ |
| 238 | + { |
| 239 | + "name": "image_id", |
| 240 | + "type": "required", |
| 241 | + "comment": "For create instance events, this field represents the image ID used for creating the instance such as the OS, applications, installed libraries, and more." |
| 242 | + }, |
| 243 | + { |
| 244 | + "name": "instance_type", |
| 245 | + "type": "required", |
| 246 | + "comment": "For create instance events, this field represents the type of instance to build such as the combination of CPU, memory, storage, and network capacity." |
| 247 | + } |
| 248 | + ], |
| 249 | + "child_dataset": [] |
| 250 | + }, |
197 | 251 | { |
198 | 252 | "name": "Network_Changes", |
199 | 253 | "tags": [["change", "network"]], |
200 | 254 | "fields_cluster": [], |
201 | | - "fields": [], |
| 255 | + "fields": [ |
| 256 | + { |
| 257 | + "name": "dest_ip_range", |
| 258 | + "type": "optional", |
| 259 | + "comment": "For network events, the outgoing traffic for a specific destination IP address range. Specify a single IP address or an IP address range in CIDR notation. For example, 203.0.113.5 or 203.0.113.5/32." |
| 260 | + }, |
| 261 | + { |
| 262 | + "name": "dest_port_range", |
| 263 | + "type": "optional", |
| 264 | + "comment": "For network events, this field represents destination port or range. For example, 80 or 8000 - 8080 or 80,443." |
| 265 | + }, |
| 266 | + { |
| 267 | + "name": "direction", |
| 268 | + "type": "optional", |
| 269 | + "comment": "For network events, this field represents whether the traffic is inbound or outbound." |
| 270 | + }, |
| 271 | + { |
| 272 | + "name": "protocol", |
| 273 | + "type": "optional", |
| 274 | + "comment": "This field represents the protocol for the network event rule." |
| 275 | + }, |
| 276 | + { |
| 277 | + "name": "rule_action", |
| 278 | + "type": "optional", |
| 279 | + "comment": "For network events, this field represents whether to allow or deny traffic." |
| 280 | + }, |
| 281 | + { |
| 282 | + "name": "src_ip_range", |
| 283 | + "type": "optional", |
| 284 | + "comment": "For network events, this field represents the incoming traffic from a specific source IP address or range. Specify a single IP address or an IP address range in CIDR notation." |
| 285 | + }, |
| 286 | + { |
| 287 | + "name": "src_port_range", |
| 288 | + "type": "optional", |
| 289 | + "comment": "For network events, this field represents source port or range. For example, 80 or 8000 - 8080 or 80,443" |
| 290 | + }, |
| 291 | + { |
| 292 | + "name": "device_restarts", |
| 293 | + "type": "optional", |
| 294 | + "comment": "Monitor all infrastructure device restarts." |
| 295 | + } |
| 296 | + ], |
202 | 297 | "child_dataset": [ |
203 | 298 | { |
204 | 299 | "name": "Device_Restarts", |
|
0 commit comments