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
47dd8bfe
Commit
47dd8bfe
authored
9 months ago
by
bonmari
Browse files
Options
Download
Patches
Plain Diff
grte
parent
8709f479
main
ci-cd
fix-ci
master
1 merge request
!1
Ci cd
Pipeline
#153429
passed with stage
in 4 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+1
-6
.gitlab-ci.yml
with
1 addition
and
6 deletions
+1
-6
.gitlab-ci.yml
+
1
−
6
View file @
47dd8bfe
...
...
@@ -43,12 +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") {
$scanStatus = (Invoke-RestMethod -Method GET -Uri "http://localhost:8080/JSON/ascan/view/status/?apikey=$env:API_KEY").Content
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