Shijun Sun
e2d088987c
Switch to a new chart library ( #19262 )
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2023-09-01 16:46:43 +08:00
Shijun Sun
aa5d9eb143
Update the image version for trivy scan ( #19264 )
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2023-08-31 19:07:04 +08:00
Bin Liu
0e039b255c
exporter: add field alias for count(*) func ( #18840 )
...
Add an alias so that orm can parse the column name regardless of
the type and version of the database.
Signed-off-by: bin liu <liubin0329@gmail.com>
2023-08-30 09:05:44 +08:00
Orlix
3a85230a37
Add CERN as adopter ( #19097 )
...
* Add CERN as adopter
Signed-off-by: OrlinVasilev <ovasilev@vmware.com>
* Add CERN as adopter
Signed-off-by: OrlinVasilev <ovasilev@vmware.com>
---------
Signed-off-by: OrlinVasilev <ovasilev@vmware.com>
Signed-off-by: Orlix <7236111+OrlinVasilev@users.noreply.github.com>
Co-authored-by: Vadim Bauer <vb@container-registry.com>
2023-08-29 17:23:39 +00:00
Arnold
805fe54cbc
Add PITS Globale Datenrettungsdienste as an adopter ( #18884 )
...
* Add PITS Globale Datenrettungsdienste as an adopter
Signed-off-by: Arnold <87698848+arnoldberlin@users.noreply.github.com>
* Update adopter logo URL
Signed-off-by: Arnold <87698848+arnoldberlin@users.noreply.github.com>
---------
Signed-off-by: Arnold <87698848+arnoldberlin@users.noreply.github.com>
Co-authored-by: Orlix <7236111+OrlinVasilev@users.noreply.github.com>
2023-08-29 13:33:22 +00:00
Bin Liu
7ed1920d66
Delete unused code ( #19061 )
...
func GetRedisOfRegURL is not referenced.
Signed-off-by: bin liu <liubin0329@gmail.com>
Co-authored-by: Wang Yan <wangyan@vmware.com>
2023-08-29 19:23:20 +08:00
Bin Liu
39f3230608
fix typo in ROADMAP.md ( #19247 )
...
Signed-off-by: bin liu <liubin0329@gmail.com>
2023-08-28 17:02:28 +08:00
slushysnowman
560e6cd175
Add NS as Harbor adopter ( #18878 )
...
Signed-off-by: CICD <nspaas@ns.nl>
Co-authored-by: CICD <nspaas@ns.nl>
Co-authored-by: Orlix <7236111+OrlinVasilev@users.noreply.github.com>
2023-08-25 11:41:50 +00:00
rongfu.leng
f3e4216124
change JOB_ID to Task_ID ( #19127 )
...
Signed-off-by: lengrongfu <1275177125@qq.com>
2023-08-25 15:49:56 +08:00
MinerYang
06139c1396
change Referrers Content-Type to application/vnd.oci.image.index.v1+json ( #19212 )
...
Signed-off-by: yminer <yminer@vmware.com>
Co-authored-by: Wang Yan <wangyan@vmware.com>
2023-08-25 11:54:55 +08:00
Shijun Sun
dd90313c72
Add a tooltip for the page title of security hub ( #19231 )
...
1. This tooltip explains the artifacts total count
Signed-off-by: AllForNothing <sshijun@vmware.com>
2023-08-24 18:21:39 +08:00
Bin Liu
23fd87a316
i18n: fix typo for CONFIRM_SECRET ( #19140 )
...
Signed-off-by: bin liu <liubin0329@gmail.com>
2023-08-24 14:52:52 +08:00
stonezdj(Daojun Zhang)
298ecbbe7d
Refine total artifact and scanned artifact ( #19228 )
...
Artifact include all accessory, child artifact
fixes #19215
Signed-off-by: stonezdj <daojunz@vmware.com>
2023-08-22 16:03:33 +08:00
Shijun Sun
444404f7f4
Add new uri path to ShouldNotReuseRoute array ( #19217 )
...
1.Fixes #19216
Signed-off-by: AllForNothing <sshijun@vmware.com>
2023-08-21 18:54:44 +08:00
Wang Yan
927e7f92a2
fix gc dry run issue ( #19208 )
...
In the dry run mode, the accessories should be considered when try to simulate delete the subject manifest.
Signed-off-by: wang yan <wangyan@vmware.com>
2023-08-21 13:28:07 +08:00
Chlins Zhang
c7e25295fe
fix: support customize cache db for business ( #19182 )
...
Support to configure the customized redis db for cache layer and other
misc business for core, by default the behavior is same with
previous(stored in db 0).
Signed-off-by: chlins <chenyuzh@vmware.com>
2023-08-18 11:04:16 +08:00
stonezdj(Daojun Zhang)
83ff2b277a
Wrong artifact scanned count ( #19198 )
...
fixes #19197
Signed-off-by: stonezdj <daojunz@vmware.com>
2023-08-17 14:12:07 +08:00
Chlins Zhang
52e66155d4
log: change log level to reduce the noise logs ( #19146 )
...
1. Change some logs level to reduce the noise.
2. Wrap the go-redis.Nil error as ErrNotFound to avoid confusing
Signed-off-by: chlins <chenyuzh@vmware.com>
2023-08-17 11:11:04 +08:00
stonezdj(Daojun Zhang)
d98699b5fc
Filter artifact without CVE from top 5 dangerous artifacts ( #19187 )
...
Fixes #19186
Signed-off-by: stonezdj <daojunz@vmware.com>
2023-08-17 09:29:23 +08:00
Shijun Sun
0e9fe03e54
Update the max length for the filters ( #19194 )
...
1.Fixes #19193
Signed-off-by: AllForNothing <sshijun@vmware.com>
2023-08-16 17:14:34 +08:00
Chlins Zhang
56f6c27c4f
chore: fix incorrect otel timeout in harbor yaml template ( #19120 )
...
Update the incorrect otel timeout sample value in the harbor YAML
configuration template.
Signed-off-by: chlins <chenyuzh@vmware.com>
2023-08-16 16:26:16 +08:00
Peter Dave Hello
289d4e27cc
Update zh-tw (Traditional Chinese) locale ( #19161 )
...
Update zh-tw (Traditional Chinese) locale, follow up of #18608
Signed-off-by: Peter Dave Hello <hsu@peterdavehello.org>
2023-08-16 09:57:52 +08:00
Shijun Sun
296e905940
ignore spaces for vulnerability filters ( #19180 )
...
1.Fixes #19168
Signed-off-by: AllForNothing <sshijun@vmware.com>
2023-08-15 11:41:50 +08:00
Wang Yan
661c762aa8
bump up base version ( #19124 )
...
Up base version to v2.10
Signed-off-by: wang yan <wangyan@vmware.com>
2023-08-09 20:47:05 +08:00
Shengwen YU
88c6018950
fix: cron string validation ( #19071 )
...
fix: cron string validation (the 1st field of a cron string must be 0 when there are 6 fields)
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2023-08-09 10:22:54 +08:00
Shengwen YU
90de9092ce
fix: add storage_limit check ( #19095 )
...
fix: add storage_limit check (add ValidateQuotaLimit as a general method to validate quota limit value)
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2023-08-09 09:37:07 +08:00
Yang Jiao
bd34ad560d
Bump up setup-gcloud to 430.0.0 ( #19116 )
...
Bump up setup-gcloud to 430.0.0
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-08-08 10:50:24 +08:00
guangwu
345b5e545d
fix: privileges member successfully typo ( #19091 )
...
Signed-off-by: guoguangwu <guoguangwu@magic-shield.com>
Co-authored-by: Shengwen YU <yshengwen@vmware.com>
2023-08-07 17:21:38 +08:00
MinerYang
b8f2ef9c9e
bump golang 1.20.7 on main ( #19111 )
...
Signed-off-by: yminer <yminer@vmware.com>
2023-08-07 15:40:44 +08:00
Shijun Sun
958bed2ee0
Update ui to fix some issues ( #19101 )
...
1. Add digest filter for vulnerability search, for #19023
2. Fixes #19104
Signed-off-by: AllForNothing <sshijun@vmware.com>
2023-08-07 14:49:50 +08:00
Chlins Zhang
a036e4a7b0
fix: skip to delete scan reports if the digest still referenced ( #19110 )
...
fix: skip to delete scan reports if the digest still referenced by other artifacts
Avoid to delete the scan reports in case the artifact deleted but still
referenced by the other artifacts.
Signed-off-by: chlins <chenyuzh@vmware.com>
2023-08-07 14:00:26 +08:00
Wang Yan
403b616a5a
fix ScheduleObj.type in swagger ( #19109 )
...
fixes #18262
Add Schedule as a valid enum values of ScheduleObj.type
Signed-off-by: wang yan <wangyan@vmware.com>
2023-08-07 11:08:25 +08:00
stonezdj(Daojun Zhang)
0e92eaea18
Sort most dangerous vulnerabilities by score and severity level ( #19103 )
...
Check it is referred by a scan_report
Add index to report_vulnerability_record to improve performance
Fixes #19014 #19028
Signed-off-by: stonezdj <daojunz@vmware.com>
2023-08-07 10:13:34 +08:00
stonezdj(Daojun Zhang)
c62ec7daac
Add artifact digest to query condition ( #19102 )
...
Fixes #19023
Signed-off-by: stonezdj <daojunz@vmware.com>
2023-08-07 09:24:44 +08:00
stonezdj(Daojun Zhang)
3de778e9f1
Fix incorrect artifact and scanned artifact count issue ( #19106 )
...
* Fix incorrect artifact and scanned artifact count issue
fixes #19009 #19020 #19013
Signed-off-by: stonezdj <daojunz@vmware.com>
* fix issue
Signed-off-by: stonezdj <daojunz@vmware.com>
---------
Signed-off-by: stonezdj <daojunz@vmware.com>
2023-08-07 08:40:26 +08:00
Shijun Sun
f8cf772d86
Update style for add-replication-rule page ( #19100 )
...
1. Fixes #19098
Signed-off-by: AllForNothing <sshijun@vmware.com>
2023-08-04 14:12:15 +08:00
Chlins Zhang
8c23bcdc54
fix: fix replication list projects with pure numberic name ( #19090 )
...
Quote the project name when listing projects in the replication, resolve
the issue of pure number name of project.
Signed-off-by: chlins <chenyuzh@vmware.com>
2023-08-04 09:29:51 +08:00
Shijun Sun
530b78285b
Convert the string "0" to number 0 ( #19080 )
...
1. Fixes #19046
Signed-off-by: AllForNothing <sshijun@vmware.com>
2023-08-03 21:52:49 +08:00
Shijun Sun
d34775296c
Update cron ui for add replicatipn rule page ( #19083 )
...
1.Fixes #19072
Signed-off-by: AllForNothing <sshijun@vmware.com>
2023-08-03 18:18:54 +08:00
Shijun Sun
26b53ef343
Show banner message on log in page ( #19078 )
...
1. Fixes #19076
Signed-off-by: AllForNothing <sshijun@vmware.com>
2023-08-03 17:24:09 +08:00
Shijun Sun
1d81b3d8ad
Update ui for gc history and banner message ( #19094 )
...
1. Fixes #19031
2. Fixes #19049
Signed-off-by: AllForNothing <sshijun@vmware.com>
2023-08-03 14:36:20 +08:00
Shijun Sun
cdd3f267b5
Merge cosign check and notation check ( #19079 )
...
1.Merge cosign check and notaion check into one API call, related issue #19077
Signed-off-by: AllForNothing <sshijun@vmware.com>
2023-08-03 13:06:15 +08:00
Shengwen YU
1132a6654e
fix: bump up TRIVYVERSION=v0.44.0 and TRIVYADAPTERVERSION=v0.30.15 ( #19087 )
...
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2023-08-03 11:49:49 +08:00
MinerYang
e1c1f5625d
bump golang 1.20.6 on main ( #19066 )
...
bump golang 1.20.6
Signed-off-by: yminer <yminer@vmware.com>
2023-08-02 11:01:32 +08:00
Shijun Sun
39ec1e4b1f
Add validator for duration of banner message ( #19057 )
...
1.Fixes #19049
Signed-off-by: AllForNothing <sshijun@vmware.com>
2023-08-01 18:31:32 +08:00
Shijun Sun
b496edf304
Update style for banner message ui ( #19069 )
...
1.Fixes #19021
2.Fixes #19022
Signed-off-by: AllForNothing <sshijun@vmware.com>
2023-08-01 17:24:28 +08:00
Shijun Sun
28e6a99eb9
Remove cache for project policy updating ( #19068 )
...
1. Fixes #19065
Signed-off-by: AllForNothing <sshijun@vmware.com>
2023-08-01 15:31:32 +08:00
Yang Jiao
5e130bd06c
Bump up photon version from 4.0 to 5.0 ( #19006 )
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-08-01 11:52:33 +08:00
Shijun Sun
854e0295d1
Update security hub ui ( #19062 )
...
1. Fixes #19010
2. Fixes #19011
3. Fixes #19012
4. Fixes #19015
5. Fixes #19025
6. Fixes #19026
7. Fixes #19034
8. Fixes #19037
Signed-off-by: AllForNothing <sshijun@vmware.com>
2023-07-31 20:25:05 +08:00
Wang Yan
d93f24a4dc
fix dry run creation time ( #19060 )
...
fixes #19059
Give the mock time for dry run, otherwise, it will be zero.
Signed-off-by: wang yan <wangyan@vmware.com>
2023-07-31 17:29:56 +08:00