Skip to content

Commit e8aaf52

Browse files
authored
chore(sdk): bump pygithub from 2.5.0 to 2.8.0 (#10353)
1 parent f5f1f1a commit e8aaf52

File tree

5 files changed

+16
-31
lines changed

5 files changed

+16
-31
lines changed

poetry.lock

Lines changed: 10 additions & 29 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

prowler/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ All notable changes to the **Prowler SDK** are documented in this file.
1717

1818
### 🔄 Changed
1919

20+
- Bump `pygithub` from 2.5.0 to 2.8.0 to use native Organization properties
2021
- Update M365 SharePoint service metadata to new format [(#9684)](https://github.com/prowler-cloud/prowler/pull/9684)
2122
- Update M365 Exchange service metadata to new format [(#9683)](https://github.com/prowler-cloud/prowler/pull/9683)
2223
- Update M365 Teams service metadata to new format [(#9685)](https://github.com/prowler-cloud/prowler/pull/9685)

prowler/providers/iac/iac_provider.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,7 @@ def _process_finding(
224224
},
225225
},
226226
"Categories": [],
227+
"AdditionalURLs": [],
227228
"DependsOn": [],
228229
"RelatedTo": [],
229230
"Notes": "",

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ dependencies = [
6262
"pandas==2.2.3",
6363
"py-ocsf-models==0.8.1",
6464
"pydantic (>=2.0,<3.0)",
65-
"pygithub==2.5.0",
65+
"pygithub==2.8.0",
6666
"python-dateutil (>=2.9.0.post0,<3.0.0)",
6767
"pytz==2025.1",
6868
"schema==0.7.5",

tests/providers/iac/iac_provider_test.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,9 @@ def test_iac_provider_process_finding_failed(self):
6161
assert report.check_metadata.CheckID == SAMPLE_FAILED_CHECK["ID"]
6262
assert report.check_metadata.CheckTitle == SAMPLE_FAILED_CHECK["Title"]
6363
assert report.check_metadata.Severity == "low"
64-
assert report.check_metadata.RelatedUrl == SAMPLE_FAILED_CHECK["PrimaryURL"]
64+
assert report.check_metadata.RelatedUrl == SAMPLE_FAILED_CHECK.get(
65+
"PrimaryURL", ""
66+
)
6567

6668
def test_iac_provider_process_finding_passed(self):
6769
"""Test processing a passed finding"""

0 commit comments

Comments
 (0)