All URIs are relative to https://api.us-2.crowdstrike.com
Method | HTTP request | Description |
---|---|---|
handle | POST /data-security-dspm/entities/kafka-rest-produce/v1 |
Hash<String, String> handle
- Handle is responsible for producing the input message into the corresponded Kafka Topic
require 'time'
require 'crimson-falcon'
# Setup authorization
Falcon.configure do |config|
config.client_id = "Your_Client_ID"
config.client_secret = "Your_Client_Secret"
config.cloud = "us-1" # or "us-2", "eu-1", "us-gov1"
end
api_instance = Falcon::Handle.new
begin
result = api_instance.handle
p result
rescue Falcon::ApiError => e
puts "Error when calling Handle->handle: #{e}"
end
This returns an Array which contains the response data, status code and headers.
<Array(Hash<String, String>, Integer, Hash)> handle_with_http_info
begin
data, status_code, headers = api_instance.handle_with_http_info
p status_code # => 2xx
p headers # => { ... }
p data # => Hash<String, String>
rescue Falcon::ApiError => e
puts "Error when calling Handle->handle_with_http_info: #{e}"
end
This endpoint does not need any parameter.
Hash<String, String>
oauth2
- Content-Type: Not defined
- Accept: application/json