commandParser
Parse command line
Validates one or more command-line strings against the allowed command component list. Returns a list of disallowed fragments if validation fails, or an empty result if the commands are permitted.
Parse command line
Submits one or more command-line strings for validation against the allowed command component list. Provide the CommandLines in the request body. Returns any disallowed fragments found.
Gets the whitelisted command component
Returns the current set of whitelisted command components that are permitted when validating command-line strings. Use this endpoint to review the allowed list before adding or updating entries.
Whitelists a command component
Adds a new command component to the allowlist so that it passes command-line validation. Provide the component details in the request body. Returns the updated allowlist.
List whitelisted command components
Returns a paged list of all whitelisted command components. Use the Sort, Skip, Take, and GenericFilters parameters to control pagination and ordering of results.
Update command component by ID
Updates an existing whitelisted command component, identified by its ID. Provide the updated component details in the request body. Returns the updated allowlist.
Bulk update command components
Performs a bulk update on multiple whitelisted command components identified by their IDs. Provide the list of IDs and the updated properties in the request body. Returns the updated allowlist.
Add templates to command component
Associates one or more policy templates with the specified command component. Use this endpoint to extend the set of templates that govern command-line validation for a given component.
Remove templates from command component
Removes one or more policy template associations from the specified command component. Templates that are not currently associated are silently ignored.
Get templates for command component
Returns a paged list of all policy templates associated with the specified command component. Use the Sort, Skip, and Take parameters to control pagination.
Set command component templates
Replaces all policy template associations for the specified command component with the provided list, removing any previously associated templates. Provide the component ID and the new template list in the request body.
Get templates for command components
Returns the policy templates associated with multiple command components in a single request. Provide the component IDs in the request body.