Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
55e29602
Commit
55e29602
authored
Dec 15, 2021
by
Paul Gascou-Vaillancourt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update site profiles mock data
parent
13be71af
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
ee/spec/frontend/on_demand_scans_form/mocks/mock_data.js
ee/spec/frontend/on_demand_scans_form/mocks/mock_data.js
+8
-3
No files found.
ee/spec/frontend/on_demand_scans_form/mocks/mock_data.js
View file @
55e29602
import
{
REDACTED_PASSWORD
,
REDACTED_REQUEST_HEADERS
,
}
from
'
ee/security_configuration/dast_profiles/dast_site_profiles/constants
'
;
export
const
policyScannerProfile
=
{
export
const
policyScannerProfile
=
{
id
:
'
gid://gitlab/DastScannerProfile/3
'
,
id
:
'
gid://gitlab/DastScannerProfile/3
'
,
profileName
:
'
Scanner profile #3
'
,
profileName
:
'
Scanner profile #3
'
,
...
@@ -25,10 +30,10 @@ export const siteProfiles = [
...
@@ -25,10 +30,10 @@ export const siteProfiles = [
usernameField
:
'
username
'
,
usernameField
:
'
username
'
,
passwordField
:
'
password
'
,
passwordField
:
'
password
'
,
username
:
'
admin
'
,
username
:
'
admin
'
,
password
:
'
password
'
,
password
:
REDACTED_PASSWORD
,
},
},
excludedUrls
:
[
'
https://foo.com/logout
'
,
'
https://foo.com/send_mail
'
],
excludedUrls
:
[
'
https://foo.com/logout
'
,
'
https://foo.com/send_mail
'
],
requestHeaders
:
'
log-identifier: dast-active-scan
'
,
requestHeaders
:
REDACTED_REQUEST_HEADERS
,
referencedInSecurityPolicies
:
[],
referencedInSecurityPolicies
:
[],
},
},
{
{
...
@@ -47,7 +52,7 @@ export const siteProfiles = [
...
@@ -47,7 +52,7 @@ export const siteProfiles = [
username
:
'
admin
'
,
username
:
'
admin
'
,
},
},
excludedUrls
:
[
'
https://bar.com/logout
'
],
excludedUrls
:
[
'
https://bar.com/logout
'
],
requestHeaders
:
'
auth: gitlab-dast
'
,
requestHeaders
:
REDACTED_REQUEST_HEADERS
,
referencedInSecurityPolicies
:
[],
referencedInSecurityPolicies
:
[],
},
},
];
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment