-
Notifications
You must be signed in to change notification settings - Fork 119
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
Sample Updates #1202
Merged
Sample Updates #1202
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…pecify crowdstrike-falconpy versioning, linting for whitespace and disabled linting on batch_get for "using variable before assignment"
Added -i --include option to only include output from specific columns. Added `seen` set in the `get_match_details` function to track unique entries based on "hostname" and "local_ip". Modified the loop to skip duplicate entries by checking the seen set. Added a `—deduplicate` (-d) option. When this argument is provided, the script will remove duplicates based on hostname and local_ip.
…equirement.txt file
…also icluded region selection, related to #1181
jshcodes
added
code samples
Functioning sample code to get you started
sensor update
Sensor Update Policy issues and questions
iocs
IOCs (both) issues and questions
Falcon Intelligence
Falcon Intelligence issues and questions
spotlight
Spotlight issues and questions
intel
Threat Intel issues and questions
sensor download
Sensor download issues and questions
Discover
Discover or Discover for Cloud issues and questions
Horizon
Horizon issues and questions
kubernetes
Kubernetes Protection issues and questions
authentication
Issues or questions regarding authentication
prevention policies
Prevention Policies issues and questions
recon
Recon issues and questions
labels
Jul 18, 2024
jlangdev
approved these changes
Jul 19, 2024
Unit test failures are unrelated to sample updates and will be investigated within the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
authentication
Issues or questions regarding authentication
code samples
Functioning sample code to get you started
Discover
Discover or Discover for Cloud issues and questions
Falcon Intelligence
Falcon Intelligence issues and questions
Horizon
Horizon issues and questions
intel
Threat Intel issues and questions
iocs
IOCs (both) issues and questions
kubernetes
Kubernetes Protection issues and questions
prevention policies
Prevention Policies issues and questions
recon
Recon issues and questions
sensor download
Sensor download issues and questions
sensor update
Sensor Update Policy issues and questions
spotlight
Spotlight issues and questions
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Sample Updates
This pull request updates multiple samples to add debugging and CrowdStrike region selection functionality.
Requirements are also listed in sample specific
requirements.txt
files.The Find Hosts by CVE sample is updated to implement column selection and deduplication functionality.
Unit test coverage
Bandit analysis
[main] INFO running on Python 3.11.8 Run started:2024-07-18 04:18:27.926742 Test results: No issues identified. Code scanned: Total lines of code: 17217 Total lines skipped (#nosec): 2 Run metrics: Total issues (by severity): Undefined: 0 Low: 0 Medium: 0 High: 0 Total issues (by confidence): Undefined: 0 Low: 0 Medium: 0 High: 0 Files skipped (0):
Added features and functionality
samples/authentication/aws_parameter_store.py
samples/authentication/requirements_aws_parameter_store.txt
samples/authentication/token_authentication_example.py
samples/authentication/requirements_token_authentication_example.txt
samples/containers/kube_map.py
samples/cspm_registration/get_cspm_policies.py
samples/cspm_registration/requirements_get_cspm_policies.txt
samples/discover/list_discovered_hosts.py
samples/discover/spyglass.py
samples/intel/intel_search.py
samples/ioc/create_ioc.py
samples/prevention_policy/prevention_policy_hawk.py
samples/prevention_policy/requirements_prevention_policy_hawk.py
samples/recon/email_monitoring_recon.py
samples/sensor_download/download_sensor.py
samples/sensor_download/requirements_download_sensor.txt
samples/sensor_update_policies/policy_wonk.py
samples/sensor_update_policies/requirements_policy_wonk.py
samples/spotlight/find_hosts_by_cve.py
samples/spotlight/spotlight_quick_report.py
Other