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

Version 1.3.5 - New API operations and minor fixes #1092

Merged
merged 37 commits into from
Dec 23, 2023
Merged

Version 1.3.5 - New API operations and minor fixes #1092

merged 37 commits into from
Dec 23, 2023

Conversation

jshcodes
Copy link
Member

@jshcodes jshcodes commented Dec 22, 2023

FalconPy v1.3.5

This update implements 99 new API operations, adds 9 new service collections (with matching Service Classes), and implements some minor fixes.

Cosmetic updates related to changes to the module file generator are also present in individual files within the endpoint module.

  • Enhancement
  • Bug fixes
  • Updated unit tests
  • Code sample

Unit test coverage

Name                                                                   Stmts   Miss  Cover
------------------------------------------------------------------------------------------
src/falconpy/__init__.py                                                  91      0   100%
src/falconpy/_api_request/__init__.py                                      7      0   100%
src/falconpy/_api_request/_request.py                                    109      0   100%
src/falconpy/_api_request/_request_behavior.py                            55      0   100%
src/falconpy/_api_request/_request_connection.py                          33      0   100%
src/falconpy/_api_request/_request_meta.py                                26      0   100%
src/falconpy/_api_request/_request_payloads.py                            31      0   100%
src/falconpy/_api_request/_request_validator.py                           17      0   100%
src/falconpy/_auth_object/__init__.py                                      6      0   100%
src/falconpy/_auth_object/_base_falcon_auth.py                            13      0   100%
src/falconpy/_auth_object/_bearer_token.py                                63      0   100%
src/falconpy/_auth_object/_falcon_interface.py                           245      0   100%
src/falconpy/_auth_object/_interface_config.py                            40      0   100%
src/falconpy/_auth_object/_uber_interface.py                              42      0   100%
src/falconpy/_constant/__init__.py                                        11      0   100%
src/falconpy/_endpoint/__init__.py                                       170      0   100%
src/falconpy/_endpoint/_alerts.py                                          1      0   100%
src/falconpy/_endpoint/_cloud_connect_aws.py                               1      0   100%
src/falconpy/_endpoint/_cloud_snapshots.py                                 1      0   100%
src/falconpy/_endpoint/_configuration_assessment.py                        1      0   100%
src/falconpy/_endpoint/_configuration_assessment_evaluation_logic.py       1      0   100%
src/falconpy/_endpoint/_container_alerts.py                                1      0   100%
src/falconpy/_endpoint/_container_detections.py                            1      0   100%
src/falconpy/_endpoint/_container_images.py                                1      0   100%
src/falconpy/_endpoint/_container_packages.py                              1      0   100%
src/falconpy/_endpoint/_container_vulnerabilities.py                       1      0   100%
src/falconpy/_endpoint/_cspm_registration.py                               1      0   100%
src/falconpy/_endpoint/_custom_ioa.py                                      1      0   100%
src/falconpy/_endpoint/_custom_storage.py                                  1      0   100%
src/falconpy/_endpoint/_d4c_registration.py                                1      0   100%
src/falconpy/_endpoint/_detects.py                                         1      0   100%
src/falconpy/_endpoint/_device_control_policies.py                         1      0   100%
src/falconpy/_endpoint/_discover.py                                        1      0   100%
src/falconpy/_endpoint/_drift_indicators.py                                1      0   100%
src/falconpy/_endpoint/_event_streams.py                                   1      0   100%
src/falconpy/_endpoint/_falcon_complete_dashboard.py                       1      0   100%
src/falconpy/_endpoint/_falcon_container.py                                1      0   100%
src/falconpy/_endpoint/_falconx_sandbox.py                                 1      0   100%
src/falconpy/_endpoint/_fdr.py                                             1      0   100%
src/falconpy/_endpoint/_filevantage.py                                     1      0   100%
src/falconpy/_endpoint/_firewall_management.py                             1      0   100%
src/falconpy/_endpoint/_firewall_policies.py                               1      0   100%
src/falconpy/_endpoint/_foundry_logscale.py                                1      0   100%
src/falconpy/_endpoint/_host_group.py                                      1      0   100%
src/falconpy/_endpoint/_hosts.py                                           1      0   100%
src/falconpy/_endpoint/_identity_protection.py                             1      0   100%
src/falconpy/_endpoint/_incidents.py                                       1      0   100%
src/falconpy/_endpoint/_installation_tokens.py                             1      0   100%
src/falconpy/_endpoint/_intel.py                                           1      0   100%
src/falconpy/_endpoint/_ioa_exclusions.py                                  1      0   100%
src/falconpy/_endpoint/_ioc.py                                             1      0   100%
src/falconpy/_endpoint/_iocs.py                                            1      0   100%
src/falconpy/_endpoint/_kubernetes_protection.py                           1      0   100%
src/falconpy/_endpoint/_malquery.py                                        1      0   100%
src/falconpy/_endpoint/_message_center.py                                  1      0   100%
src/falconpy/_endpoint/_ml_exclusions.py                                   1      0   100%
src/falconpy/_endpoint/_mobile_enrollment.py                               1      0   100%
src/falconpy/_endpoint/_mssp.py                                            1      0   100%
src/falconpy/_endpoint/_oauth2.py                                          1      0   100%
src/falconpy/_endpoint/_ods.py                                             1      0   100%
src/falconpy/_endpoint/_overwatch_dashboard.py                             1      0   100%
src/falconpy/_endpoint/_prevention_policies.py                             1      0   100%
src/falconpy/_endpoint/_quarantine.py                                      1      0   100%
src/falconpy/_endpoint/_quick_scan.py                                      1      0   100%
src/falconpy/_endpoint/_real_time_response.py                              1      0   100%
src/falconpy/_endpoint/_real_time_response_admin.py                        1      0   100%
src/falconpy/_endpoint/_real_time_response_audit.py                        1      0   100%
src/falconpy/_endpoint/_recon.py                                           1      0   100%
src/falconpy/_endpoint/_report_executions.py                               1      0   100%
src/falconpy/_endpoint/_response_policies.py                               1      0   100%
src/falconpy/_endpoint/_sample_uploads.py                                  1      0   100%
src/falconpy/_endpoint/_scheduled_reports.py                               1      0   100%
src/falconpy/_endpoint/_sensor_download.py                                 1      0   100%
src/falconpy/_endpoint/_sensor_update_policies.py                          1      0   100%
src/falconpy/_endpoint/_sensor_visibility_exclusions.py                    1      0   100%
src/falconpy/_endpoint/_spotlight_evaluation_logic.py                      1      0   100%
src/falconpy/_endpoint/_spotlight_vulnerabilities.py                       1      0   100%
src/falconpy/_endpoint/_tailored_intelligence.py                           1      0   100%
src/falconpy/_endpoint/_unidentified_containers.py                         1      0   100%
src/falconpy/_endpoint/_user_management.py                                 1      0   100%
src/falconpy/_endpoint/_workflows.py                                       1      0   100%
src/falconpy/_endpoint/_zero_trust_assessment.py                           1      0   100%
src/falconpy/_endpoint/deprecated/__init__.py                             35      0   100%
src/falconpy/_endpoint/deprecated/_custom_ioa.py                           1      0   100%
src/falconpy/_endpoint/deprecated/_d4c_registration.py                     1      0   100%
src/falconpy/_endpoint/deprecated/_discover.py                             1      0   100%
src/falconpy/_endpoint/deprecated/_fdr.py                                  1      0   100%
src/falconpy/_endpoint/deprecated/_firewall_management.py                  1      0   100%
src/falconpy/_endpoint/deprecated/_hosts.py                                1      0   100%
src/falconpy/_endpoint/deprecated/_identity_protection.py                  1      0   100%
src/falconpy/_endpoint/deprecated/_installation_tokens.py                  1      0   100%
src/falconpy/_endpoint/deprecated/_ioc.py                                  1      0   100%
src/falconpy/_endpoint/deprecated/_iocs.py                                 1      0   100%
src/falconpy/_endpoint/deprecated/_mapping.py                              2      0   100%
src/falconpy/_endpoint/deprecated/_ods.py                                  1      0   100%
src/falconpy/_endpoint/deprecated/_real_time_response.py                   1      0   100%
src/falconpy/_endpoint/deprecated/_real_time_response_admin.py             1      0   100%
src/falconpy/_endpoint/deprecated/_report_executions.py                    1      0   100%
src/falconpy/_endpoint/deprecated/_scheduled_reports.py                    1      0   100%
src/falconpy/_endpoint/deprecated/_zero_trust_assessment.py                1      0   100%
src/falconpy/_enum/__init__.py                                             4      0   100%
src/falconpy/_enum/_base_url.py                                            7      0   100%
src/falconpy/_enum/_container_base_url.py                                  6      0   100%
src/falconpy/_enum/_token_fail_reason.py                                   4      0   100%
src/falconpy/_error/__init__.py                                            3      0   100%
src/falconpy/_error/_exceptions.py                                        68      0   100%
src/falconpy/_error/_warnings.py                                          73      0   100%
src/falconpy/_log/__init__.py                                              2      0   100%
src/falconpy/_log/_facility.py                                            34      0   100%
src/falconpy/_payload/__init__.py                                         30      0   100%
src/falconpy/_payload/_alerts.py                                          11      0   100%
src/falconpy/_payload/_cloud_connect_aws.py                               23      0   100%
src/falconpy/_payload/_cloud_snapshots.py                                 36      0   100%
src/falconpy/_payload/_container.py                                       27      0   100%
src/falconpy/_payload/_cspm_registration.py                               53      0   100%
src/falconpy/_payload/_d4c_registration.py                                38      0   100%
src/falconpy/_payload/_detects.py                                         15      0   100%
src/falconpy/_payload/_device_control_policy.py                           33      0   100%
src/falconpy/_payload/_falconx.py                                         25      0   100%
src/falconpy/_payload/_filevantage.py                                     34      0   100%
src/falconpy/_payload/_firewall.py                                       122      0   100%
src/falconpy/_payload/_foundry.py                                         16      0   100%
src/falconpy/_payload/_generic.py                                         66      0   100%
src/falconpy/_payload/_host_group.py                                      31      0   100%
src/falconpy/_payload/_incidents.py                                       15      0   100%
src/falconpy/_payload/_ioa.py                                             35      0   100%
src/falconpy/_payload/_ioc.py                                             52      0   100%
src/falconpy/_payload/_malquery.py                                        56      0   100%
src/falconpy/_payload/_message_center.py                                  22      0   100%
src/falconpy/_payload/_mssp.py                                            15      0   100%
src/falconpy/_payload/_ods.py                                             13      0   100%
src/falconpy/_payload/_prevention_policy.py                               19      0   100%
src/falconpy/_payload/_real_time_response.py                              27      0   100%
src/falconpy/_payload/_recon.py                                           84      0   100%
src/falconpy/_payload/_reports.py                                         19      0   100%
src/falconpy/_payload/_response_policy.py                                 19      0   100%
src/falconpy/_payload/_sample_uploads.py                                   9      0   100%
src/falconpy/_payload/_sensor_update_policy.py                            30      0   100%
src/falconpy/_payload/_workflows.py                                       21      0   100%
src/falconpy/_result/__base_resource.py                                   28      0   100%
src/falconpy/_result/__init__.py                                           9      0   100%
src/falconpy/_result/_base_dictionary.py                                  31      0   100%
src/falconpy/_result/_errors.py                                            2      0   100%
src/falconpy/_result/_expanded_result.py                                   7      0   100%
src/falconpy/_result/_headers.py                                          25      0   100%
src/falconpy/_result/_meta.py                                             30      0   100%
src/falconpy/_result/_resources.py                                        14      0   100%
src/falconpy/_result/_response_component.py                               24      0   100%
src/falconpy/_result/_result.py                                          220      0   100%
src/falconpy/_service_class/__init__.py                                    3      0   100%
src/falconpy/_service_class/_base_service_class.py                       118      0   100%
src/falconpy/_service_class/_service_class.py                             92      0   100%
src/falconpy/_util/__init__.py                                             5      0   100%
src/falconpy/_util/_auth.py                                               18      0   100%
src/falconpy/_util/_functions.py                                         388      0   100%
src/falconpy/_util/_service.py                                             3      0   100%
src/falconpy/_util/_uber.py                                               49      0   100%
src/falconpy/_version.py                                                  33      0   100%
src/falconpy/alerts.py                                                    62      0   100%
src/falconpy/api_complete/__init__.py                                      3      0   100%
src/falconpy/api_complete/_advanced.py                                    57      0   100%
src/falconpy/api_complete/_legacy.py                                     202      0   100%
src/falconpy/cloud_connect_aws.py                                         48      0   100%
src/falconpy/cloud_snapshots.py                                           21      0   100%
src/falconpy/configuration_assessment.py                                  13      0   100%
src/falconpy/configuration_assessment_evaluation_logic.py                  9      0   100%
src/falconpy/container_alerts.py                                          13      0   100%
src/falconpy/container_detections.py                                      29      0   100%
src/falconpy/container_images.py                                          45      0   100%
src/falconpy/container_packages.py                                        25      0   100%
src/falconpy/container_vulnerabilities.py                                 45      0   100%
src/falconpy/cspm_registration.py                                        135      0   100%
src/falconpy/custom_ioa.py                                                86      0   100%
src/falconpy/custom_storage.py                                            68      0   100%
src/falconpy/d4c_registration.py                                          96      0   100%
src/falconpy/detects.py                                                   32      0   100%
src/falconpy/device_control_policies.py                                   78      0   100%
src/falconpy/discover.py                                                  35      0   100%
src/falconpy/drift_indicators.py                                          25      0   100%
src/falconpy/event_streams.py                                             20      0   100%
src/falconpy/falcon_complete_dashboard.py                                105      0   100%
src/falconpy/falcon_container.py                                          57      0   100%
src/falconpy/falconx_sandbox.py                                           86      0   100%
src/falconpy/fdr.py                                                       23      0   100%
src/falconpy/filevantage.py                                              127      0   100%
src/falconpy/firewall_management.py                                      139      0   100%
src/falconpy/firewall_policies.py                                         71      0   100%
src/falconpy/foundry_logscale.py                                          45      0   100%
src/falconpy/host_group.py                                                61      0   100%
src/falconpy/hosts.py                                                    113      0   100%
src/falconpy/identity_protection.py                                       34      0   100%
src/falconpy/incidents.py                                                 41      0   100%
src/falconpy/installation_tokens.py                                       43      0   100%
src/falconpy/intel.py                                                     93      0   100%
src/falconpy/ioa_exclusions.py                                            33      0   100%
src/falconpy/ioc.py                                                       94      0   100%
src/falconpy/iocs.py                                                      40      0   100%
src/falconpy/kubernetes_protection.py                                    254      0   100%
src/falconpy/malquery.py                                                  50      0   100%
src/falconpy/message_center.py                                            81      0   100%
src/falconpy/ml_exclusions.py                                             35      0   100%
src/falconpy/mobile_enrollment.py                                         18      0   100%
src/falconpy/mssp.py                                                     174      0   100%
src/falconpy/oauth2.py                                                    30      0   100%
src/falconpy/ods.py                                                       73      0   100%
src/falconpy/overwatch_dashboard.py                                       31      0   100%
src/falconpy/prevention_policy.py                                         62      0   100%
src/falconpy/quarantine.py                                                46      0   100%
src/falconpy/quick_scan.py                                                27      0   100%
src/falconpy/real_time_response.py                                       127      0   100%
src/falconpy/real_time_response_admin.py                                  83      0   100%
src/falconpy/real_time_response_audit.py                                  10      0   100%
src/falconpy/recon.py                                                    128      0   100%
src/falconpy/report_executions.py                                         24      0   100%
src/falconpy/response_policies.py                                         61      0   100%
src/falconpy/sample_uploads.py                                            75      0   100%
src/falconpy/scheduled_reports.py                                         20      0   100%
src/falconpy/sensor_download.py                                           33      0   100%
src/falconpy/sensor_update_policy.py                                     110      0   100%
src/falconpy/sensor_visibility_exclusions.py                              33      0   100%
src/falconpy/spotlight_evaluation_logic.py                                23      0   100%
src/falconpy/spotlight_vulnerabilities.py                                 31      0   100%
src/falconpy/tailored_intelligence.py                                     41      0   100%
src/falconpy/unidentified_containers.py                                   17      0   100%
src/falconpy/user_management.py                                          139      0   100%
src/falconpy/workflows.py                                                 38      0   100%
src/falconpy/zero_trust_assessment.py                                     23      0   100%
------------------------------------------------------------------------------------------
TOTAL                                                                   7623      0   100%

Bandit analysis

[main]	INFO	running on Python 3.9.17
Run started:2023-12-22 20:43:04.785829

Test results:
	No issues identified.

Code scanned:
	Total lines of code: 63287
	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: 4 new operations added to the Alerts service collection.
    • PostAggregateAlertsV2
    • PostEntitiesAlertsV2
    • PatchEntitiesAlertsV3
    • GetQueriesAlertsV2
    • _endpoint/_alerts.py
    • alerts.py

    Unit testing expanded to complete code coverage.

    • tests/test_alerts.py
  • Added: source_event_url argument added to the WorkflowExecute operation definition within the endpoint module.
    • _endpoint/_workflows.py
  • Added: New Configuration Assessment service collection providing 2 new operations.
    • getCombinedAssessmentsQuery
    • getRuleDetails
    • _endpoint/__init__.py
    • _endpoint/_configuration_assessment.py
    • __init__.py
    • configuration_assessment.py

    Unit testing expanded to complete code coverage.

    • tests/test_configuration_assessment.py
  • Added: New Configuration Assessment Evaluation Logic service collection providing 1 new operation.
    • getEvaluationLogicMixin0
    • _endpoint/__init__.py
    • _endpoint/_configuration_assessment_evaluation_logic.py
    • __init__.py
    • configuration_assessment_evaluation_logic.py

    Unit testing expanded to complete code coverage.

    • tests/test_configuration_assessment_evaluation_logic.py
  • Added: New Container Alerts service collection providing 2 new operations.
    • ReadContainerAlertsCount
    • SearchAndReadContainerAlerts
    • _endpoint/__init__.py
    • _endpoint/_container_alerts.py
    • __init__.py
    • container_alerts.py

    Unit testing expanded to complete code coverage.

    • tests/test_container_alerts.py
  • Added: New Container Detections service collection providing 6 new operations.
    • ReadDetectionsCountBySeverity
    • ReadDetectionsCountByType
    • ReadDetectionsCount
    • ReadCombinedDetections
    • ReadDetections
    • SearchDetections
    • _endpoint/__init__.py
    • _endpoint/_container_detections.py
    • __init__.py
    • container_detections.py

    Unit testing expanded to complete code coverage.

    • tests/test_container_detections.py
  • Added: New Container Images service collection providing 10 new operations.
    • AggregateImageAssessmentHistory
    • AggregateImageCountByBaseOS
    • AggregateImageCountByState
    • AggregateImageCount
    • GetCombinedImages
    • CombinedImageByVulnerabilityCount
    • CombinedImageDetail
    • ReadCombinedImagesExport
    • CombinedImageIssuesSummary
    • CombinedImageVulnerabilitySummary
    • _endpoint/__init__.py
    • _endpoint/_container_images.py
    • __init__.py
    • container_images.py

    Unit testing expanded to complete code coverage.

    • tests/test_container_images.py
  • Added: New Container Packages service collection providing 5 new operations.
    • ReadPackagesCountByZeroDay
    • ReadPackagesByFixableVulnCount
    • ReadPackagesByVulnCount
    • ReadPackagesCombinedExport
    • ReadPackagesCombined
    • _endpoint/__init__.py
    • _endpoint/_container_packages.py
    • __init__.py
    • container_packages.py

    Unit testing expanded to complete code coverage.

    • tests/test_container_packages.py
  • Added: New Container Vulnerabilities service collection providing 10 new operations.
    • ReadCombinedVulnerabilities
    • ReadCombinedVulnerabilitiesInfo
    • ReadCombinedVulnerabilitiesDetails
    • ReadVulnerabilitiesPublicationDate
    • ReadVulnerabilitiesByImageCount
    • ReadVulnerabilityCount
    • ReadVulnerabilityCountBySeverity
    • ReadVulnerabilityCountByCPSRating
    • ReadVulnerabilityCountByCVSSScore
    • ReadVulnerabilityCountByActivelyExploited
    • _endpoint/__init__.py
    • _endpoint/_container_vulnerabilities.py
    • __init__.py
    • container_vulnerabilities.py

    Unit testing expanded to complete code coverage.

    • tests/test_container_vulnerabilities.py
  • Added: next_token argument added to the GetConfigurationDetectionIDsV2 operation within the CSPM Registration service collection.
    • _endpoint/_cspm_registration.py
    • cspm_registration.py
  • Added: New Drift Indicators service collection providing 5 new operations.
    • GetDriftIndicatorsValuesByDate
    • ReadDriftIndicatorsCount
    • SearchAndReadDriftIndicatorEntities
    • ReadDriftIndicatorEntities
    • SearchDriftIndicators
    • _endpoint/__init__.py
    • _endpoint/_drift_indicators.py
    • __init__.py
    • drift_indicators.py

    Unit testing expanded to complete code coverage.

    • tests/test_drift_indicators.py
  • Added: 3 new operations added to the Falcon Complete Dashboard service collection.
    • AggregatePreventionPolicy
    • AggregateSensorUpdatePolicy
    • AggregateTotalDeviceCounts
    • _endpoint/_falcon_complete_dashboard.py
    • falcon_complete_dashboard.py

    Unit testing expanded to complete code coverage.

    • tests/test_falcon_complete_dashboard.py
  • Added: New arguments added to 5 operations within the Foundry LogScale service collection. 2 arguments are removed from 1 operation.
    • check_test_data is added to ListReposV1.
    • app_id is added to CreateSavedSearchesDynamicExecuteV1.
    • app_id is added to GetSavedSearchesExecuteV1.
    • app_id is added to CreateSavedSearchesExecuteV1.
    • check_test_data is added to ListViewV1.
    • The duplicative query string parameter arguments mode and version have been removed from CreateSavedSearchesExecuteV1.
    • _endpoint/_foundry_logscale.py
    • foundry_logscale.py

    Unit testing expanded to complete code coverage.

    • tests/test_foundry_logscale.py
  • Added: 1 new operation added to the Hosts service collection.
    • QueryDeviceLoginHistoryV2
    • _endpoint/_hosts.py
    • hosts.py

    Unit testing expanded to complete code coverage.

    • tests/test_hosts.py
  • Added: 3 new operations added to the IOC service collection. These operations replace legacy operations from the deprecated IOCS service collection.
    • indicator_get_device_count_v1 replaces DevicesCount.
    • indicator_get_devices_ran_on_v1 replaces DevicesRanOn.
    • indicator_get_processes_ran_on_v1 replaces ProcessRanOn.
    • _endpoint/_ioc.py
    • _endpoint/deprecated/_ioc.py
    • ioc.py

    Unit testing expanded to complete code coverage.

    • tests/test_ioc.py
  • Added: 41 new operations added to the Kubernetes Protection service collection.
    • ReadClustersByDateRangeCount
    • ReadClustersByKubernetesVersionCount
    • ReadClustersByStatusCount
    • ReadClusterCount
    • ReadContainersByDateRangeCount
    • ReadContainerCountByRegistry
    • FindContainersCountAffectedByZeroDayVulnerabilities
    • ReadVulnerableContainerImageCount
    • ReadContainerCount
    • FindContainersByContainerRunTimeVersion
    • GroupContainersByManaged
    • ReadContainerImageDetectionsCountByDate
    • ReadContainerImagesByState
    • ReadContainersSensorCoverage
    • ReadContainerVulnerabilitiesBySeverityCount
    • ReadDeploymentsByDateRangeCount
    • ReadDeploymentCount
    • ReadClusterEnrichment
    • ReadContainerEnrichment
    • ReadDeploymentEnrichment
    • ReadNodeEnrichment
    • ReadPodEnrichment
    • ReadDistinctContainerImageCount
    • ReadContainerImagesByMostUsed
    • ReadKubernetesIomByDateRange
    • ReadKubernetesIomCount
    • ReadNodesByCloudCount
    • ReadNodesByContainerEngineVersionCount
    • ReadNodesByDateRangeCount
    • ReadNodeCount
    • ReadPodsByDateRangeCount
    • ReadPodCount
    • ReadClusterCombined
    • ReadRunningContainerImages
    • ReadContainerCombined
    • ReadDeploymentCombined
    • SearchAndReadKubernetesIomEntities
    • ReadNodeCombined
    • ReadPodCombined
    • ReadKubernetesIomEntities
    • SearchKubernetesIoms
    • _endpoint/_kubernetes_protection.py
    • kubernetes_protection.py

    Unit testing expanded to complete code coverage.

    • tests/test_kubernetes_protection.py
  • Added: 1 new operation added to the ODS service collection.
    • get_scans_by_scan_ids_v2

    get_scans_by_scan_ids_v1 has been deprecated. The PEP8 method get_scans has been redirected to the new operation. Developers wanting to leverage the legacy operation should call get_scans_v1 or get_scans_by_scan_ids_v1.

    • _endpoint/_ods.py
    • _endpoint/deprecated/_ods.py
    • ods.py

    Unit testing expanded to complete code coverage.

    • tests/test_ods.py
  • Added: 2 new operations added to the Real Time Response Admin service collection.
    • RTR_GetFalconScripts
    • RTR_ListFalconScripts
    • _endpoint/_real_time_response_admin.py
    • _endpoint/deprecated/_real_time_response_admin.py
    • real_time_response_admin.py

    Unit testing expanded to complete code coverage.

    • tests/test_real_time_response_admin.py
  • Added: New Unidentified Containers service collection providing 3 new operations.
    • ReadUnidentifiedContainersByDateRangeCount
    • ReadUnidentifiedContainersCount
    • SearchAndReadUnidentifiedContainers
    • _endpoint/__init__.py
    • _endpoint/_unidentified_containers.py
    • __init__.py
    • unidentified_containers.py

    Unit testing expanded to complete code coverage.

    • tests/test_unidentified_containers.py

Issues resolved

  • Fixed: batch_id and batch_get_cmd_req_id not available on pythonic Result object.
    • _result/_result.py
  • Fixed: Pythonic responses not properly populating Result object resources attribute when a dictionary is returned for the resources branch.
    • _result/_result.py
  • Fixed: trace_id property is not available on Result objects that do not contain a Meta attribute.
    • _result/_headers.py
    • _result/_result.py
  • Fixed: Changes the datatype for the ids argument within the GetCSPMPolicy operation from string to integer.
    • _endpoint/_cspm_registration.py

Other

  • Fixed: A typo that incorrectly listed the default value for the limit keyword was resolved in the QueryDetects operation docstring. Closes [ DOC ] Default value for limit is incorrectly listed in documentation for the QueryDetects operation #1089.
    • detects.py
  • Refactored: Reduced complexity within the Result object constructor method by abstracting construction logic to a new method.
    • _result/_result.py
  • Regenerated: Updated endpoint module to align to new library automation, resulting in cosmetic changes to description fields.
    • _endpoint/*
  • Renamed: RetrieveUser operation has been renamed to retrieveUser within the User Management service collection.
    • _endpoint/_user_management.py
  • Deprecated: Adds additional deprecated operation IDs to the Firewall Management service collection.
    • _endpoint/_firewall_management.py
  • Fixed: Resolves a constant naming typo within the endpoint module for the Cloud Snapshots service collection.
    • _endpoint/__init__.py
    • _endpoint/_cloud_snapshots.py
    • cloud_snapshots.py
  • Fixed: Endpoint definition mismatch in UploadSampleV3 operation within the Sample Uploads service collection.
    • _endpoint/_sample_uploads.py
  • Fixed: Endpoint definition mismatch in UploadSampleV2 operation within the Falcon Intelligence Sandbox service collection.
    • _endpoint/_falconx_sandbox.py

    Unit testing expanded to complete code coverage.

    • tests/test_falconx_sandbox.py

@jshcodes jshcodes self-assigned this Dec 22, 2023
@jshcodes jshcodes added pipeline CI/CD related unit testing Pull requests that include unit testing updates package Pull requests that update the core package hosts Hosts or Host Groups issues and questions Horizon Horizon issues and questions kubernetes Kubernetes Protection issues and questions container Falcon Container questions or issues alerts Alerts issues or questions documentation 📖 Improvements or additions to documentation labels Dec 22, 2023
@jshcodes jshcodes requested a review from jlangdev December 22, 2023 20:54
@jshcodes jshcodes force-pushed the dev branch 2 times, most recently from 8620d05 to b30b656 Compare December 22, 2023 21:23
tests/test_alerts.py Fixed Show fixed Hide fixed
tests/test_hosts.py Dismissed Show dismissed Hide dismissed
@CrowdStrike CrowdStrike deleted a comment from crowdstrikedcs Dec 22, 2023
@jshcodes jshcodes merged commit 8f46c69 into main Dec 23, 2023
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
alerts Alerts issues or questions container Falcon Container questions or issues documentation 📖 Improvements or additions to documentation Horizon Horizon issues and questions hosts Hosts or Host Groups issues and questions kubernetes Kubernetes Protection issues and questions package Pull requests that update the core package pipeline CI/CD related unit testing Pull requests that include unit testing updates
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[ DOC ] Default value for limit is incorrectly listed in documentation for the QueryDetects operation
3 participants