Skip to content

[SG-4917] feat(terraform_plan): name the resource and attribute in result messages - #286

Closed
refeed wants to merge 2 commits into
mainfrom
feat/result-message-context
Closed

[SG-4917] feat(terraform_plan): name the resource and attribute in result messages#286
refeed wants to merge 2 commits into
mainfrom
feat/result-message-context

test(terraform_plan): build the context policies inline instead of us…

ecfc90d
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis cancelled Aug 28, 2026 in 23s

SonarQube Cloud analysis failed

❌ The last analysis has failed.

See analysis details on SonarQube Cloud

Annotations

Check warning on line 117 in src/tirith/core/core.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this constructor call with a literal.

See more on https://sonarcloud.io/project/issues?id=StackGuardian_policy-framework&issues=AaBHm3NYf88RLafToKGR&open=AaBHm3NYf88RLafToKGR&pullRequest=286

Check warning on line 286 in src/tirith/core/core.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace chained "endswith" calls with a single call using a tuple argument.

See more on https://sonarcloud.io/project/issues?id=StackGuardian_policy-framework&issues=AaBHm3NYf88RLafToKGU&open=AaBHm3NYf88RLafToKGU&pullRequest=286

Check warning on line 240 in src/tirith/core/core.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this commented out code.

See more on https://sonarcloud.io/project/issues?id=StackGuardian_policy-framework&issues=AaBHm3NYf88RLafToKGT&open=AaBHm3NYf88RLafToKGT&pullRequest=286

Check warning on line 60 in src/tirith/providers/terraform_plan/handler.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this commented out code.

See more on https://sonarcloud.io/project/issues?id=StackGuardian_policy-framework&issues=AaBHm3Lvf88RLafToKGP&open=AaBHm3Lvf88RLafToKGP&pullRequest=286

Check warning on line 112 in src/tirith/core/core.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this constructor call with a literal.

See more on https://sonarcloud.io/project/issues?id=StackGuardian_policy-framework&issues=AaBHm3NYf88RLafToKGQ&open=AaBHm3NYf88RLafToKGQ&pullRequest=286

Check warning on line 2 in tests/core/test_core.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Import "pytest" as a module.

See more on https://sonarcloud.io/project/issues?id=StackGuardian_policy-framework&issues=AaBHm3Nuf88RLafToKGW&open=AaBHm3Nuf88RLafToKGW&pullRequest=286

Check failure on line 44 in src/tirith/providers/terraform_plan/handler.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 28 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=StackGuardian_policy-framework&issues=AaBHm3Lvf88RLafToKGO&open=AaBHm3Lvf88RLafToKGO&pullRequest=286

Check warning on line 12 in tests/providers/terraform_plan/test_message_context.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Import "pytest" as a module.

See more on https://sonarcloud.io/project/issues?id=StackGuardian_policy-framework&issues=AaBHm3Nhf88RLafToKGV&open=AaBHm3Nhf88RLafToKGV&pullRequest=286

Check warning on line 7 in src/tirith/providers/common.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this constructor call with a literal.

See more on https://sonarcloud.io/project/issues?id=StackGuardian_policy-framework&issues=AaBHm3Hff88RLafToKGN&open=AaBHm3Hff88RLafToKGN&pullRequest=286

Check warning on line 122 in src/tirith/core/core.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this constructor call with a literal.

See more on https://sonarcloud.io/project/issues?id=StackGuardian_policy-framework&issues=AaBHm3NYf88RLafToKGS&open=AaBHm3NYf88RLafToKGS&pullRequest=286