mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-22 16:48:30 +01:00
[Night] add case about trivy
` Signed-off-by: Yogi_Wang <yawang@vmware.com>
This commit is contained in:
parent
eebcc8fc9a
commit
24b57715ab
@ -5,7 +5,7 @@
|
||||
.rightPos{
|
||||
position: absolute;
|
||||
z-index: 100;
|
||||
right: 35px;
|
||||
right: 0;
|
||||
margin-top: 1.25rem;
|
||||
}
|
||||
|
||||
|
@ -106,7 +106,7 @@ export const USERSTATICPERMISSION = {
|
||||
}
|
||||
},
|
||||
"REPOSITORY_ARTIFACT_LABEL": {
|
||||
'KEY': 'repository-artifact-label',
|
||||
'KEY': 'artifact-label',
|
||||
'VALUE': {
|
||||
"CREATE": "create",
|
||||
"DELETE": "delete",
|
||||
|
@ -59,18 +59,17 @@ Test Case - Scan As An Unprivileged User
|
||||
Select Object latest
|
||||
Scan Is Disabled
|
||||
Close Browser
|
||||
# # chose a emptyVul repo
|
||||
# Test Case - Scan Image With Empty Vul
|
||||
# Init Chrome Driver
|
||||
# Push Image ${ip} ${HARBOR_ADMIN} ${HARBOR_PASSWORD} library vmware/photon:1.0
|
||||
# Sign In Harbor ${HARBOR_URL} ${HARBOR_ADMIN} ${HARBOR_PASSWORD}
|
||||
# Go Into Project library
|
||||
# Go Into Repo vmware/photon
|
||||
# # Go Into Repo busybox
|
||||
# Scan Repo 1.0 Succeed
|
||||
# Move To Summary Chart
|
||||
# Wait Until Page Contains No vulnerability
|
||||
# Close Browser
|
||||
# chose a emptyVul repo
|
||||
Test Case - Scan Image With Empty Vul
|
||||
Init Chrome Driver
|
||||
Push Image ${ip} ${HARBOR_ADMIN} ${HARBOR_PASSWORD} library photon:2.0_scan
|
||||
Sign In Harbor ${HARBOR_URL} ${HARBOR_ADMIN} ${HARBOR_PASSWORD}
|
||||
Go Into Project library
|
||||
Go Into Repo library/photon
|
||||
Scan Repo 2.0 Succeed
|
||||
Move To Summary Chart
|
||||
Wait Until Page Contains No vulnerability
|
||||
Close Browser
|
||||
Test Case - Manual Scan All
|
||||
Init Chrome Driver
|
||||
Push Image ${ip} ${HARBOR_ADMIN} ${HARBOR_PASSWORD} library redis
|
||||
|
Loading…
Reference in New Issue
Block a user