Skip to content

Commit

Permalink
Improvements to Operating System Patch State 5004 (ocsf#1088)
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonbreimer authored Jun 19, 2024
1 parent c0a18f2 commit bb1faf7
Show file tree
Hide file tree
Showing 3 changed files with 104 additions and 2 deletions.
80 changes: 79 additions & 1 deletion dictionary.json
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,11 @@
"description": "The BIOS version. For example: <code>LENOVO G5ETA2WW (2.62)</code>.",
"type": "string_t"
},
"boot_time": {
"caption": "Boot Time",
"description": "The time when the system was booted.",
"type": "timestamp_t"
},
"boundary": {
"caption": "Boundary",
"description": "The boundary of the connection, normalized to the caption of 'boundary_id'. In the case of 'Other', it is defined by the event source. <p> For cloud connections, this translates to the traffic-boundary(same VPC, through IGW, etc.). For traditional networks, this is described as Local, Internal, or External.</p>",
Expand Down Expand Up @@ -1574,6 +1579,46 @@
"description": "The event duration or aggregate time, the amount of time the event covers from <code>start_time</code> to <code>end_time</code> in milliseconds.",
"type": "integer_t"
},
"duration_avg_days": {
"caption": "Average Duration Days",
"description": "This represents the average duration of the activity in days. See specific usage.",
"type": "integer_t"
},
"duration_avg_hours": {
"caption": "Average Duration Hours",
"description": "This represents the average duration of the activity in hours. See specific usage.",
"type": "integer_t"
},
"duration_avg_mins": {
"caption": "Average Duration Minutes",
"description": "This represents the average duration of the activity in minutes. See specific usage.",
"type": "integer_t"
},
"duration_avg_months": {
"caption": "Average Duration Months",
"description": "This represents the average duration of the activity in months. See specific usage.",
"type": "integer_t"
},
"duration_avg_msecs": {
"caption": "Average Duration Milliseconds",
"description": "This represents the average duration of the activity in milliseconds. See specific usage.",
"type": "integer_t"
},
"duration_avg_secs": {
"caption": "Average Duration Seconds",
"description": "This represents the average duration of the activity in seconds. See specific usage.",
"type": "integer_t"
},
"duration_avg_weeks": {
"caption": "Average Duration Weeks",
"description": "This represents the average duration of the activity in weeks. See specific usage.",
"type": "integer_t"
},
"duration_avg_years": {
"caption": "Average Duration Years",
"description": "This represents the average duration of the activity in years. See specific usage.",
"type": "integer_t"
},
"edition": {
"caption": "OS Edition",
"description": "The operating system edition. For example: <code>Professional</code>.",
Expand Down Expand Up @@ -2104,6 +2149,39 @@
}
}
},
"install_state": {
"caption": "Install State",
"description": "The install state, normalized to the caption of install_state_id. In the case of 'Other', it is defined by the event source.",
"type": "string_t"
},
"install_state_id": {
"caption": "Install State ID",
"description": "The normalized state of the install.",
"sibling": "install_state",
"type": "integer_t",
"enum": {
"0": {
"caption": "Unknown",
"description": "The normalized install state is unknown."
},
"1": {
"caption": "Installed",
"description": "The item is installed."
},
"2": {
"caption": "Not Installed",
"description": "The item is not installed."
},
"3": {
"caption": "Installed Pending Reboot",
"description": "The item is installed pending reboot operation."
},
"99": {
"caption": "Other",
"description": "The install state is not mapped. See the <code>install_state</code> attribute, which contains a data source specific value."
}
}
},
"instance_uid": {
"caption": "Instance ID",
"description": "The unique identifier of a VM instance.",
Expand Down Expand Up @@ -4597,4 +4675,4 @@
}
}
}
}
}
4 changes: 4 additions & 0 deletions objects/device.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
"autoscale_uid": {
"requirement": "optional"
},
"boot_time": {
"description": "The time the system was booted.",
"requirement": "optional"
},
"created_time": {
"description": "The time when the device was known to have been created.",
"requirement": "optional"
Expand Down
22 changes: 21 additions & 1 deletion objects/kb_article.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,26 @@
"extends": "object",
"name": "kb_article",
"attributes": {
"duration_avg_days": {
"description": "The average time to patch in days.",
"requirement": "optional"
},
"duration_avg_hours": {
"description": "The average time to patch in hours.",
"requirement": "optional"
},
"duration_avg_mins": {
"description": "The average time to patch in minutes.",
"requirement": "optional"
},
"install_state": {
"description": "The install state of the kb article.",
"requirement": "recommended"
},
"install_state_id": {
"description": "The normalized install state ID of the kb article.",
"requirement": "recommended"
},
"title": {
"description": "The title of the kb article.",
"requirement": "recommended"
Expand Down Expand Up @@ -49,4 +69,4 @@
"requirement": "optional"
}
}
}
}

0 comments on commit bb1faf7

Please sign in to comment.