pypi crowdstrike-falconpy 0.4.1
Version 0.4.1

latest releases: 1.4.6, 1.4.5, 1.4.4...
3 years ago

FalconPy v0.4.1

  • Enhancement
  • Major Feature update
  • Bug fixes
  • Breaking Change (See below)
  • Updated unit tests
Name                                        Stmts   Miss  Cover
---------------------------------------------------------------
src/falconpy/__init__.py                       10      0   100%
src/falconpy/_endpoint.py                       1      0   100%
src/falconpy/_result.py                         8      0   100%
src/falconpy/_service_class.py                 31      0   100%
src/falconpy/_util.py                          80      0   100%
src/falconpy/_version.py                        8      0   100%
src/falconpy/api_complete.py                   77      0   100%
src/falconpy/cloud_connect_aws.py              66      0   100%
src/falconpy/cspm_registration.py             114      0   100%
src/falconpy/detects.py                        34      0   100%
src/falconpy/device_control_policies.py        67      0   100%
src/falconpy/event_streams.py                  15      0   100%
src/falconpy/falconx_sandbox.py                78      0   100%
src/falconpy/firewall_management.py           130      0   100%
src/falconpy/firewall_policies.py              68      0   100%
src/falconpy/host_group.py                     61      0   100%
src/falconpy/hosts.py                          37      0   100%
src/falconpy/incidents.py                      39      0   100%
src/falconpy/intel.py                          89      0   100%
src/falconpy/iocs.py                           58      0   100%
src/falconpy/oauth2.py                         30      0   100%
src/falconpy/prevention_policy.py              67      0   100%
src/falconpy/real_time_response.py            135      0   100%
src/falconpy/real_time_response_admin.py       82      0   100%
src/falconpy/sensor_update_policy.py          103      0   100%
src/falconpy/spotlight_vulnerabilities.py      15      0   100%
src/falconpy/user_management.py                75      0   100%
---------------------------------------------------------------
TOTAL                                        1578      0   100%

Added features and functionality

  • New service class: cspm_registration.py - Provides the CSPM_Registration service class for handling Horizon registration in Azure and AWS.

New basic unit tests for the CSPM_Registration service class have been included within this pull request.

  • Added methods: falconx_sandbox.py - Support for the following operations have been added to the FalconX_Sandbox service class.
    • QuerySampleV1
    • DeleteSampleV2
    • GetSampleV2
    • DeleteReport
    • GetReports

Unit tests have been updated to reflect these additional methods

Issues resolved

  • Bug fix: Resolved malformed validator in detects.py - UpdateDetectsByIdsV2

  • Bug fix: Added action_name parameter to operations that require the parameter. (#53)
    This issue impacted 6 service classes in total:

    • device_control_policies.py - Device_Control_Policies - performDeviceControlPoliciesAction
    • firewall_policies.py - Firewall_Policies - performFirewallPoliciesAction
    • host_group.py - Host_Group - performGroupAction
    • hosts.py - Host - PerformActionV2
    • prevention_policy.py - Prevention_Policy - performPreventionPoliciesAction
    • sensor_update_policy.py - Sensor_Update_Policy - performSensorUpdatePoliciesAction

    This issue also impacted the Uber class, resulting in updates to the command method within the APIHarness class.

Unit tests have been updated to reflect these changes

Potential Breaking Change: The action_name parameter does not currently accept unspecified values. This will be resolved in the 0.4.4 version of the package.

Other

  • Minor updates to _endpoints.py to reflect operation ID corrections for the CSPM registration API.
  • Abstracted common error output code paths to a stand-alone method within _util.py.

Don't miss a new crowdstrike-falconpy release

NewReleases is sending notifications on new releases.