Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backup #357

Open
wants to merge 387 commits into
base: quay-test
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
387 commits
Select commit Hold shift + click to select a range
72f492e
changes in port
Nithunikzz Oct 27, 2023
ebfbbb5
changes in port
Nithunikzz Oct 27, 2023
04ffb77
changes in port
Nithunikzz Oct 27, 2023
0146a70
changes in port
Nithunikzz Oct 27, 2023
cf21e57
changes in port
Nithunikzz Oct 27, 2023
fbd91ce
changes in port
Nithunikzz Oct 27, 2023
6243c98
changes in address
Nithunikzz Oct 27, 2023
d732043
changes in address
Nithunikzz Oct 27, 2023
242aeea
changes in address
Nithunikzz Oct 27, 2023
7c45bec
changes in address
Nithunikzz Oct 27, 2023
2d01374
changes in migeration
Nithunikzz Oct 27, 2023
a5d6299
changes in migeration
Nithunikzz Oct 27, 2023
9d345bd
changes in migeration
Nithunikzz Oct 27, 2023
baf85cc
changes in migeration
Nithunikzz Oct 27, 2023
630e057
changes in migeration
Nithunikzz Oct 27, 2023
8e37196
fix
Nithunikzz Oct 30, 2023
dc0db09
fix
Nithunikzz Oct 30, 2023
db2f207
fix
Nithunikzz Oct 30, 2023
09d6441
fix
Nithunikzz Oct 30, 2023
19e1adf
Merge pull request #259 from intelops/clickhouse_auth
vijeyash1 Oct 30, 2023
72d60af
removed unwanted code
vijeyash1 Nov 2, 2023
7d58985
Merge pull request #263 from intelops/delete
vijeyash1 Nov 2, 2023
f74a745
added ttl
Nithunikzz Nov 2, 2023
a24e7d7
Merge pull request #264 from intelops/ttl2
vijeyash1 Nov 2, 2023
c57314e
Add postgres support for grafana
akash4sh Nov 5, 2023
279760f
modified migration with ttl with ttl interval as configurable
vijeyash1 Nov 5, 2023
831fe39
ttl-readme-added
an1l4 Nov 5, 2023
c479f42
added ttl values
Nithunikzz Nov 5, 2023
b26daf6
Merge pull request #268 from intelops/migrate-with-env
vijeyash1 Nov 6, 2023
00b6a66
Merge branch 'intelops:main' into main
akash4sh Nov 7, 2023
ff1eb52
Add postgres support for grafana
akash4sh Nov 7, 2023
cb94110
sbom-fix
an1l4 Nov 8, 2023
5af755c
pointer-nil-condition
an1l4 Nov 8, 2023
4a0a60a
available-values-inserting-db
an1l4 Nov 8, 2023
5b69882
printing-statement changed
an1l4 Nov 8, 2023
25c6bf4
Merge pull request #271 from intelops/sbom-fix
vijeyash1 Nov 8, 2023
0b0aa70
Merge branch 'intelops:main' into main
akash4sh Nov 8, 2023
b9ae397
add support for external clickhouse connection
akash4sh Nov 8, 2023
fc1e6de
Add ttl Env's
akash4sh Nov 8, 2023
62ee201
Merge pull request #267 from akash4sh/main
jebjohns Nov 9, 2023
71fa984
Dashboard modifications
ahinvinith Nov 9, 2023
b2d2c21
minor cache clean up and small lint changes
vijeyash1 Nov 10, 2023
e20421a
Merge pull request #273 from intelops/minorchanges
vijeyash1 Nov 10, 2023
ab97186
Merge pull request #272 from ahinvinith/main
vijeyash1 Nov 10, 2023
e65e8b4
Merge branch 'main' into ttl-readme
an1l4 Nov 10, 2023
60b0c95
conflict
an1l4 Nov 10, 2023
68d5105
Merge pull request #269 from intelops/ttl-readme
vijeyash1 Nov 10, 2023
f353652
Add ephemeral-storage request and limit
akash4sh Nov 10, 2023
97a4910
Merge branch 'intelops:main' into main
akash4sh Nov 10, 2023
9604ee3
Add ephemeral-storage request and limit
akash4sh Nov 10, 2023
b0ce778
Add ephemeral-storage limit
akash4sh Nov 12, 2023
2325a40
Merge pull request #274 from akash4sh/main
vijeyash1 Nov 13, 2023
83e7c68
fix
an1l4 Nov 13, 2023
7289008
Merge pull request #275 from intelops/sql-fix
vijeyash1 Nov 13, 2023
40cb646
Postgres data persistence
an1l4 Nov 13, 2023
e564391
added cache clearing command for trivy image, trivy sbom, and trivy k8s
vijeyash1 Nov 14, 2023
2132357
Merge pull request #277 from intelops/minorchanges
vijeyash1 Nov 14, 2023
ae78647
Add ephemeral-storage limit
akash4sh Nov 14, 2023
9813d5f
cpu and memory limit increased
akash4sh Nov 15, 2023
c84116d
Merge pull request #278 from akash4sh/main
vijeyash1 Nov 15, 2023
65a855f
pvc modification done in KubePreUpgrade
vijeyash1 Nov 20, 2023
002c868
added pvc in trivy image
vijeyash1 Nov 20, 2023
b2eb54a
added pvc in trivy sbom
vijeyash1 Nov 20, 2023
0ae4bba
added pvc to trivy
vijeyash1 Nov 20, 2023
3909e7c
Merge pull request #280 from intelops/pvc
vijeyash1 Nov 20, 2023
ca6737c
Revert "Pvc"
vijeyash1 Nov 20, 2023
95b3b16
Merge pull request #281 from intelops/revert-280-pvc
vijeyash1 Nov 20, 2023
0965859
pvc changes
vijeyash1 Nov 21, 2023
6d31b45
added pvc changes
vijeyash1 Nov 21, 2023
030407f
changed image to get shell access
vijeyash1 Nov 28, 2023
28da13c
error-handle
an1l4 Nov 30, 2023
59cc077
var keyword removed
an1l4 Nov 30, 2023
a61956c
Merge pull request #286 from intelops/error-handle
vijeyash1 Nov 30, 2023
482c19c
updated Clickhouse chart
akash4sh Dec 4, 2023
6815d55
Merge branch 'main' into pvc
an1l4 Dec 5, 2023
318eadb
error-handle-changes-added
an1l4 Dec 5, 2023
dd49023
Updated clickhouse dependency in client
akash4sh Dec 11, 2023
59568dc
Add persistence support in Agent
akash4sh Dec 11, 2023
220a3d2
Merge pull request #288 from akash4sh/main
jebjohns Dec 12, 2023
f8691fa
Merge pull request #282 from intelops/pvc
vijeyash1 Dec 13, 2023
767c12f
Merge pull request #276 from intelops/data-postgres-readme
vijeyash1 Dec 14, 2023
feb74d3
updated nats dependency in client chart
akash4sh Dec 18, 2023
9ceb61d
updated clickhouse dependency version
akash4sh Dec 18, 2023
e3fcc28
kubescore added
Nithunikzz Dec 18, 2023
4289484
kubescore added
Nithunikzz Dec 18, 2023
3244b1f
kubescore added
Nithunikzz Dec 18, 2023
b5e4d9f
kubescore added
Nithunikzz Dec 18, 2023
6604318
kubescore added
Nithunikzz Dec 18, 2023
cc14aa7
kubescore added
Nithunikzz Dec 18, 2023
23205ab
kubescore added
Nithunikzz Dec 18, 2023
ddb5f8b
kubescore added
Nithunikzz Dec 18, 2023
7e97e6c
updated clickhouse dependency version
akash4sh Dec 19, 2023
b52abba
fix
Nithunikzz Dec 19, 2023
e053714
fix
Nithunikzz Dec 19, 2023
304f29b
fix
Nithunikzz Dec 19, 2023
126ab4e
Merge pull request #289 from akash4sh/main
jebjohns Dec 19, 2023
61af273
Added new panels
ahinvinith Dec 19, 2023
0a65eaf
Merge pull request #290 from intelops/kubescore
vijeyash1 Dec 19, 2023
5cbf35c
fix
ahinvinith Dec 19, 2023
a291bda
cache temp fix
vijeyash1 Dec 19, 2023
7ca0329
Merge pull request #293 from intelops/cacheproblemtempfix
vijeyash1 Dec 19, 2023
d34bdae
Merge pull request #292 from ahinvinith/main
vijeyash1 Dec 19, 2023
b52b549
sql-fixed
an1l4 Dec 20, 2023
6072aec
int-conversion
an1l4 Dec 20, 2023
9d777be
int-conversion2
an1l4 Dec 20, 2023
385b69e
Add podSecurityContext
akash4sh Dec 20, 2023
a59523d
Merge pull request #295 from akash4sh/main
jebjohns Dec 20, 2023
2cd7b89
Merge pull request #294 from intelops/new-sbom-sql-fix
vijeyash1 Dec 20, 2023
1e49f04
bom-data
an1l4 Dec 21, 2023
15548a7
scheduler-added-trivy
an1l4 Dec 21, 2023
d580461
Merge pull request #298 from intelops/bom-new-struct
vijeyash1 Dec 21, 2023
4b4d8c5
sbom table fix
ahinvinith Dec 21, 2023
dac8eb4
fix
ahinvinith Dec 21, 2023
1aec2ef
clustername
an1l4 Dec 22, 2023
2e75a06
clusternam1
an1l4 Dec 22, 2023
212b259
clusternam2
an1l4 Dec 22, 2023
105b8ab
pckname
an1l4 Dec 22, 2023
166ee4e
log-removed
an1l4 Dec 22, 2023
3e70deb
Merge pull request #301 from intelops/clustername-bom
avinashkna4 Dec 27, 2023
c7a904d
Updated image tag
akash4sh Dec 27, 2023
c70bcc2
Merge branch 'intelops:main' into main
ahinvinith Dec 29, 2023
f74ef23
Merge pull request #302 from akash4sh/main
vijeyash1 Dec 29, 2023
587c762
Merge branch 'intelops:main' into main
ahinvinith Jan 3, 2024
e42f85e
increased version
ahinvinith Jan 3, 2024
6050c8c
Merge pull request #299 from ahinvinith/main
vijeyash1 Jan 3, 2024
509a742
deleted unwanted file
vijeyash1 Jan 9, 2024
ab5bcdf
Merge pull request #303 from intelops/testpush
vijeyash1 Jan 9, 2024
460c85e
opentelemetry
an1l4 Jan 12, 2024
b94c692
Merge pull request #305 from intelops/opentelemetry
vijeyash1 Jan 16, 2024
b60c542
added graphql server
vijeyash1 Jan 16, 2024
129507c
sample output for graphql query
vijeyash1 Jan 16, 2024
c337af9
error check included for db instanciation
vijeyash1 Jan 18, 2024
9581513
helm chart changes with evn variables of OTEL
alanjino Jan 18, 2024
3609c66
Merge pull request #308 from alanjino/main
jebinjeb Jan 19, 2024
5a6cd83
graphql implementations
vijeyash1 Jan 22, 2024
4db4f46
Added external-secret yaml
akash4sh Jan 23, 2024
26ca9cb
Added external-secret yaml im client chart
akash4sh Jan 24, 2024
7bf9ae3
nats-mtls
an1l4 Jan 24, 2024
e92f4ac
Merge pull request #310 from akash4sh/main
jebjohns Jan 25, 2024
065e3dd
review-changes
an1l4 Jan 30, 2024
dea95c0
client-changes-mtls
an1l4 Jan 30, 2024
44ee2c7
env-name-changed
an1l4 Jan 30, 2024
797e393
added aditional handlers
vijeyash1 Feb 6, 2024
5de599b
added consumer as env
Nithunikzz Feb 9, 2024
c09ced2
added consumer as env
Nithunikzz Feb 9, 2024
4467011
Merge pull request #314 from intelops/env
vijeyash1 Feb 9, 2024
a46b941
Merge branch 'main' into graphql
vijeyash1 Feb 9, 2024
f375e45
Merge pull request #306 from intelops/graphql
vijeyash1 Feb 9, 2024
78136fb
Merge pull request #311 from intelops/mtls-nats
vijeyash1 Feb 9, 2024
f016cb0
consumer helm change
Nithunikzz Feb 9, 2024
60a04a3
Merge pull request #315 from intelops/consumer
vijeyash1 Feb 9, 2024
01df9a0
kuberhealthy sql
vijeyash1 Feb 9, 2024
1caeaf0
modified the code for readabilty
vijeyash1 Feb 9, 2024
8a3991a
imagename
an1l4 Feb 9, 2024
224017a
added kuberhealthy agent part
vijeyash1 Feb 9, 2024
0b74807
test
vijeyash1 Feb 12, 2024
09d9b2b
Merge pull request #319 from intelops/test
vijeyashintelops Feb 12, 2024
48615a5
added count handlers in graphql
vijeyash1 Feb 12, 2024
414beec
Merge pull request #320 from intelops/graph
vijeyashintelops Feb 12, 2024
34b6090
Merge pull request #317 from intelops/multicontainer-imagename
vijeyashintelops Feb 12, 2024
f846bab
changed unique namespace and unique clusters into objects
vijeyash1 Feb 13, 2024
0da6a41
Merge pull request #322 from intelops/uniqueclusterandnamespace
vijeyashintelops Feb 13, 2024
7c54a65
merge main
vijeyash1 Feb 14, 2024
75bfbf0
using kuberhealthy package struct for parsing payload
vijeyash1 Feb 14, 2024
67a6458
minor changes
vijeyash1 Feb 14, 2024
ff91e51
minor change
vijeyash1 Feb 14, 2024
185eefc
minor change
vijeyash1 Feb 14, 2024
324348d
kuberhealthy-client
an1l4 Feb 14, 2024
eaaff47
issuefix1
an1l4 Feb 14, 2024
be6c3fc
log
an1l4 Feb 14, 2024
322a807
log2
an1l4 Feb 14, 2024
7ae5869
log3
an1l4 Feb 14, 2024
b5a8dff
client-test
an1l4 Feb 15, 2024
562c7ec
debugging
an1l4 Feb 15, 2024
92dbdbc
debugging
an1l4 Feb 15, 2024
32a8bf4
debugging
an1l4 Feb 15, 2024
710b78e
debug
an1l4 Feb 15, 2024
cc3e442
debug
an1l4 Feb 15, 2024
c4cd5b8
debug
an1l4 Feb 15, 2024
e728f07
debug
an1l4 Feb 15, 2024
11b91a3
debug
an1l4 Feb 15, 2024
ab659c2
removed-logs-running-all service
an1l4 Feb 16, 2024
534d850
Merge pull request #316 from intelops/kuberhealthy
vijeyashintelops Feb 16, 2024
9177c42
helm changes for kuberhealthy
Nithunikzz Feb 16, 2024
ec9505e
Merge pull request #324 from intelops/kuber
vijeyashintelops Feb 16, 2024
a155f8f
store expire data
Nithunikzz Feb 16, 2024
c751564
added events handler in graphql
vijeyash1 Feb 19, 2024
4bafdee
new uniqueNamespaces handler with clustername filter
vijeyash1 Feb 20, 2024
0bafa9e
Merge pull request #327 from intelops/filterbyclustername
vijeyashintelops Feb 20, 2024
db25414
img
an1l4 Feb 20, 2024
21aeeaa
fix conflict
Nithunikzz Feb 20, 2024
82eb5aa
chart-change
an1l4 Feb 20, 2024
73e8f6c
Merge pull request #325 from intelops/storeexport
vijeyashintelops Feb 20, 2024
f2555bf
Merge pull request #328 from intelops/img
vijeyashintelops Feb 20, 2024
32f4d56
trivy changes
Nithunikzz Feb 28, 2024
d46ae02
trivy changes
Nithunikzz Feb 28, 2024
60e559e
trivy changes
Nithunikzz Feb 28, 2024
2e5eb83
trivy changes
Nithunikzz Feb 28, 2024
ca4f01f
Merge pull request #330 from intelops/newtrivy
vijeyashintelops Mar 1, 2024
67c38e0
added new graphql handlers
vijeyash1 Mar 1, 2024
c73ca8c
Merge pull request #332 from intelops/graphqlcounts
vijeyashintelops Mar 1, 2024
a9b5ad0
graphqpis bugs resolved
vijeyash1 Mar 1, 2024
086975f
Merge pull request #334 from intelops/bugsresolved
vijeyashintelops Mar 1, 2024
c396f0d
changed kuberhealthy frequency
Nithunikzz Mar 12, 2024
030cf44
New trivy dashboard JSON
ahinvinith Mar 15, 2024
5042c8c
Merge pull request #338 from ahinvinith/main
vijeyashintelops Mar 15, 2024
5d57721
Updated image tag to v1.1.5 release
akash4sh Mar 16, 2024
d5f723b
Merge pull request #340 from akash4sh/main
jebjohns Mar 16, 2024
1fdc4c9
Scheduler change for trivy
Nithunikzz Mar 18, 2024
7d603db
Scheduler change for trivy
Nithunikzz Mar 18, 2024
c513f41
Scheduler change for trivy
Nithunikzz Mar 18, 2024
8875ffc
Scheduler change for trivy
Nithunikzz Mar 18, 2024
8ccf8ea
Scheduler change for trivy
Nithunikzz Mar 18, 2024
853bfe0
Scheduler change for trivy
Nithunikzz Mar 18, 2024
4b4f10b
Scheduler change for trivy
Nithunikzz Mar 18, 2024
74b6de5
changes
Nithunikzz Mar 25, 2024
2eb36a6
fix
Nithunikzz Mar 25, 2024
99ca571
Merge pull request #336 from intelops/frequency
vijeyashintelops Mar 25, 2024
fcc05bf
sbom-resolve
an1l4 Mar 26, 2024
d4d90ed
sbom-resolve1
an1l4 Mar 26, 2024
1d7d29f
Merge pull request #342 from intelops/sbom-resolve
vijeyashintelops Mar 26, 2024
3b15b3f
Merge pull request #341 from intelops/schedulechange
vijeyashintelops Apr 1, 2024
cbfe71e
pre-commit implementation
alanjino Apr 3, 2024
a8d2e7d
Feat: Add kuberhealthy as dependency
akash4sh Apr 4, 2024
748b6d6
pre-commit implementation
alanjino Apr 4, 2024
eb0cb18
Merge pull request #343 from akash4sh/main
jebjohns Apr 4, 2024
80a54a2
kuberhealthy-dashboard
an1l4 Apr 5, 2024
78b766d
Merge pull request #345 from intelops/kuberhealthy-dashboard
vijeyashintelops Apr 5, 2024
c328abf
config: Update image tag to v1.1.6
akash4sh Apr 5, 2024
390704d
Merge pull request #346 from akash4sh/main
vijeyashintelops Apr 5, 2024
9b46c48
kuberhealthy-trivy-enhance-readme
an1l4 Apr 5, 2024
b0af2bb
Merge pull request #347 from intelops/kubehealthy-readme
vijeyashintelops Apr 5, 2024
711d73e
apache echart fix
ahinvinith Apr 6, 2024
db1c198
Fix: github action failure
akash4sh Apr 8, 2024
34eb70f
Fix: github action failure
akash4sh Apr 8, 2024
4e90f0e
Fix: github action failure
akash4sh Apr 8, 2024
052ac6c
Merge pull request #349 from akash4sh/main
jebjohns Apr 9, 2024
87457b8
Merge pull request #348 from ahinvinith/main
jebjohns Apr 9, 2024
7c82675
Merge pull request #344 from alanjino/pre-commit
jebjohns Apr 9, 2024
d0a468c
feat: Add ci.yaml workflow
akash4sh Apr 9, 2024
67c2970
Merge pull request #350 from akash4sh/main
jebjohns Apr 11, 2024
1a7d5e6
added trivy event time
Nithunikzz Apr 16, 2024
98177bf
kuberhealthy url fix
Nithunikzz Apr 16, 2024
c2a9b6b
Fix: Echart Kuberhealth dashboard and TrivyImage timeseries fixed
ahinvinith Apr 16, 2024
f3b1753
Merge pull request #352 from intelops/trivyeventtime
vijeyashintelops Apr 16, 2024
96c68bf
Fixed trivy image panel
ahinvinith Apr 16, 2024
056e93c
Merge pull request #353 from ahinvinith/main
jebinjeb Apr 18, 2024
4a53a30
config: Update image tag to v1.1.7
akash4sh Apr 18, 2024
d8dcc84
Merge pull request #354 from akash4sh/main
jebjohns Apr 20, 2024
bdec163
graphql docker files
an1l4 May 3, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions .ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
run:
timeout: 10m
concurrency: 4

concurrency: 4

linters:
disable-all: true
enable:
- errcheck
- gosimple
- govet
- ineffassign
- staticcheck
- unused
- misspell
- dupl
- stylecheck

linters-settings:
gofmt:
simplify: true
dupl:
threshold: 400

issues:
# Maximum issues count per one linter. Set to 0 to disable. Default is 50.
max-issues-per-linter: 0
# Maximum count of issues with the same text. Set to 0 to disable. Default is 3.
max-same-issues: 0
25 changes: 25 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Add 'Documentation' label to any changes within 'docs' folder or any subfolders
Documentation:
- changed-files:
- any-glob-to-any-file:
- 'docs/**'

# Add 'Documentation' label to any file changes within 'docs' folder
Documentation_docs:
- changed-files:
- any-glob-to-any-file:
- 'docs/*'

# Add 'Documentation' label to any change to .md files within the entire repository
Documentation_md:
- changed-files:
- any-glob-to-any-file:
- '**/*.md'

# Add 'feature' label to any PR where the head branch name starts with `feature` or has a `feature` section in the name
feature:
- head-branch: ['^feature', 'feature']

# Add 'release' label to any PR that is opened against the `main` branch
release:
- base-branch: 'main'
13 changes: 8 additions & 5 deletions .github/workflows/agent-container-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: Container Agent Docker Image CI

on:
pull_request:
paths-ignore:
- '**.md'
- 'charts/**'
branches:
- 'main'

Expand All @@ -17,11 +20,11 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 0

-
name: Set up QEMU
uses: docker/setup-qemu-action@v2

- uses: docker/setup-buildx-action@v1
name: Set up Docker Buildx

Expand All @@ -32,8 +35,8 @@ jobs:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}


-
name: Build and push on PR
uses: docker/build-push-action@v4
Expand All @@ -45,4 +48,4 @@ jobs:
tags: ${{ env.REGISTRY }}/${{ github.repository }}/container-agent:pr-${{ github.event.pull_request.number }}
build-args: |
"GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}"

8 changes: 4 additions & 4 deletions .github/workflows/agent-container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
steps:
- name: Checkout GitHub Action
uses: actions/checkout@v3

- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:
file: ./dockerfiles/agent/container/Dockerfile
tags: ${{ env.REGISTRY }}/${{ github.repository }}/container-agent:${{ github.run_id }}
labels: ${{ steps.metadata.outputs.labels }}

push: true

- name: Install cosign
Expand All @@ -67,12 +67,12 @@ jobs:
cosign sign -y ${{ env.REGISTRY }}/${{ github.repository }}/container-agent:${{ github.run_id }}
env:
COSIGN_EXPERIMENTAL: 1

- name: Verify the pushed tags
run: cosign verify ${{ env.REGISTRY }}/${{ github.repository }}/container-agent:${{ github.run_id }} --certificate-identity ${{ env.GH_URL }}/${{ github.repository }}/.github/workflows/agent-container.yml@refs/heads/main --certificate-oidc-issuer https://token.actions.githubusercontent.com
env:
COSIGN_EXPERIMENTAL: 1

- name: Run Trivy in GitHub SBOM mode and submit results to Dependency Graph
uses: aquasecurity/trivy-action@master
with:
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/agent-git-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: Git Agent Docker Image CI

on:
pull_request:
paths-ignore:
- '**.md'
- 'charts/**'
branches:
- 'main'

Expand All @@ -17,11 +20,11 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 0

-
name: Set up QEMU
uses: docker/setup-qemu-action@v2

- uses: docker/setup-buildx-action@v1
name: Set up Docker Buildx

Expand All @@ -32,7 +35,7 @@ jobs:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

-
name: Build and push on PR
uses: docker/build-push-action@v4
Expand All @@ -44,4 +47,4 @@ jobs:
tags: ${{ env.REGISTRY }}/${{ github.repository }}/git-agent:pr-${{ github.event.pull_request.number }}
build-args: |
"GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}"

8 changes: 4 additions & 4 deletions .github/workflows/agent-git.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
steps:
- name: Checkout GitHub Action
uses: actions/checkout@v3

- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:
file: ./dockerfiles/agent/git/Dockerfile
tags: ${{ env.REGISTRY }}/${{ github.repository }}/git-agent:${{ github.run_id }}
labels: ${{ steps.metadata.outputs.labels }}

push: true

- name: Install cosign
Expand All @@ -67,12 +67,12 @@ jobs:
cosign sign -y ${{ env.REGISTRY }}/${{ github.repository }}/git-agent:${{ github.run_id }}
env:
COSIGN_EXPERIMENTAL: 1

- name: Verify the pushed tags
run: cosign verify ${{ env.REGISTRY }}/${{ github.repository }}/git-agent:${{ github.run_id }} --certificate-identity ${{ env.GH_URL }}/${{ github.repository }}/.github/workflows/agent-git.yml@refs/heads/main --certificate-oidc-issuer https://token.actions.githubusercontent.com
env:
COSIGN_EXPERIMENTAL: 1

- name: Run Trivy in GitHub SBOM mode and submit results to Dependency Graph
uses: aquasecurity/trivy-action@master
with:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/agent-kubviz-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
steps:
- name: Checkout GitHub Action
uses: actions/checkout@v3

- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:
file: ./dockerfiles/agent/kubviz/Dockerfile
tags: ${{ env.REGISTRY }}/${{ github.repository }}/kubviz-agent:${{ github.run_id }}
labels: ${{ steps.metadata.outputs.labels }}

push: true

- name: Install cosign
Expand All @@ -67,12 +67,12 @@ jobs:
cosign sign -y ${{ env.REGISTRY }}/${{ github.repository }}/kubviz-agent:${{ github.run_id }}
env:
COSIGN_EXPERIMENTAL: 1

- name: Verify the pushed tags
run: cosign verify ${{ env.REGISTRY }}/${{ github.repository }}/kubviz-agent:${{ github.run_id }} --certificate-identity ${{ env.GH_URL }}/${{ github.repository }}/.github/workflows/agent-kubviz-image.yml@refs/heads/main --certificate-oidc-issuer https://token.actions.githubusercontent.com
env:
COSIGN_EXPERIMENTAL: 1

- name: Run Trivy in GitHub SBOM mode and submit results to Dependency Graph
uses: aquasecurity/trivy-action@master
with:
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/agent-kubviz-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: Agent Docker Image CI

on:
pull_request:
paths-ignore:
- '**.md'
- 'charts/**'
branches:
- 'main'

Expand All @@ -17,11 +20,11 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 0

-
name: Set up QEMU
uses: docker/setup-qemu-action@v2

- uses: docker/setup-buildx-action@v1
name: Set up Docker Buildx

Expand All @@ -32,7 +35,7 @@ jobs:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

-
name: Build and push on PR
uses: docker/build-push-action@v4
Expand All @@ -44,4 +47,4 @@ jobs:
tags: ${{ env.REGISTRY }}/${{ github.repository }}/kubviz-agent:pr-${{ github.event.pull_request.number }}
build-args: |
"GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}"

4 changes: 2 additions & 2 deletions .github/workflows/apisec-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
# separate terms of service, privacy policy, and support
# documentation.

# APIsec addresses the critical need to secure APIs before they reach production.
# APIsec provides the industry’s only automated and continuous API testing platform that uncovers security vulnerabilities and logic flaws in APIs.
# APIsec addresses the critical need to secure APIs before they reach production.
# APIsec provides the industry’s only automated and continuous API testing platform that uncovers security vulnerabilities and logic flaws in APIs.
# Clients rely on APIsec to evaluate every update and release, ensuring that no APIs go to production with vulnerabilities.

# How to Get Started with APIsec.ai
Expand Down
41 changes: 41 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@

name: ci
on:
push:
branches:
- "*"
- main
pull_request:

permissions:
contents: write
security-events: write
# Optional: allow read access to pull request. Use with `only-new-issues` option.
pull-requests: read

jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: '1.21'
cache: false
- name: Run tests
run: go test ./... -coverprofile=coverage.out -coverpkg=./... -covermode=atomic
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.54
args: -v --config=.ci.yml
skip-pkg-cache: true
skip-build-cache: true

- name: Static check
uses: dominikh/[email protected]
with:
version: "2023.1.6"
install-go: false
cache-key: '1.21'
8 changes: 4 additions & 4 deletions .github/workflows/client-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
steps:
- name: Checkout GitHub Action
uses: actions/checkout@v3

- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:
file: ./dockerfiles/client/Dockerfile
tags: ${{ env.REGISTRY }}/${{ github.repository }}/client:${{ github.run_id }}
labels: ${{ steps.metadata.outputs.labels }}

push: true

- name: Install cosign
Expand All @@ -67,12 +67,12 @@ jobs:
cosign sign -y ${{ env.REGISTRY }}/${{ github.repository }}/client:${{ github.run_id }}
env:
COSIGN_EXPERIMENTAL: 1

- name: Verify the pushed tags
run: cosign verify ${{ env.REGISTRY }}/${{ github.repository }}/client:${{ github.run_id }} --certificate-identity ${{ env.GH_URL }}/${{ github.repository }}/.github/workflows/client-image.yml@refs/heads/main --certificate-oidc-issuer https://token.actions.githubusercontent.com
env:
COSIGN_EXPERIMENTAL: 1

- name: Run Trivy in GitHub SBOM mode and submit results to Dependency Graph
uses: aquasecurity/trivy-action@master
with:
Expand Down
Loading
Loading