From 87271d17214a2306df0bd1d83785f0f013d0724a Mon Sep 17 00:00:00 2001 From: AdamKorcz <44787359+AdamKorcz@users.noreply.github.com> Date: Mon, 7 Dec 2020 17:30:24 +0000 Subject: [PATCH] [istio] Initial integration (#4762) --- projects/istio/Dockerfile | 20 ++++++++++++++++++++ projects/istio/build.sh | 20 ++++++++++++++++++++ projects/istio/project.yaml | 10 ++++++++++ 3 files changed, 50 insertions(+) create mode 100644 projects/istio/Dockerfile create mode 100644 projects/istio/build.sh create mode 100644 projects/istio/project.yaml diff --git a/projects/istio/Dockerfile b/projects/istio/Dockerfile new file mode 100644 index 000000000..d9a9aca3c --- /dev/null +++ b/projects/istio/Dockerfile @@ -0,0 +1,20 @@ +# Copyright 2020 Google Inc. +# +# 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 +RUN go get github.com/istio/istio/pilot/pkg/config/kube/crd/... +COPY build.sh $SRC/ +WORKDIR $SRC/ diff --git a/projects/istio/build.sh b/projects/istio/build.sh new file mode 100644 index 000000000..44d756681 --- /dev/null +++ b/projects/istio/build.sh @@ -0,0 +1,20 @@ +#/bin/bash -eu +# Copyright 2020 Google Inc. +# +# 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. +# +################################################################################ + + +compile_go_fuzzer istio.io/istio/tests/fuzz FuzzParseInputs fuzz_parse_inputs +compile_go_fuzzer istio.io/istio/tests/fuzz FuzzParseAndBuildSchema fuzz_parse_and_build_schema diff --git a/projects/istio/project.yaml b/projects/istio/project.yaml new file mode 100644 index 000000000..665a71d79 --- /dev/null +++ b/projects/istio/project.yaml @@ -0,0 +1,10 @@ +homepage: "https://github.com/istio/istio" +primary_contact: "istio-security-vulnerability-reports@googlegroups.com" +auto_ccs : + - "adam@adalogics.com" + - "howardjohn@google.com" +language: go +fuzzing_engines: + - libfuzzer +sanitizers: + - address