PyCQA / PyCQA/bandit

missing expected elements (e.g. errors, failures, testcase list, ... ) if no failures in xml output file

Open
#634 4 comments 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
8.3k
Forks
836
Avg merge
5d 3h
Merged PRs (30d)
1

Description

Several build tools require that the output files from various code analysis tools be in the junit-xml format. I can see how to output to xml using bandit, but not to junit xml format. Is there support for this?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue does not name files or tests. Start by tracing Bandit's existing XML output and comparing it with the required JUnit XML structure; done means Bandit can emit complete JUnit-compatible output, including expected elements when there are no failures.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
security, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.