iam-policy-validator 1.14.1__py3-none-any.whl → 1.14.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {iam_policy_validator-1.14.1.dist-info → iam_policy_validator-1.14.2.dist-info}/METADATA +1 -1
- {iam_policy_validator-1.14.1.dist-info → iam_policy_validator-1.14.2.dist-info}/RECORD +7 -7
- iam_validator/__version__.py +1 -1
- iam_validator/core/pr_commenter.py +6 -3
- {iam_policy_validator-1.14.1.dist-info → iam_policy_validator-1.14.2.dist-info}/WHEEL +0 -0
- {iam_policy_validator-1.14.1.dist-info → iam_policy_validator-1.14.2.dist-info}/entry_points.txt +0 -0
- {iam_policy_validator-1.14.1.dist-info → iam_policy_validator-1.14.2.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: iam-policy-validator
|
|
3
|
-
Version: 1.14.
|
|
3
|
+
Version: 1.14.2
|
|
4
4
|
Summary: Validate AWS IAM policies for correctness and security using AWS Service Reference API
|
|
5
5
|
Project-URL: Homepage, https://github.com/boogy/iam-policy-validator
|
|
6
6
|
Project-URL: Documentation, https://github.com/boogy/iam-policy-validator/tree/main/docs
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
iam_validator/__init__.py,sha256=xHdUASOxFHwEXfT_GSr_KrkLlnxZ-pAAr1wW1PwAGko,693
|
|
2
2
|
iam_validator/__main__.py,sha256=to_nz3n_IerJpVVZZ6WSFlFR5s_06J0csfPOTfQZG8g,197
|
|
3
|
-
iam_validator/__version__.py,sha256=
|
|
3
|
+
iam_validator/__version__.py,sha256=aKdF7mPOKj0H8xIHMqcgUIdAMplJ350c2A8EWCObeRY,374
|
|
4
4
|
iam_validator/checks/__init__.py,sha256=OTkPnmlelu4YjMO8krjhu2wXiTV72RzopA5u1SfPQA0,1990
|
|
5
5
|
iam_validator/checks/action_condition_enforcement.py,sha256=2-XUMbof9tQ7SHZNmAHMkR1DgbOIzY2eFWlp9S9dwLk,60625
|
|
6
6
|
iam_validator/checks/action_resource_matching.py,sha256=qND0hfDgNoxFEdLWwrxOPVDfdj3k50nzedT2qF7nK7o,19428
|
|
@@ -53,7 +53,7 @@ iam_validator/core/label_manager.py,sha256=48CRASWg98wyjfVF_1pUzj6dm9itzmG7SeIWf
|
|
|
53
53
|
iam_validator/core/models.py,sha256=lXUadIsTpp_j0Vt89Ez7aJkTKs2GD2ty3Ukl2NeY9Zo,15680
|
|
54
54
|
iam_validator/core/policy_checks.py,sha256=FNVuS2GTffwCjjrlupVIazC172gSxKYAAT_ObV6Apbo,8803
|
|
55
55
|
iam_validator/core/policy_loader.py,sha256=iid3mGfDzSXASzKDqbLnrqJHBdVQvvebofVqNImsGKM,29201
|
|
56
|
-
iam_validator/core/pr_commenter.py,sha256=
|
|
56
|
+
iam_validator/core/pr_commenter.py,sha256=hDUzn0eQJ3wlNSVbhMCOm2dlOhbS3Pohf8ZdeUYRlCk,32580
|
|
57
57
|
iam_validator/core/report.py,sha256=uMhUYv-8mNoTMZzD0F2buSQTxr4YIRh8UMZjvFq9tmc,37312
|
|
58
58
|
iam_validator/core/aws_service/__init__.py,sha256=UqMh4HUdGlx2QF5OoueJJ2UlCnhX4QW_x3KeE_bxRQc,735
|
|
59
59
|
iam_validator/core/aws_service/cache.py,sha256=DPuOOPPJC867KAYgV1e0RyQs_k3mtefMdYli3jPaN64,3589
|
|
@@ -99,8 +99,8 @@ iam_validator/utils/__init__.py,sha256=NveA2F3G1E6-ANZzFr7J6Q6u5mogvMp862iFokmYu
|
|
|
99
99
|
iam_validator/utils/cache.py,sha256=wOQKOBeoG6QqC5f0oXcHz63Cjtu_-SsSS-0pTSwyAiM,3254
|
|
100
100
|
iam_validator/utils/regex.py,sha256=xHoMECttb7qaMhts-c9b0GIxdhHNZTt-UBr7wNhWfzg,6219
|
|
101
101
|
iam_validator/utils/terminal.py,sha256=FsRaRMH_JAyDgXWBCOgOEhbS89cs17HCmKYoughq5io,724
|
|
102
|
-
iam_policy_validator-1.14.
|
|
103
|
-
iam_policy_validator-1.14.
|
|
104
|
-
iam_policy_validator-1.14.
|
|
105
|
-
iam_policy_validator-1.14.
|
|
106
|
-
iam_policy_validator-1.14.
|
|
102
|
+
iam_policy_validator-1.14.2.dist-info/METADATA,sha256=63ruVMh-1wI_vzVi2Elo6UC6LlmTbyZ7q1vr_-9n_rg,34456
|
|
103
|
+
iam_policy_validator-1.14.2.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
104
|
+
iam_policy_validator-1.14.2.dist-info/entry_points.txt,sha256=8HtWd8O7mvPiPdZR5YbzY8or_qcqLM4-pKaFdhtFT8M,62
|
|
105
|
+
iam_policy_validator-1.14.2.dist-info/licenses/LICENSE,sha256=AMnbFTBDcK4_MITe2wiQBkj0vg-jjBBhsc43ydC7tt4,1098
|
|
106
|
+
iam_policy_validator-1.14.2.dist-info/RECORD,,
|
iam_validator/__version__.py
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
This file is the single source of truth for the package version.
|
|
4
4
|
"""
|
|
5
5
|
|
|
6
|
-
__version__ = "1.14.
|
|
6
|
+
__version__ = "1.14.2"
|
|
7
7
|
# Parse version, handling pre-release suffixes like -rc, -alpha, -beta
|
|
8
8
|
_version_base = __version__.split("-", maxsplit=1)[0] # Remove pre-release suffix if present
|
|
9
9
|
__version_info__ = tuple(int(part) for part in _version_base.split("."))
|
|
@@ -398,12 +398,15 @@ class PRCommenter:
|
|
|
398
398
|
logger.info("No inline comments to post (after diff filtering)")
|
|
399
399
|
# Still run cleanup to delete any stale comments from resolved findings
|
|
400
400
|
# (unless skip_cleanup is set for streaming mode)
|
|
401
|
+
# Use APPROVE event to dismiss any previous REQUEST_CHANGES review
|
|
401
402
|
if validated_files and self.cleanup_old_comments:
|
|
402
|
-
logger.debug(
|
|
403
|
+
logger.debug(
|
|
404
|
+
"Running cleanup for stale comments and approving PR (no blocking issues)..."
|
|
405
|
+
)
|
|
403
406
|
await self.github.update_or_create_review_comments(
|
|
404
407
|
comments=[],
|
|
405
408
|
body="",
|
|
406
|
-
event=ReviewEvent.
|
|
409
|
+
event=ReviewEvent.APPROVE,
|
|
407
410
|
identifier=self.REVIEW_IDENTIFIER,
|
|
408
411
|
validated_files=validated_files,
|
|
409
412
|
skip_cleanup=False, # Explicitly run cleanup
|
|
@@ -421,7 +424,7 @@ class PRCommenter:
|
|
|
421
424
|
for issue in result.issues
|
|
422
425
|
)
|
|
423
426
|
|
|
424
|
-
event = ReviewEvent.REQUEST_CHANGES if has_blocking_issues else ReviewEvent.
|
|
427
|
+
event = ReviewEvent.REQUEST_CHANGES if has_blocking_issues else ReviewEvent.APPROVE
|
|
425
428
|
logger.info(
|
|
426
429
|
f"Creating PR review with {len(inline_comments)} comments, event: {event.value}"
|
|
427
430
|
)
|
|
File without changes
|
{iam_policy_validator-1.14.1.dist-info → iam_policy_validator-1.14.2.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
{iam_policy_validator-1.14.1.dist-info → iam_policy_validator-1.14.2.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|