-
Notifications
You must be signed in to change notification settings - Fork 347
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
crowdstrike: remove arbitrary filter and limit #1008
crowdstrike: remove arbitrary filter and limit #1008
Conversation
Any comment on this one? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi! Sorry for the lateness on reviews and thanks for your PR.
I don't know much about Crowdstrike, but do you think that this filter string should be passable as a param from the cartography CLI?
cc: @ryan-lane who knows more here.
it's possible to add a cli param but usually you would want to get all assets. imho, more a edge case |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@juju4 - sorry for the extremely delayed review, I'm finally able to catch up a bit.
From my brief read, it seems like endpoints.py is written specifically to load in CrowdstrikeHosts assuming that they are not on AWS EC2. If we remove the filter, then will the rest of the code still work? Will it fail if there are CrowdstrikeHosts that are not on AWS EC2?
Again, I'm not familiar with Crowdstrike, just doing a read and seeing that the filter may have been put there for a reason.
Example filter from falconpy docs empty filter is valid meaning no filter. It is working, used in production. |
is there something that I can help to move this forward? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving, let's open up an issue to expose the parameters in config.py.
6512c92
to
df79710
Compare
Minor change to remove hardcoded settings that likely don't fit many environments Co-authored-by: i_virus <[email protected]>
Minor change to remove hardcoded settings that likely don't fit many environments Co-authored-by: i_virus <[email protected]> Signed-off-by: chandanchowdhury <[email protected]>
Minor change to remove hardcoded settings that likely don't fit many environments