Commit Graph

11887 Commits

Author SHA1 Message Date
Shengwen YU
672ec4adab
fix: update migrate tc (#20677)
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2024-06-28 13:33:38 +08:00
Shengwen YU
1977d7b59c
upgrade golang to 1.22.4 and bump up dep (#20662)
fix: upgrade golang to 1.22.4
fix: upgrade trivy version
fix: upgrade go mod dep

Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2024-06-27 20:45:34 +08:00
Shengwen YU
9337b0c9f9
Bump up version to v2.9.5 (#20657)
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2024-06-25 15:38:40 +08:00
stonezdj(Daojun Zhang)
78012c9ac6
[cherry-pick] Adjust the query by UUID sql so that it can use the idx_task_extra_at… (#20552)
Adjust the query by UUID sql so that it can use the idx_task_extra_attrs_report_uuids

 fixes #20505

Signed-off-by: stonezdj <stone.zhang@broadcom.com>
2024-06-06 07:43:46 +00:00
Shengwen YU
64e4c85273
fix: update doublestar dep (#20443)
* fix: update doublestar dep

Signed-off-by: Shengwen Yu <yshengwen@vmware.com>

* update api_common_install.sh

Signed-off-by: Shengwen Yu <yshengwen@vmware.com>

---------

Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2024-05-20 15:42:27 +08:00
Shengwen YU
a6d707df44
Refresh bash image (#20275)
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2024-04-15 17:07:32 +08:00
Shengwen YU
013afefba4
fix: update version of some dependencies (#20268)
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2024-04-12 15:00:07 +08:00
MinerYang
0e140b075f
bump golang 1.21.9 on release-2.9.0 (#20263)
Signed-off-by: yminer <yminer@vmware.com>
2024-04-12 10:55:43 +08:00
Shengwen YU
293caead17
fix: update version to v2.9.4 (#20262)
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2024-04-11 14:21:31 +08:00
Shengwen YU
442025a313
fix: add 400 response code for /scan/{report_id}/log (#20242)
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2024-04-08 13:11:38 +08:00
stonezdj(Daojun Zhang)
0339b820b9
[cherry-pick] Allow empty path in redirect_url (#20236)
Allow empty path in redirect_url

  fixes #20226

Signed-off-by: stonezdj <daojunz@vmware.com>
Co-authored-by: stonezdj <daojunz@vmware.com>
2024-04-08 12:52:47 +08:00
Shengwen YU
289a3785b4
fix: close file (#20221)
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2024-04-03 15:28:42 +08:00
Shengwen YU
e7c94f86ac
fix: update TRIVYVERSION=v0.50.1 && TRIVYADAPTERVERSION=v0.30.23 (#20211)
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2024-04-03 13:37:54 +08:00
MinerYang
90028a497a
bump golang 1.21.8 on release-2.9.0 (#20196)
Signed-off-by: yminer <yminer@vmware.com>
2024-04-01 14:50:13 +08:00
stonezdj(Daojun Zhang)
8d9f7f50b1
[cherry-pick] panic due to mark retention task error (#20170)
panic due to mark retention task error

fixes #20129

Signed-off-by: stonezdj <daojunz@vmware.com>
Co-authored-by: stonezdj <daojunz@vmware.com>
2024-03-26 06:10:55 +00:00
Shengwen YU
ccfc3f8eaf
fix: assign metas to key and value (#20126)
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2024-03-14 17:12:04 +08:00
Shengwen YU
f65d2380ac
fix: update go.mod (vendor) & golangci-lint & mocks (#20070)
* fix: update go.mod

Signed-off-by: Shengwen Yu <yshengwen@vmware.com>

* fix: update vendor files

Signed-off-by: Shengwen Yu <yshengwen@vmware.com>

* fix: update code to comply for golangci-lint

Signed-off-by: Shengwen Yu <yshengwen@vmware.com>

* fix: update per "make mocks_check"

Signed-off-by: Shengwen Yu <yshengwen@vmware.com>

---------

Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2024-03-04 13:55:17 +08:00
Shengwen YU
2196ba7953
Refresh base images on release-2.9.0 (#20047)
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2024-02-28 17:18:57 +08:00
stonezdj(Daojun Zhang)
5b78c3f7e4
Move strong_ssl_ciphers to top level in harbor.yml (#20021)
Move strong_ssl_ciphers to top level in harbor.yaml

  fixes #19912

Signed-off-by: stonezdj <stonezdj@gmail.com>
Signed-off-by: stonezdj <daojunz@vmware.com>
Co-authored-by: stonezdj <daojunz@vmware.com>
2024-02-26 17:47:03 +08:00
stonezdj(Daojun Zhang)
9115b9f34f
[cherry-pick] Limit URL to local site (#20023)
Limit url to local path

Signed-off-by: stonezdj <daojunz@vmware.com>
Co-authored-by: stonezdj <daojunz@vmware.com>
2024-02-26 11:27:42 +08:00
Shengwen YU
3356196fab
Refresh base images on release-2.9.0 (#20005)
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2024-02-21 16:06:00 +08:00
Shengwen YU
ce85f470ca
[Cherry-pick] feat: enable configuration of skip_java_db_update (#19997)
feat: enable configuration of skip_java_db_update

Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2024-02-21 10:14:17 +08:00
Shengwen YU
a79c5da4d9
update retry of get_scan_data_export_execution from 5 to 15 (#19958)
* update retry of get_scan_data_export_execution from 5 to 10

Signed-off-by: Shengwen Yu <yshengwen@vmware.com>

* update retry of get_scan_data_export_execution to 15

Signed-off-by: Shengwen Yu <yshengwen@vmware.com>

---------

Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2024-02-11 20:24:49 +09:00
MinerYang
dfb317bb55
reverse ip_family config for release-2.9 (#19951)
Signed-off-by: yminer <yminer@vmware.com>
2024-02-06 17:26:21 +08:00
Shengwen YU
bf20baf576
Bump up version to v2.9.3 (#19943)
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2024-02-02 17:36:46 +08:00
Shengwen YU
d156797a65
Refresh base images on release-2.9.0 (#19941)
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2024-02-02 16:28:19 +08:00
MinerYang
a243bec230
add ip_family config in values.yaml on release-2.9.0 (#19940)
add ipFamily config in values.yaml

Signed-off-by: yminer <yminer@vmware.com>

update name

update prepare and migration

update comments

Signed-off-by: yminer <yminer@vmware.com>

remove print msg

update migrate template

update default value

add validation and migrate template

remove validation

update migrate template comments
2024-02-02 15:00:36 +08:00
Shengwen YU
d990529c20
fix: change filter_label_xpath to vulnerabilities_filter_label_xpath … (#19930)
fix: change filter_label_xpath to vulnerabilities_filter_label_xpath for "Select Filter Label For CVE Export"

Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2024-02-02 14:07:40 +08:00
Shengwen YU
24bbad13f0
fix: cve export label filter xpath (#19913)
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2024-01-27 09:19:52 +08:00
Wang Yan
5d27ccf7bb
[cherry-pick] ] support accessory in either order (#19906)
* remove the log for ScannerSkipUpdatePullTime

fixes #19795, remove the noise in the log

Signed-off-by: wang yan <wangyan@vmware.com>

* support accessor in either order

In certain cases, the OCI client may push the subject artifact and accessory in either order.
Therefore, it is necessary to handle situations where the client pushes the accessory ahead of the subject artifact.

Signed-off-by: wang yan <wangyan@vmware.com>

* fix issue 19392

Needs to set the repo when to handle the accessory before subject manifest.

Signed-off-by: wang yan <wangyan@vmware.com>

* fix the landing accessory data (#19661)

Fix the keywords when to list accessories belong to the subject manifest.

Signed-off-by: wang yan <wangyan@vmware.com>

---------

Signed-off-by: wang yan <wangyan@vmware.com>
2024-01-25 12:54:05 +08:00
MinerYang
8bd8c6d10c
[cherry-pick]add v6 port for nginx ad portal config (#19893)
add v6 port for nginx ad portal config

Signed-off-by: yminer <yminer@vmware.com>
2024-01-24 16:46:04 +08:00
Yang Jiao
d378663379
[cherry-pick]Update replication rule filter label xpath (#19901)
Update replication rule filter label xpath

Signed-off-by: Yang Jiao <yang.jiao@broadcom.com>
2024-01-24 16:01:40 +08:00
Yang Jiao
f7b1472224
Fix Init Chrome Driver error (#19900)
Because the new version of Chrome Driver initializes differently than the old version

Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2024-01-24 15:25:20 +08:00
Shengwen YU
9731fddb2f
Refresh base images on release-2.9.0 (#19891)
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2024-01-23 13:24:29 +08:00
Yang Jiao
58892aeda2
[cherry-pick]fix label select bugs (#19850) (#19861)
fix label select bugs (#19850)

Signed-off-by: shengqiw <shengqiw@vmware.com>
Co-authored-by: ShengqiWang <124650040+ShengqiWang@users.noreply.github.com>
2024-01-19 07:46:32 +00:00
Shengwen YU
9091d395b2
fix: update to TRIVYVERSION=v0.48.3 and TRIVYADAPTERVERSION=v0.30.21 (#19857)
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2024-01-19 10:02:14 +08:00
Yang Jiao
5bda4b77b8
Refresh base images on release-2.9.0 (#19851)
Signed-off-by: Yang Jiao <yang.jiao@broadcom.com>
2024-01-17 14:07:06 +08:00
Yang Jiao
db06a72d10
Bump up version to v2.9.2 (#19848)
Signed-off-by: Yang Jiao <yang.jiao@broadcom.com>
2024-01-16 13:44:14 +08:00
Wang Yan
b54b373757
[cherry-pick]remove the log for ScannerSkipUpdatePullTime (#19847)
remove the log for ScannerSkipUpdatePullTime

fixes #19795, remove the noise in the log

Signed-off-by: wang yan <wangyan@vmware.com>
2024-01-16 09:36:22 +08:00
Maksym Trofimenko
8d0c8d4bec
[Cherry pick] add repository read permission to limitedGuest (#19815)
add repository read permission to limitedGuest

Signed-off-by: Maksym Trofimenko <maksym@container-registry.com>
Co-authored-by: Maksym Trofimenko <maksym@container-registry.com>
2024-01-15 16:28:46 +08:00
stonezdj(Daojun Zhang)
84d7f17b6f
[cherry-pick] Cache image list with digest key (#19837)
Cache image list with digest key

  fixes #19429

Signed-off-by: stonezdj <daojunz@vmware.com>
Co-authored-by: stonezdj <daojunz@vmware.com>
2024-01-15 13:45:30 +08:00
Yang Jiao
8afce30617
[cherry-pick]Add multi-tier accessory replication test cases (#19737)
Add multi-tier accessory replication test cases

Fix #19275

Signed-off-by: Yang Jiao <yang.jiao@broadcom.com>
Co-authored-by: Yang Jiao <yang.jiao@broadcom.com>
2023-12-20 15:31:39 +08:00
Yang Jiao
5c6ed12a41
[cherry-pick]Add notation replication test case (#19740)
Add notation replication test case

Fix #19548

Signed-off-by: Yang Jiao <yang.jiao@broadcom.com>
Co-authored-by: Yang Jiao <yang.jiao@broadcom.com>
2023-12-20 15:30:55 +08:00
Yang Jiao
b622d4adad
[cherry-pick]Add user API test case (#19637)
Add user API test case

Fix #19280

Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-11-28 16:40:46 +08:00
Yang Jiao
dcc9e148e8
[cherry-pick]Add jump to CNAB Bundle index artifact list test case (#19628)
Add jump to CNAB Bundle index artifact list test case

Fix #19278

Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-11-27 18:26:38 +08:00
Yang Jiao
c9ce48a9e8
[cherry-pick]Add notation pull policy test case (#19626)
Add notation pull policy test case

Fix #19547

Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-11-27 17:35:03 +08:00
Yang Jiao
5e7704853d
[cherry-pick]Add notation accessory copy test case (#19606)
Add notation accessory copy test case

Fix #19546

Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-11-22 18:14:13 +08:00
stonezdj(Daojun Zhang)
d85ebd7f24
[cherry-pick] Allow POST method to request service/token in readonly mode (#19563)
Allow POST method to request service/token in readonly mode

  fixes #18243

Signed-off-by: stonezdj <daojunz@vmware.com>
2023-11-13 10:50:09 +08:00
Yang Jiao
4d2a8fbcf6
[cherry-pick]Add notation sign artifact API test case (#19550)
Add notation sign artifact  API test case

Fix #19545

Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-11-07 08:32:16 +00:00
Yang Jiao
35512d7f6f
[cherry-pick]Add banner message UI test case (#19530)
Add banner message UI test case

Fix #19272

Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-11-06 10:51:31 +08:00