You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use the CrowdStrikeFalcon recipe to pull the latest version of the Falcon sensor via the API. The authorization seems to work fine, and I'm able to generate an access token and find a matching build, but the curl fails and I get the error "Something went wrong assigning environment variables!"
Anyone else run into this?
CrowdStrikeURLProvider
{'Input': {'api_region_url': 'https://api.crowdstrike.com',
'client_id': 'redacted',
'client_secret': 'redacted',
'policy_id': 'redacted'}}
CrowdStrikeURLProvider: Access Token: 'redacted'
CrowdStrikeURLProvider: Build version for matching Policy: 'redacted'
Traceback (most recent call last):
File "~/Library/AutoPkg/RecipeRepos/com.github.autopkg.MLBZ521-recipes/CrowdStrike Falcon/CrowdStrikeURLProvider.py", line 174, in main
download_url = f"{api_region_url}/sensors/entities/download-installer/v1?id={sha256}"
UnboundLocalError: local variable 'sha256' referenced before assignment
The text was updated successfully, but these errors were encountered:
Hello @K3ll3r, sorry for the delayed response. Were you able to track this down? I haven't been seeing any issues in my runs...
For the sha256 variable to not be assigned, either a matching version was not found. Currently, as the Processor is written, there isn't really any way to determine what's going on without editing it debug the issue.
@K3ll3r In case this helps anyone else, I had the same issue. I updated to the latest CrowdStrike Falcon.download and I also had to update my POLICY_ID. The existing ID I had used in the past no longer existed in my CS account. Once I did both steps, I could run the download again
I'm trying to use the CrowdStrikeFalcon recipe to pull the latest version of the Falcon sensor via the API. The authorization seems to work fine, and I'm able to generate an access token and find a matching build, but the curl fails and I get the error "Something went wrong assigning environment variables!"
Anyone else run into this?
The text was updated successfully, but these errors were encountered: