Skip to content

Hardcoded API URLs in CrowdStrikeAPI CCP connector #12576

@RealFireAU

Description

@RealFireAU

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:

  1. Deploy the CrowdStrikeAPI_PollingConfig.json data connector.
  2. The initial polling step functions as expected using the provided URL parameter.
SentinelHealth
| where SentinelResourceName startswith "ApiPolling-CrowdStrike"
| where Status == "Success"
  1. 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"
  1. 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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions