-
Notifications
You must be signed in to change notification settings - Fork 142
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ancestry array to process object (#1317)
#### Related Issue: #1275 #### Description of changes: Adds an array for the expression of process ancestry through process entity objects. The process entity is a new object that the process object is modified to extend. This enables the inclusion of extended parentage information without deep nesting which is discouraged in the `parent_process` attribute description. Full details for processes in the ancestry would still need to be looked up based on the fields in the process entity object. This PR also deprecates the `lineage` attribute within the process object in favour of the `ancestry` attribute which has much more explicit guidance on how to construct the array. Signed-off-by: Mitchell Wasson <[email protected]>
- Loading branch information
Showing
4 changed files
with
51 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"caption": "Process Entity", | ||
"description": "The Process Entity object provides critical fields for referencing a process.", | ||
"name": "process_entity", | ||
"extends": "_entity", | ||
"attributes": { | ||
"cmd_line": { | ||
"requirement": "recommended" | ||
}, | ||
"created_time": { | ||
"description": "The time when the process was created/started.", | ||
"requirement": "recommended" | ||
}, | ||
"name": { | ||
"description": "The friendly name of the process, for example: <code>Notepad++</code>.", | ||
"type": "process_name_t" | ||
}, | ||
"path":{ | ||
"description": "The process file path.", | ||
"requirement": "optional" | ||
}, | ||
"pid": { | ||
"requirement": "recommended" | ||
}, | ||
"uid": { | ||
"description": "A unique identifier for this process assigned by the producer (tool). Facilitates correlation of a process event with other events for that process." | ||
} | ||
}, | ||
"constraints": { | ||
"at_least_one": ["cmd_line", "name", "path", "pid", "uid"] | ||
} | ||
} |