mirror of
https://github.com/ghndrx/prowler.git
synced 2026-02-10 14:55:00 +00:00
Update and rename check_extra772 to check_extra773
This commit is contained in:
committed by
GitHub
parent
2f17cfbc30
commit
425fe16752
@@ -10,13 +10,13 @@
|
||||
# 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.
|
||||
CHECK_ID_extra772="7.72"
|
||||
CHECK_TITLE_extra772="[extra772] Check if CloudFront distributions are using WAF (Not Scored) (Not part of CIS benchmark)"
|
||||
CHECK_SCORED_extra772="NOT_SCORED"
|
||||
CHECK_TYPE_extra772="EXTRA"
|
||||
CHECK_ALTERNATE_check772="extra772"
|
||||
CHECK_ID_extra773="7.73"
|
||||
CHECK_TITLE_extra773="[extra773] Check if CloudFront distributions are using WAF (Not Scored) (Not part of CIS benchmark)"
|
||||
CHECK_SCORED_extra773="NOT_SCORED"
|
||||
CHECK_TYPE_extra773="EXTRA"
|
||||
CHECK_ALTERNATE_check773="extra773"
|
||||
|
||||
extra772(){
|
||||
extra773(){
|
||||
# "Check if CloudFront distributions have logging enabled (Not Scored) (Not part of CIS benchmark)"
|
||||
LIST_OF_DISTRIBUTIONS=$($AWSCLI cloudfront list-distributions $PROFILE_OPT --query 'DistributionList.Items[].Id' --output text | grep -v "^None")
|
||||
if [[ $LIST_OF_DISTRIBUTIONS ]]; then
|
||||
Reference in New Issue
Block a user