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

[ASENG-835] Add puller package for s3 #157

Merged
merged 35 commits into from
Mar 14, 2024
Merged
Show file tree
Hide file tree
Changes from 30 commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
c39cacd
Add puller package for s3
edznux-dd Dec 26, 2023
d7283de
Add base GRPC interfaces
edznux-dd Dec 26, 2023
63587eb
Move grpcs
edznux-dd Dec 27, 2023
bb80766
Add gitignore for kubehound-ingestor binary
edznux-dd Dec 27, 2023
3aeb590
Fix linters
edznux-dd Dec 27, 2023
0364790
Use global config
edznux-dd Dec 27, 2023
53a898d
Add & fix tests
edznux-dd Dec 27, 2023
2b5f9a7
Fix linter & use parallel tests
edznux-dd Dec 27, 2023
c602bfb
linter
edznux-dd Dec 27, 2023
e9c2b09
Add notifier package
edznux-dd Dec 27, 2023
e87b2f2
Refactor api / notifier / puller architecture
edznux-dd Dec 27, 2023
f3801c9
Refactor API & add mockings test
edznux-dd Dec 28, 2023
e26cd27
Merge branch 'main' of ssh://github.com/DataDog/kubehound into edouar…
jt-dd Feb 28, 2024
8ec286a
fixing merge
jt-dd Feb 28, 2024
679ccce
rework API struct from new dumper
jt-dd Mar 13, 2024
e9d6f19
wip
jt-dd Mar 13, 2024
2c56ea3
fixing tags
jt-dd Mar 13, 2024
23fd6f2
fix linter issue
jt-dd Mar 13, 2024
cf31306
fix linter
jt-dd Mar 13, 2024
b99f394
fix linter
jt-dd Mar 13, 2024
c4e9385
fix linter
jt-dd Mar 13, 2024
2345ee3
temp fix for the code split for now
jt-dd Mar 13, 2024
162a941
sherry pick hell
jt-dd Mar 13, 2024
65c3af1
fix tar extractor
jt-dd Mar 13, 2024
823c753
fix sherry pick
jt-dd Mar 13, 2024
6445480
wrong PR
jt-dd Mar 13, 2024
b2ed623
fix linter
jt-dd Mar 14, 2024
154b02e
fix linter
jt-dd Mar 14, 2024
dfe97f8
PR comment
jt-dd Mar 14, 2024
fd6999f
fix linter
jt-dd Mar 14, 2024
b359bca
fix comment PR
jt-dd Mar 14, 2024
2356dd4
fix linter
jt-dd Mar 14, 2024
03cc099
fix linter
jt-dd Mar 14, 2024
87f6a06
fix linter
jt-dd Mar 14, 2024
b112061
fix linter
jt-dd Mar 14, 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
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ go.work
bin/
dist/

cmd/kubehound
cmd/kubehound/kubehound
cmd/kubehound/__debug_bin
cmd/kubehound-ingestor/kubehound-ingestor
deployments/kubehound/data
deployments/kubehound/data/*

Expand Down
11 changes: 11 additions & 0 deletions cmd/kubehound-ingestor/main.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package main

import (
"github.com/DataDog/KubeHound/pkg/telemetry/log"
)

func main() {
if err := rootCmd.Execute(); err != nil {
log.I.Fatal(err.Error())
}
}
26 changes: 26 additions & 0 deletions cmd/kubehound-ingestor/root.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
package main

import (
"github.com/DataDog/KubeHound/pkg/kubehound/core"
"github.com/spf13/cobra"
)

var (
cfgFile = ""
)

var (
rootCmd = &cobra.Command{
Use: "kubehound-ingestor",
Short: "Kubehound Ingestor Service",
Long: `instance of Kubehound that pulls data from cloud storage`,
SilenceUsage: true,
RunE: func(cmd *cobra.Command, args []string) error {
return core.LaunchRemoteIngestor(cmd.Context(), core.WithConfigPath(cfgFile))
},
}
)

func init() {
rootCmd.PersistentFlags().StringVarP(&cfgFile, "config", "c", cfgFile, "application config file")
}
220 changes: 0 additions & 220 deletions cmd/kubehound/dumper.go

This file was deleted.

Loading
Loading