Not Getting Code Snippet for "Python.Referenced" capability in violation incidents #506
Closed
1 task done
Labels
kind/bug
Categorizes issue or PR as related to a bug.
priority/backlog
Higher priority than priority/awaiting-more-evidence.
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
Is there an existing issue for this?
Konveyor version
v0.3.0
Priority
Critical
Current Behavior
Example app : https://github.com/konveyor/analyzer-lsp/tree/main/examples/python
Example Rule :
ruleID: python-sample-rule-001
description: "Discover testing"
tag: ["python"]
labels:
when:
python.referenced:
location: METHOD_CALL
pattern: "hello_world"
Associated Output:
tags:
violations:
python-sample-rule-001:
description: Discover testing
category: potential
labels:
incidents:
message: python sample rule 001
lineNumber: 2
variables:
file: file:///analyzer-lsp/examples/python/file_a.py
Expected Behavior
Code snippet should present in output under incidents block .
How Reproducible
Always (Default)
Steps To Reproduce
No response
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: