Merge branch 'master' of https://github.com/radicallyopensecurity/pentext
This commit is contained in:
@@ -202,11 +202,14 @@ def list_issues(gitserver, options):
|
||||
"""
|
||||
Lists all issues for options['issues']
|
||||
"""
|
||||
for issue in gitserver.project_issues.list(project_id=options['issues'],
|
||||
per_page=999):
|
||||
if issue.state == 'closed' and not options['closed']:
|
||||
continue
|
||||
add_item(issue, options)
|
||||
try:
|
||||
for issue in gitserver.project_issues.list(project_id=options['issues'],
|
||||
per_page=999):
|
||||
if issue.state == 'closed' and not options['closed']:
|
||||
continue
|
||||
add_item(issue, options)
|
||||
except gitlab.exceptions.GitlabListError as exception:
|
||||
print_error('Could not access items ({0})'.format(exception))
|
||||
|
||||
|
||||
def list_projects(gitserver):
|
||||
|
||||
@@ -18,6 +18,8 @@ March 29th, 2017
|
||||
|
||||
In reports, you now have access to the `<finding_count>` placeholder. It takes an optional attribute `@threatLevel` and returns the number of findings with that threatLevel in the report. If no `@threatLevel` attribute is added, it returns the total number of findings in the report. Useful for Results in a Nutshell type of texts.
|
||||
|
||||
Example: `<finding_count threatLevel="Low"/>`
|
||||
|
||||
March 20th, 2017
|
||||
----------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user