Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
defectdojo_api
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Raul Barreras
defectdojo_api
Commits
f0212bcc
Commit
f0212bcc
authored
7 years ago
by
Aaron Weaver
Browse files
Options
Downloads
Patches
Plain Diff
wildcard search for tools
parent
c5a53bd8
Branches
Branches containing commit
Tags
1.1.0
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
defectdojo_api/__init__.py
+1
-1
1 addition, 1 deletion
defectdojo_api/__init__.py
defectdojo_api/defectdojo.py
+4
-1
4 additions, 1 deletion
defectdojo_api/defectdojo.py
with
5 additions
and
2 deletions
defectdojo_api/__init__.py
+
1
−
1
View file @
f0212bcc
__version__
=
'
1.
0.9
'
__version__
=
'
1.
1.0
'
This diff is collapsed.
Click to expand it.
defectdojo_api/defectdojo.py
+
4
−
1
View file @
f0212bcc
...
...
@@ -832,7 +832,7 @@ class DefectDojoAPI(object):
return
self
.
_request
(
'
GET
'
,
'
tool_types/
'
,
params
)
def
list_tools
(
self
,
resource_id
=
None
,
name
=
None
,
tool_type_id
=
None
,
url
=
None
,
limit
=
20
):
def
list_tools
(
self
,
resource_id
=
None
,
name
=
None
,
tool_type_id
=
None
,
url
=
None
,
name_icontains
=
None
,
limit
=
20
):
"""
Retrieves all the tool configurations.
:param name_contains: Search by tool name.
...
...
@@ -858,6 +858,9 @@ class DefectDojoAPI(object):
if
tool_type_id
:
params
[
'
url__contains
'
]
=
tool_type_id
if
name_icontains
:
params
[
'
name__icontains
'
]
=
name_icontains
return
self
.
_request
(
'
GET
'
,
'
tool_configurations/
'
,
params
)
def
list_tool_products
(
self
,
resource_id
=
None
,
url
=
None
,
name
=
None
,
tool_configuration_id
=
None
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment