Skip to content

Commit 5efa4bd

Browse files
committed
Update cve dashboard width
Signed-off-by: Tamal Saha <[email protected]>
1 parent a89588d commit 5efa4bd

File tree

4 files changed

+14
-14
lines changed

4 files changed

+14
-14
lines changed

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ require (
4343
kmodules.xyz/custom-resources v0.25.1
4444
kmodules.xyz/go-containerregistry v0.0.3
4545
kmodules.xyz/monitoring-agent-api v0.25.0
46-
kmodules.xyz/resource-metadata v0.15.1-0.20230112203237-98b1f8f1f9af
46+
kmodules.xyz/resource-metadata v0.15.1-0.20230113035645-e4d6e353ed9d
4747
kmodules.xyz/resource-metrics v0.25.0
4848
kmodules.xyz/sets v0.24.0
4949
kubeops.dev/scanner v0.0.6-0.20221229070833-e576a0bfa6df

go.sum

+2-2
Original file line numberDiff line numberDiff line change
@@ -1009,8 +1009,8 @@ kmodules.xyz/monitoring-agent-api v0.25.0 h1:RU9RBeCqQdoS381xXy8cM1aqT+7qmtuPI3K
10091009
kmodules.xyz/monitoring-agent-api v0.25.0/go.mod h1:RH5f/W9eCiW+KTblBIh8MZkjCWdtMQ8MuzCBMfgkynM=
10101010
kmodules.xyz/offshoot-api v0.25.0 h1:Svq9da/+sg5afOjpgo9vx2J/Lu90Mo0aFxkdQmgKnGI=
10111011
kmodules.xyz/offshoot-api v0.25.0/go.mod h1:ysEBn7LJuT3+s8ynAQA/OG0BSsJugXa6KGtDLMRjlKo=
1012-
kmodules.xyz/resource-metadata v0.15.1-0.20230112203237-98b1f8f1f9af h1:tpngUXydWUAUj1LQNI8eBYLOvcNftZEcwyUU+irbOuQ=
1013-
kmodules.xyz/resource-metadata v0.15.1-0.20230112203237-98b1f8f1f9af/go.mod h1:qInJw1djPR9cbhQHH5jnRxTeqXJPmJd9H/ykhUo0Rqs=
1012+
kmodules.xyz/resource-metadata v0.15.1-0.20230113035645-e4d6e353ed9d h1:TSWz1AYakl6m704JrJqjcATSOPowcDh3Yj1oo+qjvU0=
1013+
kmodules.xyz/resource-metadata v0.15.1-0.20230113035645-e4d6e353ed9d/go.mod h1:qInJw1djPR9cbhQHH5jnRxTeqXJPmJd9H/ykhUo0Rqs=
10141014
kmodules.xyz/resource-metrics v0.25.0 h1:wj3npVZZQr+Yysg/XdGn4LdT5kQizWeO0zq7QlSVx50=
10151015
kmodules.xyz/resource-metrics v0.25.0/go.mod h1:4a49npnu73c9LGDWHWQsPWoXWXU9rpCcknoH1+HHesI=
10161016
kmodules.xyz/sets v0.24.0 h1:GbltLEPVnURjcmWyf8eFstgJBpm9o151wsrABkByGrc=

vendor/kmodules.xyz/resource-metadata/hub/resourcedashboards/reports.scanner.appscode.com/v1alpha1/cvereports.yaml

+10-10
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,17 @@ spec:
1414
condition: '{{- if keys .request }}false{{ else }}true{{ end -}}'
1515
panels:
1616
- title: Cluster CVE Occurance Total
17-
width: 6
17+
width: 4
1818
- title: Cluster CVE Count Total
19-
width: 6
19+
width: 4
2020
title: ACE / Scanner / Cluster CVEs
2121
- if:
2222
condition: '{{- if eq (dig "request" "resource" "kind" "-" .) "Namespace" }}true{{ else }}false{{ end -}}'
2323
panels:
2424
- title: Namespace CVE Occurance Total
25-
width: 6
25+
width: 4
2626
- title: Namespace CVE Count Total
27-
width: 6
27+
width: 4
2828
title: ACE / Scanner / Namespace CVEs
2929
vars:
3030
- name: ns
@@ -33,9 +33,9 @@ spec:
3333
condition: '{{- if eq (dig "request" "resource" "kind" "-" .) "CVE" }}true{{ else }}false{{ end -}}'
3434
panels:
3535
- title: CVE occurrence in cluster
36-
width: 6
36+
width: 4
3737
- title: CVE occurrence in Namespace
38-
width: 6
38+
width: 4
3939
title: ACE / Scanner / CVE Report
4040
vars:
4141
- name: cve
@@ -44,9 +44,9 @@ spec:
4444
condition: '{{- if eq (dig "request" "resource" "kind" "-" .) "Image" }}true{{ else }}false{{ end -}}'
4545
panels:
4646
- title: Image CVE Occurance Total
47-
width: 6
47+
width: 4
4848
- title: Image CVE Count Total
49-
width: 6
49+
width: 4
5050
title: ACE / Scanner / Image CVEs
5151
vars:
5252
- name: img
@@ -55,9 +55,9 @@ spec:
5555
condition: '{{- if and (keys .request) (not (has (printf "%s/%s" (dig "request" "resource" "group" "-" .) (dig "request" "resource" "kind" "-" .)) (list "/Namespace" "reports.scanner.appscode.com/CVE" "reports.scanner.appscode.com/Image"))) }}true{{ else }}false{{ end -}}'
5656
panels:
5757
- title: App CVE Occurance Total
58-
width: 6
58+
width: 4
5959
- title: App CVE Count Total
60-
width: 6
60+
width: 4
6161
title: ACE / Scanner / App CVEs
6262
vars:
6363
- name: group

vendor/modules.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1393,7 +1393,7 @@ kmodules.xyz/monitoring-agent-api/client
13931393
# kmodules.xyz/offshoot-api v0.25.0
13941394
## explicit; go 1.18
13951395
kmodules.xyz/offshoot-api/api/v1
1396-
# kmodules.xyz/resource-metadata v0.15.1-0.20230112203237-98b1f8f1f9af
1396+
# kmodules.xyz/resource-metadata v0.15.1-0.20230113035645-e4d6e353ed9d
13971397
## explicit; go 1.18
13981398
kmodules.xyz/resource-metadata/apis/core/install
13991399
kmodules.xyz/resource-metadata/apis/core/v1alpha1

0 commit comments

Comments
 (0)