Skip to content

Delivery Settings

Joshua Hiller edited this page Dec 10, 2024 · 3 revisions

CrowdStrike Falcon CrowdStrike Subreddit

Using the Delivery Settings service collection

Uber class support Service class support Documentation Version Page Updated

Table of Contents

Operation ID Description
GetDeliverySettings
PEP8 get_delivery_settings
Get Delivery Settings.
PostDeliverySettings
PEP8 create_delivery_settings
Create Delivery Settings.

GetDeliverySettings

Get Delivery Settings

PEP8 method name

get_delivery_settings

Endpoint

Method Route
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

Method Route
POST /delivery-settings/entities/delivery-settings/v1

Required Scope

delivery-settings:write

Content-Type

  • Produces: application/json

Keyword Arguments

Name Service Uber Type Data type Description
body
Service Class Support

Uber Class Support
body dictionary Full body payload in JSON format.
delivery_cadence
Service Class Support

Uber Class Support
body string Delivery schedule.
delivery_type
Service Class Support

Uber Class Support
body string Delivery 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)

CrowdStrike Falcon

Clone this wiki locally