-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: "invalid memory address" for FalconImageAnalyzer resource #575
Comments
Hello, Currently, having FalconAPI configured and set is required for IAR functionality. |
I've attempted to add time="2024-08-07T20:33:23Z" level=error msg="error getting imageanalyzer config. will try again" mode=watcher error="received 403 from uri https://api.crowdstrike.com/image-assessment/runtime/entities/config/v1 - response = {\n \"meta\": {\n \"query_time\": 1.28e-7,\n \"powered_by\": \"crowdstrike-api-gateway\",\n \"trace_id\": \"17b24113-f416-4eb3-99b8-1018bbc50fa5\"\n },\n \"errors\": [\n {\n \"code\": 403,\n \"message\": \"access denied, authorization failed\"\n }\n ]\n}" I've followed the readme and like the CRD readmes it says I only need |
Minor update with additional context, in the above example I had
And just for kicks I tried
|
I don't get it. We've copied the IAR-image to a private registry. The README clearly states that in this case, only
The exact same quote can be found in the README for the admission controller. So, are Putting the secrets directly into the CR is a no-no for us, because only proper "Secret" resources are subject to encryption-at-rest. We will probably revert to using the Helm charts for the time being, as the operator doesn't seem to be production ready. Edit: I am also confused about whether we should install Falcon by using the Helm Charts or the Operator. The README of the operator states this:
But we have been advised by a Crowdstrike representative to use this operator, and issues and PRs at https://github.com/crowdstrike/falcon-helm are sometimes closed with a comment that says that future development will happen at the Operator. So the helm charts are kinda deprecated, but the operator is unsupported at the same time? |
Hey @ChristianCiach - thanks for this feedback and the other issues you submitted. I am on our cloud integrations team but am not the maintainer of the operator. I think it would be best to get your CrowdStrike account team involved to help out with this deployment and escalate any concerns if necessary. I'm working to find the right folks now. Since the IAR Helm chart requires client ID and secret, they should also be required by the operator, so this looks like a docs bug to me. I submitted #602 to track that since this issue Understood on the use of Secrets - for now this is not available as you saw in #471, but your CrowdStrike team can get roadmap status from product management. So stand by for that. |
@comptonad Were you able to resolve your deployment issues? This may have been a scopes issue for the API client. |
I created the following
FalconImageAnalyzer
resource:And now the falcon-operator is in a
CrashLoopBackOff
with the following error:Looking at the line in the error above, the
FalconImageAnalyzer
controller is expecting theFalconAPI
struct to exist which it does not on the resource I created.There seems to be a gap in the logic around the config map handling here but I'm not confident enough in my understanding of what is supposed to happen here to create a PR with a fix.
The text was updated successfully, but these errors were encountered: