-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Description
Describe the bug
The CrowdStrikeAPI_PollingConfig.json
file in the CrowdStrike Falcon Endpoint Protection Data Connector contains multiple instances of a hardcoded URL for the API endpoint instead of referencing the parameter-supplied value. This inconsistency leads to deployment issues, specifically during multi-step polling configuration.
To Reproduce
Steps to reproduce the behavior:
- Deploy the
CrowdStrikeAPI_PollingConfig.json
data connector. - The initial polling step functions as expected using the provided URL parameter.
SentinelHealth
| where SentinelResourceName startswith "ApiPolling-CrowdStrike"
| where Status == "Success"
- Subsequent polling steps fail due to use of a hardcoded URL string, which does not align with the configured parameter.
SentinelHealth
| where SentinelResourceName startswith "ApiPolling-CrowdStrike"
| where Status <> "Success"
- This results in an incorrect API call and a failure in the polling process. (can be seen in SentinelHealth table with description
Data fetch failed (Call failed with status code 401 (Unauthorized): POST [REDACTED])
)
Expected behavior
All polling steps should use the URL passed through the deployment parameters. This would ensure consistency, reliability, and compatibility across different environments.
Screenshots
N/A (Code reference provided below)
Code references
Incorrect (hardcoded) usage found at lines:
Correct usage (parameter-based URL) examples can be found at:
Desktop (please complete the following information):
N/A
Smartphone (please complete the following information):
N/A
Additional context
N/A