Skip to content

FileVantage's createScheduledExclusions requires 'timezone' field #1229

Discussion options

You must be logged in to vote

Hi @security-roberts thanks for the question!

Let's gather a bit of debug logging to understand what payload is being sent to the API.

Here is a sample of how to enable this at the Service Class level:

import logging
from falconpy import FileVantage

log = logging.basicConfig(level=logging.DEBUG)
falcon = FileVantage(client_id=CLIENT_ID, client_secret=CLIENT_SECRET, debug=True)

# You can use PEP8 or Operation ID syntax for this call
response = falcon.createScheduledExclusions(policy_id="Test123",
name="Test1",
users="Test*",
processes="**\Test.exe",
schedule_start="2024-09-17T13:00:00-07:00",
schedule_end="2024-09-17T14:00:00-07:00",
timezone="Etc/UTC"
)

Once enabled, logging messages w…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@security-roberts
Comment options

@crowdstrikedcs
Comment options

Answer selected by security-roberts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
API usage General API usage issues and questions FileVantage FileVantage issues or questions
2 participants