diff --git a/CHANGELOG.md b/CHANGELOG.md index 7499ae8..eb0f696 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.0.0-beta.12] - 2024-04-02 + +### Fixed +- `terraform_plan/referenced_by`: Fixed bug where `referenced_by` was not accounting references in another modules +- `terraform_plan/referenced_by`: Now outputs the result per resource instead of a single boolean + + ## [1.0.0-beta.11] - 2024-02-22 ### Fixed diff --git a/setup.py b/setup.py index 9b36283..b80589c 100644 --- a/setup.py +++ b/setup.py @@ -22,7 +22,7 @@ def read(*names, **kwargs): setup( name="py-tirith", - version="1.0.0-beta.11", + version="1.0.0-beta.12", license="Apache", description="Tirith simplifies defining Policy as Code.", long_description_content_type="text/markdown", diff --git a/src/tirith/__init__.py b/src/tirith/__init__.py index 2b281de..c05a55a 100644 --- a/src/tirith/__init__.py +++ b/src/tirith/__init__.py @@ -2,6 +2,6 @@ tirith: Execute policies defined using Tirith (StackGuardian Policy Framework) """ -__version__ = "1.0.0-beta.11" +__version__ = "1.0.0-beta.12" __author__ = "StackGuardian" __license__ = "Apache" diff --git a/src/tirith/cli.py b/src/tirith/cli.py index a0f7172..4815a0a 100755 --- a/src/tirith/cli.py +++ b/src/tirith/cli.py @@ -84,7 +84,7 @@ def __init__(self, prog="PROG") -> None: action="store_true", help="Show detailed logs of from the run", ) - parser.add_argument("--version", action="version", version="1.0.0-beta.11") + parser.add_argument("--version", action="version", version="1.0.0-beta.12") args = parser.parse_args() diff --git a/tests/providers/terraform_plan/test_direct_references.py b/tests/providers/terraform_plan/test_direct_references.py index 1c87651..293d63a 100644 --- a/tests/providers/terraform_plan/test_direct_references.py +++ b/tests/providers/terraform_plan/test_direct_references.py @@ -233,4 +233,5 @@ def test_direct_referenced_by_should_fail_when_the_resource_isnt_found_in_resour assert len(result) == 1 assert result[0]["value"] is False + # TODO: Add tests for using the resources inside a recursive tf modules