Version 1.4.1 - New Image Assessment Policies service collection, new operations and arguments #1110
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.
FalconPy v1.4.1
This update adds a new service collection (Image Assessment Policies) with 11 new operations, adds 22 new operations to 4 existing service collections, provides multiple minor updates to the endpoint module and operation arguments, and resolves three bugs.
Unit test coverage
Bandit analysis
[main] INFO running on Python 3.9.17 Run started:2024-01-29 23:43:20.264956 Test results: No issues identified. Code scanned: Total lines of code: 65210 Total lines skipped (#nosec): 0 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
Added:
include_hidden
argument added to the PostAggregatesAlertsV2, PostEntitiesAlertsV2, PatchEntitiesAlertsV3 and GetQueriesAlertsV2 operations._endpoint/_alerts.py
Added: ReadContainerAlertsCountBySeverity operation added to the Container Alerts service collection.
_endpoint/_container_alerts.py
container_alerts.py
tests/test_container_alerts.py
Added:
cspm_lite
argument added to the GetCSPMAwsAccount and GetCSPMAzureAccount operations within the CSPM Registration service collection._endpoint/_cspm_registration.py
cspm_registration.py
Added:
azure_management_group
argument added to the GetCSPMAzureUserScriptsAttachment operation within the CSPM Registration service collection._endpoint/_cspm_registration.py
cspm_registration.py
Added: 9 new operations added to the CSPM Registration service collection.
_endpoint/_cspm_registration.py
_payload/_cspm_registration.py
cspm_registration.py
tests/test_cspm_registration.py
Added:
azure_management_group
argument added to the GetDiscoverCloudAzureUserScriptsAttachment operation within the D4C Registration service collection._endpoint/_d4c_registration.py
d4c_registration.py
Added: 4 new operations added to the D4C Registration service collection.
_endpoint/_d4c_registration.py
_payload/_d4c_registration.py
d4c_registration.py
tests/test_d4c_registration.py
Added:
execution_cid
argument added to the WorkflowExecute operation within the Workflows service collection._endpoint/_workflows.py
workflows.py
Added: New service collection Image Assessment Policies containing 11 new operations.
_endpoint/__init__.py
_endpoint/_image_assessment_policies.py
_payload/__init__.py
_payload/_container.py
__init__.py
image_assessment_policies.py
tests/test_image_assessment_policies.py
Added: 8 new operations added to the Workflows service collection.
_endpoint/_workflows.py
workflows.py
_payload/__init__.py
_payload/_workflows.py
tests/test_workflows.py
Issue resolved
Fixed:
member_cid
argument is not being passed to the authentication event when leveraging Environment Authentication. Closes [ BUG ] member_cid argument is not being included when authenticating as a parent using Environment Authentication #1105._auth_object/_falcon_interface.py
Fixed:
rule_ids
is not included in body payloads when the list is empty for the update_rule_groups operation within the Firewall Management Service Class. Closes [ BUG ] Removing the only firewall rule left within a rule group keeps asking for rule id array #1107._payload/_firewall.py
Fixed: Added missing actions to _allowed_actions validator within
PerformActionV2
method of the Hosts service collection. Closes [ BUG ] Host management - perform_action method missing two actions support #1108.hosts.py
Other
Updated: Enums added to GetCSPMAwsAccount and GetCSPMAwsConsoleSetupURLs operations within the CSPM Registration endpoint module.
_endpoint/_cspm_registration.py
Updated: Several paremeter descriptions within the Custom IOA endpoint module updated.
_endpoint/_custom_ioa.py
_endpoint/deprecated/_custom_ioa.py
Updated: Enum updated within the GetD4CAwsAccount operation of the D4C Registration endpoint module.
_endpoint/_d4c_registration.py
Updated: Paremeter description for the Submit operation within the Falcon Intelligence Sandbox endpoint module updated.
_endpoint/_falconx_sandbox.py
Updated: Multiple paremeter descriptions within the Kubernetes Protection endpoint module updated.
_endpoint/_kubernetes_protection_.py
Updated: Enum updated within the QueryActivityByCaseID operation of the Message Center endpoint module.
_endpoint/_message_center.py