Elastic Agent policies
Create an agent policy
Spaces method and path for this operation:
<div><span class="operation-verb post">post</span> <span class="operation-path">/s/{space_id}/api/fleet/agent_policies</span></div>Refer to Spaces for more information.
Create a new agent policy.<br/><br/>[Required authorization] Route required privileges: fleet-agent-policies-all.
post/api/fleet/agent_policies
Query parameters
sys_monitoringboolean
Whether to add the system integration to the new agent policy
Headers
kbn-xsrfstring required
Example:true
A required header to protect against CSRF attacks
Request body
Response
Successful response
Changes
Changed in 1 of the 176 revisions of this API.4
- ○
added the new optional request property
new-optional-request-property
- ○
request property
deprecatedrequest-property-deprecated
- ○
added the optional property
/to the response with the statusresponse-optional-property-added
- ○
response property
item/download_source_iddeprecatedresponse-property-deprecated
- ○
Of the 176 revisions, 20 have no diff computed.