Skip to content

Content Update Policies

The Content Update Policies service collection provides operations for managing content update policies in your CrowdStrike Falcon environment. Search for policy members and policies, perform actions on policies, set precedence, create, delete, and update policies, and query pinnable content versions.

LanguageLast Update
Pythonv1.6.5
PowerShellv2.2.9
Gov0.22.0
TypeScriptv0.6.0
Rustv0.7.1
Rubyv1.4.0


OperationDescription
createContentUpdatePolicies
create_policies
Create Content Update Policies by specifying details about the policy to create
deleteContentUpdatePolicies
delete_policies
Delete a set of Content Update Policies by specifying their IDs
getContentUpdatePolicies
get_policies
Retrieve a set of Content Update Policies by specifying their IDs
performContentUpdatePoliciesAction
perform_action
Perform the specified action on the Content Update Policies specified in the request
queryCombinedContentUpdatePolicies
query_policies_combined
Search for Content Update Policies in your environment by providing an FQL filter and paging details.
queryCombinedContentUpdatePolicyMembers
query_policy_members_combined
Search for members of a Content Update Policy in your environment by providing an FQL filter and paging details.
queryContentUpdatePolicies
query_policies
Search for Content Update Policies in your environment by providing an FQL filter and paging details.
queryContentUpdatePolicyMembers
query_policy_members
Search for members of a Content Update Policy in your environment by providing an FQL filter and paging details.
queryPinnableContentVersions
query_pinnable_content_versions
Search for content versions available for pinning given the category.
setContentUpdatePoliciesPrecedence
set_precedence
Sets the precedence of Content Update Policies based on the order of IDs specified in the request.
updateContentUpdatePolicies
update_policies
Update Content Update Policies by specifying the ID of the policy and details to update

Create Content Update Policies by specifying details about the policy to create

Method POST
Route /policy/entities/content-update/v1
Scope Content Update Policy: WRITE
PEP 8 create_policies
body body · dictionary
Full body payload as JSON formatted dictionary.
resources body · array
description body · string
Content update policy description.
name body · string
Content update policy name.
settings body · dictionary
Content update policy settings.
from falconpy import ContentUpdatePolicies
falcon = ContentUpdatePolicies(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
settings = {
"ring_assignment_settings": [
{
"delay_hours": "string",
"id": "string",
"ring_assignment": "string"
}
]
}
response = falcon.create_policies(description="string",
name="string",
settings=settings)
print(response)
[
{
"cid": "string",
"created_by": "string",
"created_timestamp": "string",
"description": "string",
"enabled": false,
"groups": [],
"id": "string",
"modified_by": "string",
"modified_timestamp": "string",
"name": "string",
"platform_name": "string",
"settings": {}
}
]


Delete a set of Content Update Policies by specifying their IDs

Method DELETE
Route /policy/entities/content-update/v1
Scope Content Update Policy: WRITE
PEP 8 delete_policies
ids query · string or list of strings
The IDs of the Content Update Policies to delete
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ContentUpdatePolicies
falcon = ContentUpdatePolicies(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.delete_policies(ids=id_list)
print(response)
[
"string"
]


Retrieve a set of Content Update Policies by specifying their IDs

Method GET
Route /policy/entities/content-update/v1
Scope Content Update Policy: READ
PEP 8 get_policies
ids query · string or list of strings
The IDs of the Content Update Policies to return
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ContentUpdatePolicies
falcon = ContentUpdatePolicies(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.get_policies(ids=id_list)
print(response)
[
{
"cid": "string",
"created_by": "string",
"created_timestamp": "string",
"description": "string",
"enabled": false,
"groups": [],
"id": "string",
"modified_by": "string",
"modified_timestamp": "string",
"name": "string",
"platform_name": "string",
"settings": {}
}
]


Perform the specified action on the Content Update Policies specified in the request

Method POST
Route /policy/entities/content-update-actions/v1
Scope Content Update Policy: WRITE
PEP 8 perform_action
body body · dictionary
Full body payload as JSON formatted dictionary.
action_parameters body · array
Action specific parameter options.
ids body · array
Content Update policy IDs to perform action against.
action_name query · string
The action to perform
Available values (9)
add-host-groupdisableenable
override-allowoverride-pauseoverride-revert
remove-host-groupremove-pinned-content-versionset-pinned-content-version
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ContentUpdatePolicies
falcon = ContentUpdatePolicies(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.perform_action(action_name="string",
action_parameters=[{"key": "value"}],
ids=id_list)
print(response)
[
{
"cid": "string",
"created_by": "string",
"created_timestamp": "string",
"description": "string",
"enabled": false,
"groups": [],
"id": "string",
"modified_by": "string",
"modified_timestamp": "string",
"name": "string",
"platform_name": "string",
"settings": {}
}
]


Search for Content Update Policies in your environment by providing an FQL filter and paging details.

Method GET
Route /policy/combined/content-update/v1
Scope Content Update Policy: READ
PEP 8 query_policies_combined
filter query · string
The filter expression that should be used to limit the results.
offset query · integer
The offset to start retrieving records from
limit query · integer
The maximum records to return. [1-5000]
sort query · string
The property to sort by.
Available values (16)
created_by.asccreated_by.desccreated_timestamp.asc
created_timestamp.descenabled.ascenabled.desc
modified_by.ascmodified_by.descmodified_timestamp.asc
modified_timestamp.descname.ascname.desc
platform_name.ascplatform_name.descprecedence.asc
precedence.desc
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ContentUpdatePolicies
falcon = ContentUpdatePolicies(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.query_policies_combined(filter="string",
offset=integer,
limit=integer,
sort="string")
print(response)
[
{
"cid": "string",
"created_by": "string",
"created_timestamp": "string",
"description": "string",
"enabled": false,
"groups": [],
"id": "string",
"modified_by": "string",
"modified_timestamp": "string",
"name": "string",
"platform_name": "string",
"settings": {}
}
]


Search for members of a Content Update Policy in your environment by providing an FQL filter and paging details.

Method GET
Route /policy/combined/content-update-members/v1
Scope Content Update Policy: READ
PEP 8 query_policy_members_combined
id query · string
The ID of the Content Update Policy to search for members of
filter query · string
The filter expression that should be used to limit the results.
offset query · integer
The offset to start retrieving records from
limit query · integer
The maximum records to return. [1-5000]
sort query · string
The property to sort by.
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ContentUpdatePolicies
falcon = ContentUpdatePolicies(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.query_policy_members_combined(id="string",
filter="string",
offset=integer,
limit=integer,
sort="string")
print(response)
[
{
"agent_load_flags": "string",
"agent_local_time": "string",
"agent_version": "string",
"base_image_version": "string",
"bios_manufacturer": "string",
"bios_version": "string",
"build_number": "string",
"chassis_type": "string",
"chassis_type_desc": "string",
"cid": "string",
"cloud_service_compartment_id": "string",
"config_id_base": "string",
"config_id_build": "string",
"config_id_platform": "string",
"connection_ip": "string",
"connection_mac_address": "string",
"cpu_signature": "string",
"cpu_vendor": "string",
"criticality": "string",
"default_gateway_ip": "string",
"deployment_type": "string",
"detection_suppression_status": "string",
"device_id": "string",
"device_policies": {},
"email": "string",
"external_ip": "string",
"filesystem_containment_status": "string",
"first_login_timestamp": "string",
"first_login_user": "string",
"first_seen": "string",
"group_hash": "string",
"groups": [],
"host_deleted_status": "string",
"host_hidden_status": "string",
"host_utc_offset": "string",
"hostname": "string",
"instance_id": "string",
"internet_exposure": "string",
"k8s_cluster_git_version": "string",
"k8s_cluster_id": "string",
"k8s_cluster_version": "string",
"kernel_version": "string",
"last_login_timestamp": "string",
"last_login_uid": "string",
"last_login_user": "string",
"last_login_user_sid": "string",
"last_reboot": "string",
"last_seen": "string",
"license_activation_state": "string",
"linux_sensor_mode": "string",
"local_ip": "string",
"mac_address": "string",
"machine_domain": "string",
"major_version": "string",
"managed_apps": {},
"meta": {},
"migration_completed_time": "string",
"minor_version": "string",
"modified_timestamp": "string",
"notes": [],
"os_build": "string",
"os_product_name": "string",
"os_version": "string",
"ou": [],
"platform_id": "string",
"platform_name": "string",
"pod_annotations": [],
"pod_host_ip4": "string",
"pod_host_ip6": "string",
"pod_hostname": "string",
"pod_id": "string",
"pod_ip4": "string",
"pod_ip6": "string",
"pod_labels": [],
"pod_name": "string",
"pod_namespace": "string",
"pod_service_account_name": "string",
"pointer_size": "string",
"policies": [],
"product_type": "string",
"product_type_desc": "string",
"provision_status": "string",
"reduced_functionality_mode": "string",
"release_group": "string",
"rtr_state": "string",
"safe_mode": "string",
"serial_number": "string",
"service_pack_major": "string",
"service_pack_minor": "string",
"service_provider": "string",
"service_provider_account_id": "string",
"site_name": "string",
"slow_changing_modified_timestamp": "string",
"status": "string",
"system_manufacturer": "string",
"system_product_name": "string",
"tags": [],
"zone_group": "string"
}
]


Search for Content Update Policies in your environment by providing an FQL filter and paging details.

Method GET
Route /policy/queries/content-update/v1
Scope Content Update Policy: READ
PEP 8 query_policies
filter query · string
The filter expression that should be used to limit the results.
offset query · integer
The offset to start retrieving records from
limit query · integer
The maximum records to return. [1-5000]
sort query · string
The property to sort by.
Available values (16)
created_by.asccreated_by.desccreated_timestamp.asc
created_timestamp.descenabled.ascenabled.desc
modified_by.ascmodified_by.descmodified_timestamp.asc
modified_timestamp.descname.ascname.desc
platform_name.ascplatform_name.descprecedence.asc
precedence.desc
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ContentUpdatePolicies
falcon = ContentUpdatePolicies(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.query_policies(filter="string",
offset=integer,
limit=integer,
sort="string")
print(response)
[
"string"
]


Search for members of a Content Update Policy in your environment by providing an FQL filter and paging details.

Method GET
Route /policy/queries/content-update-members/v1
Scope Content Update Policy: READ
PEP 8 query_policy_members
id query · string
The ID of the Content Update Policy to search for members of
filter query · string
The filter expression that should be used to limit the results.
offset query · integer
The offset to start retrieving records from
limit query · integer
The maximum records to return. [1-5000]
sort query · string
The property to sort by.
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ContentUpdatePolicies
falcon = ContentUpdatePolicies(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.query_policy_members(id="string",
filter="string",
offset=integer,
limit=integer,
sort="string")
print(response)
[
"string"
]


Search for content versions available for pinning given the category.

Method GET
Route /policy/queries/content-update-pin-versions/v1
Scope Content Update Policy: READ
PEP 8 query_pinnable_content_versions
category query · string
Content category
Available values (4)
rapid_response_al_bl_listingsensor_operationssystem_critical
vulnerability_management
sort query · string
value to sort returned content versions by. Allowed sort values are deployed_timestamp.(asc|desc) defaulting to deployed_timestamp.desc
Available values (2)
deployed_timestamp.ascdeployed_timestamp.desc
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ContentUpdatePolicies
falcon = ContentUpdatePolicies(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.query_pinnable_content_versions(category="string",
sort="string")
print(response)
[
"string"
]


Sets the precedence of Content Update Policies based on the order of IDs specified in the request.

Method POST
Route /policy/entities/content-update-precedence/v1
Scope Content Update Policy: WRITE
PEP 8 set_precedence
body body · dictionary
Full body payload as JSON formatted dictionary.
ids body · array
The ids of all current content-update policies for the platform specified. The precedence will be set in the order the ids are specified
from falconpy import ContentUpdatePolicies
falcon = ContentUpdatePolicies(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.set_precedence(ids=id_list)
print(response)
[
"string"
]


Update Content Update Policies by specifying the ID of the policy and details to update

Method PATCH
Route /policy/entities/content-update/v1
Scope Content Update Policy: WRITE
PEP 8 update_policies
body body · dictionary
Full body payload as JSON formatted dictionary.
resources body · array
from falconpy import ContentUpdatePolicies
falcon = ContentUpdatePolicies(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
resources = [
{
"description": "string",
"id": "string",
"name": "string",
"settings": {
"ring_assignment_settings": ["string"]
}
}
]
response = falcon.update_policies(resources=resources)
print(response)
[
{
"cid": "string",
"created_by": "string",
"created_timestamp": "string",
"description": "string",
"enabled": false,
"groups": [],
"id": "string",
"modified_by": "string",
"modified_timestamp": "string",
"name": "string",
"platform_name": "string",
"settings": {}
}
]