Skip to content

Analysis fails with custom rules fetched from a repository #167

@dymurray

Description

@dymurray

Description of problem:

 When the user tries to analyze an application with custom rules fetched from a  git remote repository, the analysis fails instantly.

Version-Release number of selected component (if applicable): 0.8.0 

How reproducible: Always 

Steps to Reproduce:

  1. Create an application (https://github.com/ibraginsky/book-server)
  2. Analyze it, select no target, and provide the following values in the custom rules from a remote repository:

URL: https://github.com/abrugaro/book-server.git
Branch: yaml-rules
Root path: yaml-rules

Actual results:

The analysis fails instantly. 

Expected results:

 The analysis should complete, even if there are no rules triggered.

Metadata

Metadata

Assignees

Labels

needs-kindIndicates an issue or PR lacks a `kind/foo` label and requires one.needs-priorityIndicates an issue or PR lacks a `priority/foo` label and requires one.needs-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.

Type

No type

Projects

Status

✅ Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions