Commit Graph

12159 Commits

Author SHA1 Message Date
Daniel Jiang
df19cb1777
Bump up Trivy Adapter for v2.11.x (#21181)
Signed-off-by: Daniel Jiang <daniel.jiang@broadcom.com>
2024-11-14 03:38:52 +00:00
miner
71fab185a6
bump up dependency on release-2.11.0 (#21180)
bump up dependency

Signed-off-by: yminer <miner.yang@broadcom.com>
Co-authored-by: yminer <miner.yang@broadcom.com>
2024-11-14 10:42:11 +08:00
Hajnal Máté
5d2b1ec502
[Cherrypick to v2.11] bump up beego to v2.2.1 (#20555) (#21000)
bump up beego v2.2.1

Signed-off-by: Mate Hajnal <hajnalmt@gmail.com>
Co-authored-by: MinerYang <yminer@vmware.com>
2024-11-13 17:29:21 +08:00
miner
3c7748e819
fix gpg sign build package release-2.11.0 (#21178)
Signed-off-by: yminer <miner.yang@broadcom.com>
Co-authored-by: yminer <miner.yang@broadcom.com>
2024-11-13 15:24:45 +08:00
miner
5593caf37e
bump version 2.11.2 (#21177)
Signed-off-by: yminer <miner.yang@broadcom.com>
Co-authored-by: yminer <miner.yang@broadcom.com>
2024-11-13 12:32:26 +08:00
miner
0090e9b7f3
disable gpg sign for release-2.11.0 (#21168)
Signed-off-by: yminer <miner.yang@broadcom.com>
2024-11-13 11:20:01 +08:00
miner
f7f4b037e4
replace cicd to registry.goharbor.io on release-2.11.0 (#21171)
replace cicd to registry.goharbor.io

Signed-off-by: yminer <miner.yang@broadcom.com>
Co-authored-by: yminer <miner.yang@broadcom.com>
2024-11-12 19:07:12 +08:00
miner
548d30f554
bump golang to 1.22.9 on release-2.11 (#21167)
Signed-off-by: yminer <miner.yang@broadcom.com>
2024-11-12 13:29:40 +08:00
miner
077a7a249b
refersh base release-2.11.0 (#21166)
Signed-off-by: yminer <miner.yang@broadcom.com>
Co-authored-by: yminer <miner.yang@broadcom.com>
2024-11-12 13:15:27 +08:00
Daniel Jiang
cdbef9d4d3
[Cherrypick to v2.11]add Test Case for SBOM feature (#20797) (#20886)
add Test Case for SBOM feature (#20797)

Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
Co-authored-by: Shengwen YU <yshengwen@vmware.com>
2024-08-30 10:17:34 +08:00
Shengwen YU
6b7ecba1b1
fix: bump trivy-adapter version to v0.31.4 and trivy version to v0.54.1; (#20854)
and bump up base image

Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2024-08-15 17:51:17 +08:00
Shengwen YU
b939f60c91
fix: bump up golang to v1.22.6 (#20839)
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2024-08-12 18:41:01 +08:00
stonezdj(Daojun Zhang)
a0d40922c8
[cherry-pick] Check create when fire the artifact event (#20838)
Check create when fire the artifact event

  fixes #20828

Signed-off-by: stonezdj <stone.zhang@broadcom.com>
2024-08-12 14:07:54 +08:00
Shengwen YU
6095188ad5
Bump up version to v2.11.1 (#20827)
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2024-08-12 11:45:13 +08:00
Wang Yan
ff3e16a387
remove migrate patch (#20834)
cherry pick #20619

Signed-off-by: wang yan <wangyan@vmware.com>
2024-08-12 10:26:10 +08:00
Shengwen YU
a3ec51f628
Refresh base images (#20826)
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2024-08-09 13:59:52 +08:00
Wang Yan
a3c69a6ff9
cherry-pick #20603 (#20824)
Signed-off-by: wang yan <wangyan@vmware.com>
2024-08-08 19:47:01 +08:00
Lichao Xue
73736afd4f
cherry-pick: Fixes-20799 can't remove artifact labels (#20817)
Fixes-20799 can't remove artifact labels

Signed-off-by: xuelichao <xuel@vmware.com>
2024-08-07 14:52:02 +08:00
Wang Yan
dfcba09e7f
[cherry-pick ]Release 2.11.0 cp 20803 (#20814)
* add list project arifacts API

This API supports listing all artifacts belonging to a specified project. It also allows fetching the latest artifact
in each repositry, with the option to filter by either media_type or artifact_type.

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

* resolve the comments

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

* fix testing failures

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

---------

Signed-off-by: wang yan <wangyan@vmware.com>
2024-08-07 13:57:32 +08:00
Shengwen YU
14f98c0d7e
[cherry-pick] fix: add quote to dockerhub cred (#20694)
fix: add quote to dockerhub cred in case it contains specical characters
which will be failed to run the publish release github action job
regarding publishImages

Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2024-07-15 18:16:07 +08:00
stonezdj(Daojun Zhang)
3b49c97d74
[cherry-pick] Change the log message when PostScan failed. (#20699)
Change the log message when PostScan failed.

  fixes #20573
  remove s from additions/sboms in the link

Signed-off-by: stonezdj <stone.zhang@broadcom.com>
2024-07-04 19:53:00 +08:00
Shengwen YU
82c9f9c88d
fix: update migrate tc (#20678)
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2024-07-01 13:44:10 +08:00
Chlins Zhang
04e360660b
[cherry-pick] fix: disable the scan related button when installation without scanner or scanner deactived (#20661)
fix: disable the scan related button when installation without scanner or scanner deactived

Signed-off-by: chlins <chlins.zhang@gmail.com>
2024-06-26 12:45:48 +08:00
stonezdj(Daojun Zhang)
08e5553536
[cherry-pick] Add translation for zh_CN (#20634)
Add translation for zh_CN

  add sbom translation for zh_CN

Signed-off-by: stonezdj <stone.zhang@broadcom.com>
2024-06-21 15:19:49 +08:00
stonezdj(Daojun Zhang)
434b1afb57
[cherry-pick] Add menu item for ko_KR local (#20633)
Add menu item for ko_KR local

  fixes #20600

Signed-off-by: stonezdj <stone.zhang@broadcom.com>
2024-06-20 15:50:34 +08:00
stonezdj(Daojun Zhang)
5a069939d4
[cherry-pick] Use internal registry url to push artifact accessory (#20581)
Use internal registry url to push artifact accessory

  fixes #20565

Signed-off-by: stonezdj <stone.zhang@broadcom.com>
2024-06-13 22:12:43 +08:00
stonezdj(Daojun Zhang)
70255684c5
[cherry-pick] Adjust the query by UUID sql so that it can use the idx_task_extra_at… (#20546)
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-04 18:29:53 +08:00
Lichao Xue
81fcc0a4eb
Fixes-20537 SBOM tab should not exist when the artifact is helm package (#20539)
Fixes-20537 SBOM tab should not exist when the artifact is helm package #20538

Signed-off-by: xuelichao <xuel@vmware.com>
2024-06-03 19:45:02 +08:00
stonezdj(Daojun Zhang)
2b271701b0
[cherry-pick] No sbom_overview when sbom is deleted (#20534)
No sbom_overview when sbom is deleted

fixes #20529

Signed-off-by: stonezdj <stone.zhang@broadcom.com>
2024-06-03 13:38:23 +08:00
stonezdj(Daojun Zhang)
33de1ad805
[cherry-pick] Response an error message when there is incomplete sbom generate job (#20527)
Response an error message when there is incomplete sbom generate job

Signed-off-by: stonezdj <stone.zhang@broadcom.com>
2024-05-31 16:23:06 +08:00
Wang Yan
eeec10387b
[cherry-pick] fix http client to push sbom accessory (#20528)
fix http client to push sbom accessory

Signed-off-by: wang yan <wangyan@vmware.com>
2024-05-31 16:19:39 +08:00
Wang Yan
99440599ea
[cherry-pick] fix 20518 (#20522)
fix 20518

fixes #20518
Since there is no report for the replicated artifact, update to use the artifact id to remove accessories.

Signed-off-by: wang yan <wangyan@vmware.com>
2024-05-30 19:38:59 +08:00
Lichao Xue
7c18987c39
Fix UI bugs - Pagination is missing on tag immutability rules (#20520)
Fix UI bugs - Pagination is missing on tag immutability rules #20501

Signed-off-by: xuelichao <xuel@vmware.com>
2024-05-30 18:18:38 +08:00
Wang Yan
614bf40a5d
tls support for pushing sbom (#20515)
Make it supports the tls configuration for the client for pushing sbom object

Signed-off-by: wang yan <wangyan@vmware.com>
2024-05-30 17:40:20 +08:00
Wang Yan
723abc6167
[cherry-pick] fix 20496 (#20509)
fix 20496

fixes #20496

Harbor will reserve one SBOM accessory artifact for each subject artifact. Ensure all existing SBOMs are removed before generating the next set.

Signed-off-by: wang yan <wangyan@vmware.com>
2024-05-29 17:44:50 +08:00
stonezdj(Daojun Zhang)
103eb42bd7
[cherry-pick] Fix tooltip issue related to SBOM.Details (#20511)
Fix tooltip issue related to SBOM.Details

Signed-off-by: stonezdj <stone.zhang@broadcom.com>
2024-05-29 17:28:24 +08:00
stonezdj(Daojun Zhang)
26eb63b1b0
[cherry-pick] Separate the execution vendor type sbom from image_scan (#20508)
Separate the execution vendor type sbom from image_scan

  Add vendor type SBOM for execution
  fixes #20495

Signed-off-by: stonezdj <stone.zhang@broadcom.com>
2024-05-29 15:45:33 +08:00
Shengwen YU
14f9af09c5
Bump up base image (#20507)
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2024-05-29 13:38:05 +08:00
stonezdj(Daojun Zhang)
e2826868ee
[cherry-pick] Add sbom_report table to store sbom related information (#20482)
Add sbom_report table to store sbom related information

  fixes #20445
  Refactor scan/base_controller.go
  Move MakeReportPlaceholder, GetReportPlaceholder, GetSummary to vul and sbom scanHandler

Signed-off-by: stonezdj <stone.zhang@broadcom.com>
2024-05-24 17:08:41 +08:00
Lichao Xue
a763d6b54c
Fix - 20469 sbom status and download issue (#20475)
Signed-off-by: xuelichao <xuel@vmware.com>
2024-05-23 13:15:56 +08:00
Shengwen YU
88fad92e9a
bump up trivy and trivy-adapter version (#20468)
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2024-05-22 17:24:48 +08:00
Lichao Xue
15e7a448f4
Fix-20459 Wrong sbom status displayed in UI (#20464)
* fix ui test failure (#20441)

Signed-off-by: xuelichao <xuel@vmware.com>

* Fix-20459 Wrong sbom status displayed in UI

Signed-off-by: xuelichao <xuel@vmware.com>

---------

Signed-off-by: xuelichao <xuel@vmware.com>
Signed-off-by: Lichao Xue <68891670+xuelichao@users.noreply.github.com>
2024-05-21 17:55:50 +08:00
Lichao Xue
acb9e1738c
Cherry-pick 20441-fix ui test failure (#20444)
fix ui test failure

Signed-off-by: xuelichao <xuel@vmware.com>
2024-05-20 15:42:51 +08:00
Shengwen YU
3777877ab4
fresh base image (#20438)
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2024-05-16 20:55:10 +08:00
Lichao Xue
840d4085f0
Fix and Should to display Unsupported if no SBOM accessories found (#20426)
Should this be Unsupported either for SBOM

Signed-off-by: xuelichao <xuel@vmware.com>
Co-authored-by: Shengwen YU <yshengwen@vmware.com>
2024-05-16 17:40:42 +08:00
stonezdj(Daojun Zhang)
8ccf98a2ac
Initialize execution Manager in Report Assembler (#20437)
Signed-off-by: stonezdj <stone.zhang@broadcom.com>
2024-05-16 16:08:06 +08:00
MinerYang
2da4d5883f
bump golang 1.22.3 (#20433)
* bump golang 1.22.3

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

* debug api_common_install.sh

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

* remove set DNS for docker v20

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

---------

Signed-off-by: yminer <yminer@vmware.com>
Co-authored-by: Wang Yan <wangyan@vmware.com>
2024-05-16 14:32:59 +08:00
stonezdj(Daojun Zhang)
2b4fe6ced7
Add additional link for sboms (#20423)
artifact object's addition_links has sboms item when it support to generate sbom
  fixes #20346

Signed-off-by: stonezdj <stone.zhang@broadcom.com>
2024-05-15 13:34:22 +00:00
stonezdj(Daojun Zhang)
df5b3618c7
Display status in sbom_overview for image index (#20425)
fixes #20418

Signed-off-by: stonezdj <stone.zhang@broadcom.com>
2024-05-15 11:52:39 +00:00
Shengwen YU
bb6c7242a4
add membership=true back for gitlab replication adapter (#20400)
fix: add membership=true back for gitlab replication adapter

Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2024-05-15 10:38:01 +00:00