Skip to content

Commit

Permalink
[kubearmor]: Initial integration (google#12651)
Browse files Browse the repository at this point in the history
Kubearmor is a Runtime Security Enforcement System leveraging LSMs
(BPF-LSM, AppArmor).

More about KubeArmor [here](https://kubearmor.io/)

This PR covers initial integration with some fuzzers.

---------

Signed-off-by: prady0t <[email protected]>
Co-authored-by: Vitor Guidi <[email protected]>
  • Loading branch information
prady0t and vitorguidi authored Nov 7, 2024
1 parent 7341241 commit 84e73c1
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 0 deletions.
20 changes: 20 additions & 0 deletions projects/kubearmor/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Copyright 2024 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
################################################################################
FROM gcr.io/oss-fuzz-base/base-builder-go
ENV FUZZING_LANGUAGE=go
RUN git clone https://github.com/kubearmor/KubeArmor
COPY build.sh $SRC/
WORKDIR $SRC/KubeArmor/KubeArmor
19 changes: 19 additions & 0 deletions projects/kubearmor/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#!/bin/bash -eu
# Copyright 2024 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
################################################################################

chmod +x $SRC/KubeArmor/KubeArmor/fuzz/build.sh
$SRC/KubeArmor/KubeArmor/fuzz/build.sh
12 changes: 12 additions & 0 deletions projects/kubearmor/project.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
homepage: "https://kubearmor.io/"
main_repo: "https://github.com/kubearmor/KubeArmor"
primary_contact: "[email protected]"
auto_ccs :
- "[email protected]"
- "[email protected]"
- "[email protected]"
language: go
fuzzing_engines:
- libfuzzer
sanitizers:
- address

0 comments on commit 84e73c1

Please sign in to comment.