Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Бондаренко Марина Витальевна
SDL
Commits
1eaaf40a
Commit
1eaaf40a
authored
10 months ago
by
bonmari
Browse files
Options
Download
Patches
Plain Diff
temp
parent
542bcbe3
main
ci-cd
fix-ci
master
1 merge request
!1
Ci cd
Pipeline
#153452
passed with stage
in 10 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+1
-7
.gitlab-ci.yml
with
1 addition
and
7 deletions
+1
-7
.gitlab-ci.yml
+
1
−
7
View file @
1eaaf40a
...
...
@@ -43,13 +43,7 @@ test-zap:
-
Invoke-RestMethod -Method GET -Uri "http://localhost:8080/JSON/ascan/action/scan/?url=http://localhost:9005&apikey=8tm221jcqtolmprhbt2dq2q8ev"
-
|
$scanStatus = ''
while ($scanStatus -ne "100") {
Write-Output "Scanning"
$scanStatus = (Invoke-RestMethod -Method GET -Uri "http://localhost:8080/JSON/ascan/view/status/?apikey=8tm221jcqtolmprhbt2dq2q8ev")
Write-Output $scanStatus
Start-Sleep -Seconds 5
}
$results = Invoke-RestMethod -Method GET -Uri "http://localhost:8080/JSON/core/view/alerts/?baseurl=http://localhost:9005&apikey=8tm221jcqtolmprhbt2dq2q8ev"
Write-Output $results.Content
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
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
Menu
Explore
Projects
Groups
Topics
Snippets