Skip to content

Commit

Permalink
Merge pull request #314 from splunk/develop
Browse files Browse the repository at this point in the history
Process name  and parent process name validation
  • Loading branch information
Ryan Faircloth authored Apr 20, 2021
2 parents cef24ef + 416dda8 commit 4a04cc7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pytest_splunk_addon/standard_lib/data_models/Endpoint.json
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,8 @@
{
"name": "parent_process_name",
"type": "required",
"comment": "The friendly name of the parent process, such as notepad.exe."
"comment": "The friendly name of the parent process, such as notepad.exe.",
"validity": "if(match(parent_process_name,\"^[^\\\\\\/]+$\"),parent_process_name,null())"
},
{
"name": "parent_process_path",
Expand Down Expand Up @@ -172,7 +173,8 @@
{
"name": "process_name",
"type": "required",
"comment": "The friendly name of the process, such as notepad.exe."
"comment": "The friendly name of the process, such as notepad.exe.",
"validity": "if(match(process_name,\"^[^\\\\\\/]+$\"),process_name,null())"
},
{
"name": "process_path",
Expand Down

0 comments on commit 4a04cc7

Please sign in to comment.