Alex Jones
d1b2227ff9
feat!: Removal of Trivy ( #1386 )
...
* feat: removal of trivy integration
Signed-off-by: AlexsJones <alexsimonjones@gmail.com >
* feat: removal of trivy integration
Signed-off-by: AlexsJones <alexsimonjones@gmail.com >
* chore: removed trivy
Signed-off-by: AlexsJones <alexsimonjones@gmail.com >
* chore: updated deps
Signed-off-by: AlexsJones <alexsimonjones@gmail.com >
---------
Signed-off-by: AlexsJones <alexsimonjones@gmail.com >
2025-03-04 07:33:14 +00:00
Ronald Petty
5176759bd0
feat: initial kyverno support ( #1200 )
...
* refresh fork
Signed-off-by: Ronald Petty <ronald.petty@rx-m.com >
* let out, wasn't sure it was needed, but seems it might be in CI pipeline
Signed-off-by: Ronald Petty <ronald.petty@rx-m.com >
* chore(deps): update docker/setup-buildx-action digest to 4fd8129 (#1173 )
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Ronald Petty <ronald.petty@rx-m.com >
* fix(deps): update module buf.build/gen/go/k8sgpt-ai/k8sgpt/grpc-ecosystem/gateway/v2 to v2.20.0-20240406062209-1cc152efbf5c.1 (#1147 )
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Ronald Petty <ronald.petty@rx-m.com >
* chore(deps): update anchore/sbom-action action to v0.16.0 (#1146 )
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Alex Jones <alexsimonjones@gmail.com >
Signed-off-by: Ronald Petty <ronald.petty@rx-m.com >
* fix(deps): update module google.golang.org/grpc to v1.64.1 [security] (#1178 )
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Ronald Petty <ronald.petty@rx-m.com >
* fix(deps): update module github.com/mittwald/go-helm-client to v0.12.10 (#1177 )
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Ronald Petty <ronald.petty@rx-m.com >
* feat: add custom http headers to openai related api backends (#1174 )
* feat: add custom http headers to openai related api backends
Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com >
* ci: add custom headers test
Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com >
* add error handling
Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com >
* chore(deps): update docker/setup-buildx-action digest to 4fd8129 (#1173 )
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com >
* fix(deps): update module buf.build/gen/go/k8sgpt-ai/k8sgpt/grpc-ecosystem/gateway/v2 to v2.20.0-20240406062209-1cc152efbf5c.1 (#1147 )
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com >
* chore(deps): update anchore/sbom-action action to v0.16.0 (#1146 )
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Alex Jones <alexsimonjones@gmail.com >
Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com >
* Update README.md
Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com >
---------
Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com >
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Alex Jones <alexsimonjones@gmail.com >
Signed-off-by: Ronald Petty <ronald.petty@rx-m.com >
* chore(main): release 0.3.38 (#1165 )
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Signed-off-by: Ronald Petty <ronald.petty@rx-m.com >
* chore(deps): update anchore/sbom-action action to v0.16.1 (#1179 )
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Ronald Petty <ronald.petty@rx-m.com >
* chore(deps): update actions/setup-go digest to 0a12ed9 (#1182 )
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Ronald Petty <ronald.petty@rx-m.com >
* ci: release to krew index as kubectl-gpt (#1100 )
Signed-off-by: Miguel Varela Ramos <miguel@cohere.ai >
Co-authored-by: Alex Jones <alexsimonjones@gmail.com >
Signed-off-by: Ronald Petty <ronald.petty@rx-m.com >
* fix(deps): update k8s.io/utils digest to 18e509b (#1183 )
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Ronald Petty <ronald.petty@rx-m.com >
* fix(deps): update module github.com/prometheus/prometheus to v0.53.1 (#1035 )
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Ronald Petty <ronald.petty@rx-m.com >
* fix(deps): update module github.com/ibm/watsonx-go to v1.0.1 (#1187 )
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Ronald Petty <ronald.petty@rx-m.com >
* feat: skip k3s node type EtcdIsVoter (#1167 )
Signed-off-by: Kay Yan <kay.yan@daocloud.io >
Co-authored-by: Aris Boutselis <arisboutselis08@gmail.com >
Signed-off-by: Ronald Petty <ronald.petty@rx-m.com >
* feat: fix the custom-analysis printing (#1195 )
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
Signed-off-by: Ronald Petty <ronald.petty@rx-m.com >
* chore(deps): pin goreleaser/goreleaser-action action to 286f3b1 (#1171 )
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Ronald Petty <ronald.petty@rx-m.com >
* fix(deps): update module buf.build/gen/go/k8sgpt-ai/k8sgpt/grpc/go to v1.4.0-20240715142657-3785f0a44aae.2 (#1196 )
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Ronald Petty <ronald.petty@rx-m.com >
* chore(deps): update actions/upload-artifact digest to 0b2256b (#1175 )
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Ronald Petty <ronald.petty@rx-m.com >
* Update pkg/integration/kyverno/kyverno.go
lgtm
Co-authored-by: Alex Jones <alex@k8sgpt.ai >
Signed-off-by: Ronald Petty <ronald.petty@minimumdistance.com >
Signed-off-by: Ronald Petty <ronald.petty@rx-m.com >
* remove unused function
Signed-off-by: Ronald Petty <ronald.petty@rx-m.com >
---------
Signed-off-by: Ronald Petty <ronald.petty@rx-m.com >
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com >
Signed-off-by: Miguel Varela Ramos <miguel@cohere.ai >
Signed-off-by: Kay Yan <kay.yan@daocloud.io >
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
Signed-off-by: Ronald Petty <ronald.petty@minimumdistance.com >
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Alex Jones <alexsimonjones@gmail.com >
Co-authored-by: Aris Boutselis <arisboutselis08@gmail.com >
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Miguel Varela Ramos <miguel@cohere.ai >
Co-authored-by: Kay Yan <kay.yan@daocloud.io >
Co-authored-by: Alex Jones <alex@k8sgpt.ai >
2024-07-18 07:57:11 +01:00
Vaibhav Malik
63f7fcfef7
test: added tests for the pkg/integration package ( #904 )
...
This commit adds new tests for the `pkg/integration` package. As a
result, the code the code coverage of the package has increased from 0%
to 100%
This also includes a minor adjustment in the error statements of the
`Activate` and `Deactive` functions to ensure better understanding of
the cause of the error.
Signed-off-by: VaibhavMalik4187 <vaibhavmalik2018@gmail.com >
Co-authored-by: Alex Jones <alexsimonjones@gmail.com >
2024-05-09 07:18:59 +01:00
DragonAlex98
9a73d1923f
feat: add keda integration ( #1058 )
...
* refactor: move FetchLatestEvent inside util package
Signed-off-by: DragonAlex98 <a.antinori@reply.it >
* feat: add Keda integration and ScaledObject analyzer
Signed-off-by: DragonAlex98 <a.antinori@reply.it >
---------
Signed-off-by: DragonAlex98 <a.antinori@reply.it >
2024-04-25 11:41:01 +01:00
Alex Jones
a81377f72d
feat: aws integration ( #967 )
...
* chore: updated deps
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
* chore: adding aws types
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
* chore: first cut
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
* chore: first pass at aws integration with EKS
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
* chore: fixed linting
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
* chore: updated wording based on PR
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
* chore: improved the kubeconfig
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
---------
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
2024-02-26 10:16:32 +00:00
Daniel Clark
45fa827c04
feat: initial Prometheus analyzers ( #855 )
...
* feat: initial Prometheus analyzers
Added a prometheus integration with two analyzers:
1. PrometheusConfigValidate
2. PrometheusConfigRelabelReport
The integration does not deploy any Prometheus stack in the cluster.
Instead, it searches the provided --namespace for a Prometheus
configuration, stored in a ConfigMap or Secret. If it finds one, it
unmarshals it into memory and runs the analyzers on it.
PrometheusConfigValidate checks if the actual Prometheus configuration is valid or has
any errors.
PrometheusConfigRelabelReport tries to distill the scrape config
relabeling rules to give a concise label set per job that targets need
to have to be scraped. This analyzer is unconventional, in that it does
not necessarily mean there are issues with the config. It merely tries
to give a human-readable explanation of the relabel rules it discovers,
leaning on the LLM and prompt.
Tested on both kube-prometheus and Google Managed Prometheus
stacks.
Signed-off-by: Daniel Clark <danielclark@google.com >
* review: feedback cycle 1
Simplify ConfigValidate prompt and add comments.
Signed-off-by: Daniel Clark <danielclark@google.com >
* review: feedback cycle 2
Add Prometheus configuration discovery to integration activate command.
Also improve logging to make this more clear to users.
Signed-off-by: Daniel Clark <danielclark@google.com >
---------
Signed-off-by: Daniel Clark <danielclark@google.com >
2024-01-12 09:58:09 +00:00
Alex Jones
69fe2db8ac
feat: integration refactor ( #684 )
...
* feat: more significant refactor
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
* feat: more significant refactor
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
* feat: reworked the integration activate/deactivation
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
* chore: updated schema for list integrations
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
* fix: error with incorrect error being swallowed
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
* feat: added namespace check
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
* chore: fixed issue with namespace and skip install validation
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
---------
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
2023-09-28 07:43:05 +01:00
Alex Jones
ab064b940c
feat: serve/integration capability ( #645 )
...
* chore: updated schema for integrations support (#616 )
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
wip: enabling integration activation
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
wip: enabling integration activation
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
* wip
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
* feat: skipinstall fixed
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
* feat: fixed filters for integrations but its ugly
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
* chore: updated library
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
* chore: updated go mod
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
* chore: updated go mod
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
---------
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
2023-09-16 17:12:09 +01:00
Alex Jones
133850f984
chore: fixes a bug where filters do not deactive ( #621 )
...
Signed-off-by: Alex Jones <alex@Alexs-MacBook-Pro.local >
Co-authored-by: Alex Jones <alex@Alexs-MacBook-Pro.local >
2023-09-03 16:13:52 +01:00
Alex Jones
44d3613c1f
feat: configauditreport ( #609 )
...
* feat: adding config audit report
Signed-off-by: Alex Jones <alex@alexs-mbp.tailddc26.ts.net >
* feat: adding config audit report
Signed-off-by: Alex Jones <alex@alexs-mbp.tailddc26.ts.net >
* feat: adding config audit report analyzer mechnics
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
Signed-off-by: Alex Jones <alex@alexs-mbp.tailddc26.ts.net >
* feat: adding config audit report analyzer mechnics
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
Signed-off-by: Alex Jones <alex@alexs-mbp.tailddc26.ts.net >
* chore: updated naming
Signed-off-by: Alex Jones <alex@alexs-mbp.tailddc26.ts.net >
* chore: updated naming
Signed-off-by: Alex Jones <alex@alexs-mbp.tailddc26.ts.net >
* chore: updated var names
Signed-off-by: Alex Jones <alex@alexs-mbp.tailddc26.ts.net >
---------
Signed-off-by: Alex Jones <alex@alexs-mbp.tailddc26.ts.net >
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
Co-authored-by: Alex Jones <alex@alexs-mbp.tailddc26.ts.net >
2023-08-25 17:37:53 +01:00
Peter Pan
1f5462c80b
fix: add --no-install for activate command ( #536 )
...
to fix #534
Signed-off-by: Peter Pan <Peter.Pan@daocloud.io >
2023-07-03 11:36:02 +01:00
Matthis
b7dc384547
fix: append coreAnalyzer if active_filter is empty and integration is added ( #441 )
...
Signed-off-by: Matthis Holleville <matthish29@gmail.com >
2023-05-19 11:14:39 +02:00
Thomas Schuetz
d0f7a1105f
chore: change license to Apache-2 ( #313 )
...
* chore: change license to Apache-2
Signed-off-by: Thomas Schuetz <thomas.schuetz@t-sc.eu >
2023-04-21 19:46:31 +02:00
Matthis Holleville
960ba568d0
fix: resolve issue with duplicated integration filters.
...
Signed-off-by: Matthis Holleville <matthish29@gmail.com >
2023-04-15 15:49:39 +02:00
Alex Jones
4d20f70fb4
chore: fixing filters
...
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
2023-04-11 19:22:12 +01:00
Alex Jones
3682f5c7eb
feat: integration ready for first review
...
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
2023-04-11 19:22:12 +01:00
Alex Jones
c809af3f47
chore: Fixing broken tests
...
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
2023-04-11 19:22:12 +01:00
Alex Jones
4984840de1
wip
...
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
2023-04-11 19:22:06 +01:00
AlexsJones
61d6e52465
feat: initial impl of integration
...
Signed-off-by: AlexsJones <alexsimonjones@gmail.com >
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
2023-04-11 19:22:06 +01:00