CrowdStrike Falcon CrowdStrike Subreddit

Using the Deployments service collection

Uber class support Service class support Documentation Version Page Updated

Table of Contents

Operation IDDescription
CombinedReleaseNotesV1
PEP8query_release_notes
Queries for releases resources and returns details.
CombinedReleasesV1Mixin0
PEP8query_releases
Queries for releases resources and returns details.
GetDeploymentsExternalV1
PEP8get_deployments
Get deployment resources by IDs.
GetEntityIDsByQueryPOST
PEP8get_release_notes
returns the release notes for the IDs in the request.
QueryReleaseNotesV1
PEP8query_release_note_ids
Queries for release-notes resources and returns IDs.

CombinedReleaseNotesV1

Queries for release-notes resources and returns details.

PEP8 method name

query_release_notes

Endpoint

MethodRoute
GET/deployment-coordinator/combined/release-notes/v1

Required Scope

deployment-coordinator:read

Content-Type

  • Consumes: application/json
  • Produces: application/json

Keyword Arguments

NameServiceUberTypeData typeDescription
:white_check_mark:Authorizationheaderstringauthorization header
filterService Class SupportUber Class SupportquerystringFQL query specifying filter parameters.
limitService Class SupportUber Class SupportqueryintegerMaximum number of records to return.
offsetService Class SupportUber Class SupportquerystringStarting pagination offset of records to return.
parametersService Class SupportUber Class SupportquerydictionaryFull query parameters payload as a dictionary, not required when using other keywords.
sortService Class SupportUber Class SupportquerystringSort items by providing a comma separated list of property and direction (eg name.desc,time.asc). If direction is omitted, defaults to descending.

Usage

Service class example (PEP8 syntax)
from falconpy import Deployments

falcon = Deployments(client_id=CLIENT_ID,
                     client_secret=CLIENT_SECRET
                     )

response = falcon.CombinedReleaseNotesV1(filter="string",
                                         limit=integer,
                                         offset="string",
                                         sort="string"
                                         )
print(response)
Service class example (Operation ID syntax)
from falconpy import Deployments

falcon = Deployments(client_id=CLIENT_ID,
                     client_secret=CLIENT_SECRET
                     )

response = falcon.CombinedReleaseNotesV1(filter="string",
                                         limit=integer,
                                         offset="string",
                                         sort="string"
                                         )
print(response)
Uber class example
from falconpy import APIHarnessV2

falcon = APIHarnessV2(client_id=CLIENT_ID,
                      client_secret=CLIENT_SECRET
                      )

response = falcon.command("CombinedReleaseNotesV1", 
                          filter="string",
                          limit=integer,
                          offset="string",
                          sort="string"
                          )
print(response)

CombinedReleasesV1Mixin0

Queries for releases resources and returns details.

PEP8 method name

query_releases

Endpoint

MethodRoute
GET/deployment-coordinator/combined/releases/v1

Required Scope

deployment-coordinator:read

Content-Type

  • Consumes: application/json
  • Produces: application/json

Keyword Arguments

NameServiceUberTypeData typeDescription
:white_check_mark:Authorizationheaderstringauthorization header
filterService Class SupportUber Class SupportquerystringFQL query specifying filter parameters.
limitService Class SupportUber Class SupportqueryintegerMaximum number of records to return.
offsetService Class SupportUber Class SupportquerystringStarting pagination offset of records to return.
parametersService Class SupportUber Class SupportquerydictionaryFull query parameters payload as a dictionary, not required when using other keywords.
sortService Class SupportUber Class SupportquerystringSort items by providing a comma separated list of property and direction (eg name.desc,time.asc). If direction is omitted, defaults to descending.

Usage

Service class example (PEP8 syntax)
from falconpy import Deployments

falcon = Deployments(client_id=CLIENT_ID,
                     client_secret=CLIENT_SECRET
                     )

response = falcon.query_releases(filter="string",
                                 limit=integer,
                                 offset="string",
                                 sort="string"
                                 )
print(response)
Service class example (Operation ID syntax)
from falconpy import Deployments

falcon = Deployments(client_id=CLIENT_ID,
                     client_secret=CLIENT_SECRET
                     )

response = falcon.CombinedReleasesV1Mixin0(filter="string",
                                           limit=integer,
                                           offset="string",
                                           sort="string"
                                           )
print(response)
Uber class example
from falconpy import APIHarnessV2

falcon = APIHarnessV2(client_id=CLIENT_ID,
                      client_secret=CLIENT_SECRET
                      )

response = falcon.command("CombinedReleasesV1Mixin0",
                          filter="string",
                          limit=integer,
                          offset="string",
                          sort="string"
                          )
print(response)

GetDeploymentsExternalV1

Get deployment resources by IDs.

PEP8 method name

get_deployments

Endpoint

MethodRoute
GET/deployment-coordinator/entities/deployments/external/v1

Required Scope

deployment-coordinator:read

Content-Type

  • Consumes: application/json
  • Produces: application/json

Keyword Arguments

NameServiceUberTypeData typeDescription
idsService Class SupportUber Class Supportqueryarray (string)release version ids to retrieve deployment details
parametersService Class SupportUber Class SupportquerydictionaryFull query parameters payload as a dictionary, not required when using other keywords.

Usage

Service class example (PEP8 syntax)
from falconpy import Deployments

falcon = Deployments(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_deployments(ids=id_list)

print(response)
Service class example (Operation ID syntax)
from falconpy import Deployments

falcon = Deployments(client_id=CLIENT_ID,
                     client_secret=CLIENT_SECRET
                     )

id_list = 'ID1,ID2,ID3'  # Can also pass a list here: ['ID1', 'ID2', 'ID3']

response = falcon.GetDeploymentsExternalV1(ids=id_list)

print(response)
Uber class example
from falconpy import APIHarnessV2

falcon = APIHarnessV2(client_id=CLIENT_ID,
                      client_secret=CLIENT_SECRET
                      )

id_list = 'ID1,ID2,ID3'  # Can also pass a list here: ['ID1', 'ID2', 'ID3']

response = falcon.command("GetDeploymentsExternalV1", ids=id_list)

print(response)

GetEntityIDsByQueryPOST

Returns the release notes for the IDs in the request.

PEP8 method name

get_release_notes

Endpoint

MethodRoute
POST/deployment-coordinator/entities/release-notes/GET/v1

Required Scope

deployment-coordinator:read

Content-Type

  • Consumes: application/json
  • Produces: application/json

Keyword Arguments

NameServiceUberTypeData typeDescription
bodyService Class SupportUber Class SupportbodydictionaryFull body payload provided as a dictionary.
idsService Class SupportUber Class Supportbodystring or list of stringsFull body payload provided as a dictionary.

Usage

Service class example (PEP8 syntax)
from falconpy import Deployments

falcon = Deployments(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_release_notes(ids=id_list)

print(response)
Service class example (Operation ID syntax)
from falconpy import Deployments

falcon = Deployments(client_id=CLIENT_ID,
                     client_secret=CLIENT_SECRET
                     )

id_list = 'ID1,ID2,ID3'  # Can also pass a list here: ['ID1', 'ID2', 'ID3']

response = falcon.GetEntityIDsByQueryPOST(ids=id_list)

print(response)
Uber class example
from falconpy import APIHarnessV2

falcon = APIHarnessV2(client_id=CLIENT_ID,
                      client_secret=CLIENT_SECRET
                      )

body_payload = {
  "IDs": [
    "string"
  ]
}

response = falcon.command("GetEntityIDsByQueryPOST", body=body_payload)

print(response)

QueryReleaseNotesV1

Queries for release-notes resources and returns ids

PEP8 method name

query_release_note_ids

Endpoint

MethodRoute
GET/deployment-coordinator/queries/release-notes/v1

Required Scope

deployment-coordinator:read

Content-Type

  • Consumes: application/json
  • Produces: application/json

Keyword Arguments

NameServiceUberTypeData typeDescription
:white_check_mark:Authorizationheaderstringauthorization header
filterService Class SupportUber Class SupportquerystringFQL query specifying filter parameters.
limitService Class SupportUber Class SupportqueryintegerMaximum number of records to return.
offsetService Class SupportUber Class SupportquerystringStarting pagination offset of records to return.
parametersService Class SupportUber Class SupportquerydictionaryFull query parameters payload as a dictionary, not required when using other keywords.
sortService Class SupportUber Class SupportquerystringSort items by providing a comma separated list of property and direction (eg name.desc,time.asc). If direction is omitted, defaults to descending.

Usage

Service class example (PEP8 syntax)
from falconpy import Deployments

falcon = Deployments(client_id=CLIENT_ID,
                     client_secret=CLIENT_SECRET
                     )

response = falcon.query_release_note_ids(filter="string",
                                         limit=integer,
                                         offset="string",
                                         sort="string"
                                         )
print(response)
Service class example (Operation ID syntax)
from falconpy import Deployments

falcon = Deployments(client_id=CLIENT_ID,
                     client_secret=CLIENT_SECRET
                     )

response = falcon.QueryReleaseNotesV1(filter="string",
                                      limit=integer,
                                      offset="string",
                                      sort="string"
                                      )
print(response)
Uber class example
from falconpy import APIHarnessV2

falcon = APIHarnessV2(client_id=CLIENT_ID,
                      client_secret=CLIENT_SECRET
                      )

response = falcon.command("QueryReleaseNotesV1",
                          filter="string",
                          limit=integer,
                          offset="string",
                          sort="string"
                          )
print(response)