CrowdStrike Falcon CrowdStrike Subreddit

Using the Delivery Settings service collection

Uber class support Service class support Documentation Version Page Updated

Table of Contents

Operation IDDescription
GetDeliverySettings
PEP8get_delivery_settings
Get Delivery Settings.
PostDeliverySettings
PEP8create_delivery_settings
Create Delivery Settings.

GetDeliverySettings

Get Delivery Settings

PEP8 method name

get_delivery_settings

Endpoint

MethodRoute
GET/delivery-settings/entities/delivery-settings/v1

Required Scope

delivery-settings:read

Content-Type

  • Produces: application/json

Keyword Arguments

No keywords or arguments accepted.

Usage

Service class example (PEP8 syntax)
from falconpy import DeliverySettings

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

response = falcon.get_delivery_settings()
print(response)
Service class example (Operation ID syntax)
from falconpy import DeliverySettings

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

response = falcon.GetDeliverySettings()
print(response)
Uber class example
from falconpy import APIHarnessV2

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

response = falcon.command("GetDeliverySettings")
print(response)

PostDeliverySettings

Create Delivery Settings

PEP8 method name

create_delivery_settings

Endpoint

MethodRoute
POST/delivery-settings/entities/delivery-settings/v1

Required Scope

delivery-settings:write

Content-Type

  • Produces: application/json

Keyword Arguments

NameServiceUberTypeData typeDescription
body
Service Class Support

Uber Class Support
bodydictionaryFull body payload in JSON format.
delivery_cadence
Service Class Support

Uber Class Support
bodystringDelivery schedule.
delivery_type
Service Class Support

Uber Class Support
bodystringDelivery type.

Usage

Service class example (PEP8 syntax)
from falconpy import DeliverySettings

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

response = falcon.create_delivery_settings(delivery_cadence="string", delivery_type="string")
print(response)
Service class example (Operation ID syntax)
from falconpy import DeliverySettings

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

response = falcon.PostDeliverySettings(delivery_cadence="string", delivery_type="string")
print(response)
Uber class example
from falconpy import APIHarnessV2

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

body_payload = {
  "delivery_settings": [
    {
      "delivery_cadence": "string",
      "delivery_type": "string"
    }
  ]
}

response = falcon.command("PostDeliverySettings", body=body_payload)
print(response)