Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Version 1.4.7 - Correlation Rules, Intelligence Feeds and NG-SIEM #1282

Merged
merged 24 commits into from
Feb 13, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
d91eaca
Update payload handler to support new values. Closes #1231.
jshcodes Dec 11, 2024
4caa3dc
Fix payload handler when providing certificate keys as keywords
jshcodes Dec 11, 2024
1b8f6c7
Update CHANGELOG.md
jshcodes Jan 28, 2025
34a9e91
Add new IntelligenceFeeds service collection
jshcodes Jan 28, 2025
f2888a7
Add NGSIEM service collection
jshcodes Feb 12, 2025
50dfc26
Fix error handling of invalid response from IdentityProtection GraphQ…
jshcodes Feb 12, 2025
cce946b
Adjust Detects unit testing
jshcodes Feb 12, 2025
1ba9f3c
Bump version -> 1.4.7
jshcodes Feb 12, 2025
fbf6796
Adjust unit testing to allow temporary 500
jshcodes Feb 12, 2025
dc44f74
Description updates. Operation ID Update (UploadFileQuickScanPro). Cl…
jshcodes Feb 12, 2025
8feb87c
Allow custom file name. Closes #1276.
jshcodes Feb 12, 2025
d875fbe
Add CorrelationRules service collection. Closes #1275.
jshcodes Feb 12, 2025
79f4676
Fix invalid body payload default in createMLExclusionsV1.
jshcodes Feb 12, 2025
d48435c
Add NGSIEM service collection
jshcodes Feb 12, 2025
e585ba9
Add CorrelationRules service collection. Closes #1275.
jshcodes Feb 12, 2025
bb386a5
Adjust workflows unit testing
jshcodes Feb 12, 2025
6411917
Adjust NGSIEM unit testing
jshcodes Feb 12, 2025
7d4bf75
Remove detects from coverage reporting
jshcodes Feb 12, 2025
ac5f619
Move USGOV1 unit testing to Python 3.8
jshcodes Feb 12, 2025
94afd17
Update wordlist.txt
jshcodes Feb 12, 2025
790c844
Unit testing adjustments
jshcodes Feb 12, 2025
acd3f46
Unit testing adjustments
jshcodes Feb 12, 2025
5686200
Adjust DownloadFeedArchive operation
jshcodes Feb 12, 2025
1e9ab28
Adjust CrossCloud failure unit test
jshcodes Feb 12, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .github/wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1464,3 +1464,19 @@ logfile
termcolor
darkdetect
Jesko
DownloadFeedArchive
ListFeedTypes
QueryFeedArchives
NGSIEM
UploadLookupV
GetLookupV
GetLookupFromPackageWithNamespaceV
GetLookupFromPackageV
StartSearchV
GetSearchStatusV
StopSearchV
CreateFileV
UpdateFileV
roberts
CertificateBasedExclusions
cb
2 changes: 1 addition & 1 deletion .github/workflows/unit_testing_usgov1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.7'
python-version: '3.8'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
66 changes: 66 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,69 @@
# Version 1.4.7
## Added features and functionality
+ Added: Added new __Intelligence Feeds__ service collection with 3 operations.
- _DownloadFeedArchive_
- _ListFeedTypes_
- _QueryFeedArchives_
- `_endpoint/__init__.py`
- `_endpoint/_intelligence_feeds.py`
- `__init__.py`
- `intelligence_feeds.py`
> Unit testing expanded to complete code coverage.
- `tests/test_intelligence_feeds.py`

+ Added: Added new __NGSIEM__ service collection with 9 operations.
- _UploadLookupV1_
- _GetLookupV1_
- _GetLookupFromPackageWithNamespaceV1_
- _GetLookupFromPackageV1_
- _StartSearchV1_
- _GetSearchStatusV1_
- _StopSearchV1_
- _CreateFileV1_
- _UpdateFileV1_
- `_endpoint/__init__.py`
- `_endpoint/_ngsiem.py`
- `_util/_functions.py`
- `__init__.py`
- `ngsiem.py`
> Unit testing expanded to complete code coverage.
- `tests/test_ngsiem.py`

+ Added: Added new __Correlation Rules__ service collection with 6 operations.
- _combined_rules_get_v1_
- _entities_rules_get_v1_
- _entities_rules_post_v1_
- _entities_rules_delete_v1_
- _entities_rules_patch_v1_
- _queries_rules_get_v1_
- `_endpoint/__init__.py`
- `_endpoint/_correlation_rules.py`
- `_endpoint/deprecated/__init__.py`
- `_endpoint/deprecated/_correlation_rules.py`
- `_payload/__init__.py`
- `_payload/_correlation_rules.py`
- `__init__.py`
- `correlation_rules.py`
> Unit testing expanded to complete code coverage.
- `tests/test_correlation_rules.py`

## Issues resolved
+ Resolved: `timezone` argument is not available for the _createScheduledExclusions_ operation within the __FileVantage__ Service Class. Closes #1231.
- `_payload/_filevantage.py`
- `filevantage.py`
- Thanks go out to @security-roberts for identifying and reporting this issue! 🙇

+ Resolved: Fixed payload handler issue when providing certificate keys via keywords as opposed to providing the `certificate` keyword when using the _cb_exclusions_create_v1_ operation within the __CertificateBasedExclusions__ service class.
- `_payload/_certificate_based_exclusions.py`

+ Resolved: Added error handling for when invalid API responses are received from the GraphQL operation within the __Identity Protection__ service collection.
- `_util/_functions.py`

+ Resolved: Fixed invalid default body payload for _createMLExclusionsV1_ operation in __MLExclusions__ Service Class.
- `ml_exclusions.py`

---

# Version 1.4.6
## Added features and functionality
+ Added: Added _ExecuteCommandProxy_ operation to the __API Integrations__ service collection.
Expand Down
6 changes: 5 additions & 1 deletion src/falconpy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@
from .container_images import ContainerImages
from .container_packages import ContainerPackages
from .container_vulnerabilities import ContainerVulnerabilities
from .correlation_rules import CorrelationRules
from .cloud_connect_aws import CloudConnectAWS
from .cspm_registration import CSPMRegistration
from .custom_ioa import CustomIOA
Expand Down Expand Up @@ -131,6 +132,7 @@
from .incidents import Incidents
from .installation_tokens import InstallationTokens
from .intel import Intel
from .intelligence_feeds import IntelligenceFeeds
from .ioa_exclusions import IOAExclusions
from .ioc import IOC
from .iocs import Iocs
Expand All @@ -140,6 +142,7 @@
from .ml_exclusions import MLExclusions
from .mobile_enrollment import MobileEnrollment
from .mssp import FlightControl
from .ngsiem import NGSIEM
from .oauth2 import OAuth2
from .ods import ODS
from .overwatch_dashboard import OverwatchDashboard
Expand Down Expand Up @@ -209,7 +212,8 @@
"ContainerVulnerabilities", "DriftIndicators", "UnidentifiedContainers",
"ImageAssessmentPolicies", "APIIntegrations", "ThreatGraph", "ExposureManagement",
"CertificateBasedExclusions", "ComplianceAssessments", "HostMigration", "QuickScanPro",
"DataScanner", "SensorUsage", "Downloads", "DeliverySettings", "ASPM"
"DataScanner", "SensorUsage", "Downloads", "DeliverySettings", "ASPM", "IntelligenceFeeds",
"NGSIEM", "CorrelationRules"
]
"""
This is free and unencumbered software released into the public domain.
Expand Down
8 changes: 8 additions & 0 deletions src/falconpy/_endpoint/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
`---' OAuth2 API SDK for Python 3 `---'
"""
from typing import List, Any
from .deprecated import _correlation_rules_deprecated
from .deprecated import _custom_ioa_deprecated
from .deprecated import _d4c_registration_deprecated
from .deprecated import _datascanner_deprecated
Expand Down Expand Up @@ -55,6 +56,7 @@
from ._container_images import _container_images_endpoints
from ._container_packages import _container_packages_endpoints
from ._container_vulnerabilities import _container_vulnerabilities_endpoints
from ._correlation_rules import _correlation_rules_endpoints
from ._cspm_registration import _cspm_registration_endpoints
from ._custom_ioa import _custom_ioa_endpoints
from ._custom_storage import _custom_storage_endpoints
Expand All @@ -81,6 +83,7 @@
from ._identity_protection import _identity_protection_endpoints
from ._image_assessment_policies import _image_assessment_policies_endpoints
from ._incidents import _incidents_endpoints
from ._intelligence_feeds import _intelligence_feeds_endpoints
from ._installation_tokens import _installation_tokens_endpoints
from ._intel import _intel_endpoints
from ._ioa_exclusions import _ioa_exclusions_endpoints
Expand All @@ -92,6 +95,7 @@
from ._ml_exclusions import _ml_exclusions_endpoints
from ._mobile_enrollment import _mobile_enrollment_endpoints
from ._mssp import _mssp_endpoints
from ._ngsiem import _ngsiem_endpoints
from ._oauth2 import _oauth2_endpoints
from ._ods import _ods_endpoints
from ._overwatch_dashboard import _overwatch_dashboard_endpoints
Expand Down Expand Up @@ -135,6 +139,7 @@
api_endpoints.extend(_container_images_endpoints)
api_endpoints.extend(_container_packages_endpoints)
api_endpoints.extend(_container_vulnerabilities_endpoints)
api_endpoints.extend(_correlation_rules_endpoints)
api_endpoints.extend(_cspm_registration_endpoints)
api_endpoints.extend(_custom_ioa_endpoints)
api_endpoints.extend(_custom_storage_endpoints)
Expand Down Expand Up @@ -162,6 +167,7 @@
api_endpoints.extend(_image_assessment_policies_endpoints)
api_endpoints.extend(_incidents_endpoints)
api_endpoints.extend(_installation_tokens_endpoints)
api_endpoints.extend(_intelligence_feeds_endpoints)
api_endpoints.extend(_intel_endpoints)
api_endpoints.extend(_ioa_exclusions_endpoints)
api_endpoints.extend(_ioc_endpoints)
Expand All @@ -172,6 +178,7 @@
api_endpoints.extend(_ml_exclusions_endpoints)
api_endpoints.extend(_mobile_enrollment_endpoints)
api_endpoints.extend(_mssp_endpoints)
api_endpoints.extend(_ngsiem_endpoints)
api_endpoints.extend(_oauth2_endpoints)
api_endpoints.extend(_ods_endpoints)
api_endpoints.extend(_overwatch_dashboard_endpoints)
Expand Down Expand Up @@ -202,6 +209,7 @@

# Deprecated endpoints
deprecated_endpoints = []
deprecated_endpoints.extend(_correlation_rules_deprecated)
deprecated_endpoints.extend(_certificate_based_exclusions_deprecated)
deprecated_endpoints.extend(_custom_ioa_deprecated)
deprecated_endpoints.extend(_d4c_registration_deprecated)
Expand Down
Loading
Loading