From f5895187fcf8f42df2c98894b34c571c65cb92ff Mon Sep 17 00:00:00 2001 From: Ayoma Wijethunga Date: Mon, 20 Dec 2021 00:30:26 +0530 Subject: [PATCH] Add license header --- .../update-scripts/CVE-2021-44228-mitigation.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/internal/update-scripts/CVE-2021-44228-mitigation.sh b/internal/update-scripts/CVE-2021-44228-mitigation.sh index 44398669..f02b6624 100644 --- a/internal/update-scripts/CVE-2021-44228-mitigation.sh +++ b/internal/update-scripts/CVE-2021-44228-mitigation.sh @@ -1,4 +1,19 @@ #!/bin/bash + +# Copyright (c) 2021, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. +# +# 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. + TIMESPTAMP=$(date "+%Y.%m.%d-%H.%M.%S") echo "Running CVE-2021-44228 mitigation on $(pwd)" echo "WSO2 Log4j 2 Zero-day mitigation script (CVE-2021-44228)" | tee -a "log4j_mitigation_$TIMESPTAMP.log"