Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Jubril Oyetunji <[email protected]> use application as default for insight and discover Signed-off-by: Jubril Oyetunji <[email protected]> switch to class in options struct Signed-off-by: Jubril Oyetunji <[email protected]> fix typo Signed-off-by: Jubril Oyetunji <[email protected]> change error handling conditions Signed-off-by: Jubril Oyetunji <[email protected]> change field names to ruletype Signed-off-by: Jubril Oyetunji <[email protected]> change field names to ruletype Signed-off-by: Jubril Oyetunji <[email protected]> fix typo Signed-off-by: Jubril Oyetunji <[email protected]> change error handling conditions Signed-off-by: Jubril Oyetunji <[email protected]> change field names to ruletype Signed-off-by: Jubril Oyetunji <[email protected]> check for insight igned-off-by: Jubril Oyetunji <[email protected]> change field names to ruletype Signed-off-by: Jubril Oyetunji <[email protected]> change field names to ruletype Signed-off-by: Jubril Oyetunji <[email protected]> add example rule types Signed-off-by: Jubril Oyetunji <[email protected]> update policy packages to install updated CRDs Signed-off-by: daemon1024 <[email protected]> feat: add selector flag to logs Signed-off-by: slayer321 <[email protected]> configure audit posture during installation Signed-off-by: daemon1024 <[email protected]> updated deployment to get kubearmor hostname fix Ref: kubearmor/KubeArmor#736 Signed-off-by: Rahul Jadhav <[email protected]> add controller installation to karmor (kubearmor#65) Support input files that contain multiple VM host/network policies (kubearmor#83) Signed-off-by: Wazir Ahmed <[email protected]> Synched with /vmlist response format changes in kvm-service (kubearmor#82) Signed-off-by: Wazir Ahmed <[email protected]> Upgrade go.mo/go.sum to support latest version of discovery-engine Signed-off-by: Eswar Rajan Subramanian <[email protected]> added selfupdate support `karmor selfupdate` to auto update karmor to latest one Signed-off-by: Rahul Jadhav <[email protected]> added support for --force `--force` will remove all kubearmor annotations from all the deployments. Signed-off-by: Rahul Jadhav <[email protected]> updates to go.mod/sum Signed-off-by: Rahul Jadhav <[email protected]> releaser update Signed-off-by: Rahul Jadhav <[email protected]> updated README Signed-off-by: Rahul Jadhav <[email protected]> event channel support External tools might want to handle events as and when they arrive. Currently, karmor simply prints the events to stdout. Now the API is added support to export the events on a channel to external tool. Needed this for kubearmor auto test framework. Signed-off-by: Rahul Jadhav <[email protected]> added unit-tests in CI Signed-off-by: Rahul Jadhav <[email protected]> refactored description removed unnecessary text. install: autodetect bottlerocket env Signed-off-by: daemon1024 <[email protected]> log: refactor telemetry helper - handle alert and logs in same helper - future proof output for telemetry events fields - modify tests to demo suggested usage Signed-off-by: daemon1024 <[email protected]> changed the EventChan exported data; fixed lints Signed-off-by: Rahul Jadhav <[email protected]> sysdump issue fixes * gets apparmor profiles from all kubearmor pods * if the exec to kubearmor pod fails, handle the failure graciously and get other information Closes: kubearmor#95 Signed-off-by: Rahul Jadhav <[email protected]> sysdump output file * certain platforms do not allow colons to be part of filename (faced problem on GH action while uploading artifacts) * ability to explicitly specify output file name Signed-off-by: Rahul Jadhav <[email protected]> ignore err if kubearmor daemonset not found using `karmor sysdump` in the context of dev env causes problem since kubearmor is not running in daemonset mode. Signed-off-by: Rahul Jadhav <[email protected]> Add cri-o in environment for karmor (kubearmor#98) update deployment package to use init container (kubearmor#108) update deployment package to fix generic env installation Signed-off-by: daemon1024 <[email protected]> install: Add flag to just save manifest and not install New flag to save the KubeArmor Manifest file for the cluster env without installing Also fixed panic when Nodes aren't available for environment detection Signed-off-by: daemon1024 <[email protected]> sysdump even if kubearmor pods are not found currently, the sysdump expects the kubearmor daemon + pods to be mandatorily present in the k8s. If not present, the sysdump errors out and no zip file is produced. karmor sysdump could also be used in cases where the user might just want to provide the snapshot of current k8s cluster on which they intend to deploy kubearmor. Similarly, sysdump is used in the context where kubearmor might be used in host process mode (for e.g, dev env). Signed-off-by: Rahul Jadhav <[email protected]> check if key value exists in map Signed-off-by: rk <[email protected]> Added progression bar, Added time wait status check for all kubearmor-app pods, Added execution time counter, Added cursor animation, Added emojis. Update install/install.go Co-authored-by: Rahul Jadhav <[email protected]> Update install/install.go Co-authored-by: Barun Acharya <[email protected]> Update install/install.go Co-authored-by: Rahul Jadhav <[email protected]> Update install/install.go Co-authored-by: Rahul Jadhav <[email protected]> Done changes Changes proposed were made Update install/install.go Co-authored-by: Rahul Jadhav <[email protected]> create probe utility, probe host for observability/audit Signed-off-by: essietom <[email protected]> squash all commits for karmor probe utility rename methods properly Signed-off-by: essietom <[email protected]> check supported enforcement for host Signed-off-by: essietom <[email protected]> correct print output Signed-off-by: essietom <[email protected]> rrefactor code to remove redundancy Signed-off-by: essietom <[email protected]> format text output Signed-off-by: essietom <[email protected]> check node observability support Signed-off-by: essietom <[email protected]> refactor code Signed-off-by: essietom <[email protected]> refactor code Signed-off-by: essietom <[email protected]> refactor code Signed-off-by: essietom <[email protected]> refactor code Signed-off-by: essietom <[email protected]> remove non probe commits Signed-off-by: essietom <[email protected]> probe deployment Signed-off-by: essietom <[email protected]> handle error from bold text Signed-off-by: essietom <[email protected]> refactor code, check bpf support in lsm, check lib module in kernel header Signed-off-by: essietom <[email protected]> format code fix indentation Signed-off-by: essietom <[email protected]> add licence identifier Signed-off-by: essietom <[email protected]> ci: check if any files are unformatted gofmt doesn't error it incase files are unformatted so we manually check if the output filelist contains any files or not Signed-off-by: daemon1024 <[email protected]> chore: handle fmt and linter error/warnings Signed-off-by: daemon1024 <[email protected]> uninstall: uninstall CRD only if force option is used Signed-off-by: daemon1024 <[email protected]> Add info emoji when resource already exists Signed-off-by: daemon1024 <[email protected]> add support for handling un-orchestrated containers Signed-off-by: Ankur Kothiwal <[email protected]> fix sysname error and os probe support Signed-off-by: essietom <[email protected]> remove redundant space Signed-off-by: essietom <[email protected]> put back comment Signed-off-by: essietom <[email protected]> put comment Signed-off-by: essietom <[email protected]> fix animation flag revert animation flag removal in introduced kubearmor#120 Signed-off-by: daemon1024 <[email protected]>
- Loading branch information