[BUG] Issues are not triggered for python application with custom rule analysis #2181
Open
1 task done
Labels
kind/bug
Categorizes issue or PR as related to a bug.
needs-priority
Indicates an issue or PR lacks a `priority/foo` label and requires one.
needs-triage
Indicates an issue or PR lacks a `triage/foo` label and requires one.
Is there an existing issue for this?
Konveyor version
latest
Priority
Major
Current Behavior
Analysis details:
Python Application
git: https://github.com/konveyor/analyzer-lsp, Root path: examples/python
custom rule: python_rules.yaml
analysis mode: source
Analysis log :
analysis.log
Expected result: Rule issues to trigger
Rule file: `message: python sample rule 001
ruleID: python-sample-rule-001
description: sample-rule-1 - this should appear as an issue
effort: 1
when:
python.referenced:
pattern: "hello_world"
ruleID: python-sample-rule-002
description: sample-rule-2 - this should appear as an issue
effort: 5
when:
python.referenced:
pattern: "speak"
ruleID: python-sample-rule-003
description: sample-rule-3 - this should appear as an insight
when:
python.referenced:
pattern: "create_custom_resource_definition"`
How Reproducible
Always (Default)
The text was updated successfully, but these errors were encountered: