Skip to content
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 #1201

Merged
merged 17 commits into from
Jul 17, 2024
Merged

Sample Updates #1201

merged 17 commits into from
Jul 17, 2024

Conversation

okewoma
Copy link
Contributor

@okewoma okewoma commented Jul 16, 2024

Sample updates

This pull request adds debugging and cloud region selection functionality to multiple samples.

  • Enhancement
  • Documentation
  • Code sample

Unit test coverage

PACKAGE UNIT TESTING NOT REQUIRED FOR SAMPLE SUBMISSIONS

Bandit analysis

[main]	INFO	running on Python 3.12.3
Run started:2024-07-16 18:08:33.472657

Test results:
	No issues identified.

Code scanned:
	Total lines of code: 16567
	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

  • Updated: Added debug and base URL selection functionality to the Policy Wonk sample. Related to [ BUG ] Missing "--base_url" argument for many scripts #1181.
    • samples/sensor_update_policies/policy_wonk.py
  • Updated: Added debug functionality to the AWS Parameter Store sample
    • samples/authentication/aws_parameter_store.py
  • Updated: Added debug and base URL selection functionality to the Token Authentication Example sample. Related to [ BUG ] Missing "--base_url" argument for many scripts #1181.
    • samples/authentication/token_authentication_example.py
  • Updated: Added debug functionality to the Get CSPM Policies sample. Minor linting.
    • samples/cspm_registration/get_cspm_policies.py
  • Updated: Added debug and base URL selection functionality to the Download Sensor sample. Related to [ BUG ] Missing "--base_url" argument for many scripts #1181.
    • samples/sensor_download/download_sensor.py
  • Updated: Added debug functionality to the Prevention Policy Hawk sample. Minor linting.
    • samples/prevention_policy/prevention_policy_hawk.py

@okewoma okewoma force-pushed the main branch 2 times, most recently from a60c6a0 to 6e47c3f Compare July 16, 2024 20:13
@okewoma okewoma force-pushed the main branch 2 times, most recently from 8a42fdf to 98e66ef Compare July 17, 2024 02:14
@jshcodes jshcodes merged commit 9bc5714 into CrowdStrike:samples Jul 17, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants