Skip to content

Custom IOA - Send multiple field_values #915

Answered by jshcodes
oscardecr asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @oscardecr -

In the current version (v1.2.11), this operation's field_values keyword will only accept one dictionary of values. Expanding the payload handler to handle multiple dictionaries here is a solid enhancement ask, I'll get an issue created for it.

In the interim, you can accomplish this by swapping over to leveraging the body keyword instead.

from falconpy import CustomIOA

ioa = CustomIOA(client_id=CLIENT_ID, client_secret=CLIENT_SECRET)

body_payload = {
        "comment": "string",
        "description": "string",
        "name": "string",
        "platform": "string",
        "enabled": true,
        "field_values": [
            {
                "final_value": "string",
…

Replies: 1 comment 20 replies

Comment options

You must be logged in to vote
20 replies
@jshcodes
Comment options

@oscardecr
Comment options

@jshcodes
Comment options

@oscardecr
Comment options

@oscardecr
Comment options

Answer selected by jshcodes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
ioa Custom IOA and IOA exclusion issues and questions SDK usage General SDK usage issues and questions
2 participants