mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-07-24 13:01:56 +00:00
Save the secrets found to the account folder for analysis
This commit is contained in:
@@ -56,11 +56,12 @@ extra741(){
|
||||
fi
|
||||
else
|
||||
textPass "$regx: No secrets found in $instance User Data or it is empty" "$regx"
|
||||
fi
|
||||
rm -f $EC2_USERDATA_FILE
|
||||
fi
|
||||
done
|
||||
else
|
||||
textInfo "$regx: No EC2 instances found" "$regx"
|
||||
fi
|
||||
done
|
||||
rm -rf $SECRETS_TEMP_FOLDER
|
||||
# rm -rf $SECRETS_TEMP_FOLDER
|
||||
}
|
||||
|
||||
@@ -44,11 +44,12 @@ extra742(){
|
||||
fi
|
||||
else
|
||||
textInfo "$regx: CloudFormation stack $stack has not Outputs" "$regx"
|
||||
rm -f $CFN_OUTPUTS_FILE
|
||||
fi
|
||||
done
|
||||
else
|
||||
textInfo "$regx: No CloudFormation stacks found" "$regx"
|
||||
fi
|
||||
done
|
||||
rm -rf $SECRETS_TEMP_FOLDER
|
||||
# rm -rf $SECRETS_TEMP_FOLDER
|
||||
}
|
||||
|
||||
@@ -42,11 +42,12 @@ extra759(){
|
||||
fi
|
||||
else
|
||||
textInfo "$regx: Lambda function $stalambdafunction has not variables" "$regx"
|
||||
rm -f $LAMBDA_FUNCTION_VARIABLES_FILE
|
||||
fi
|
||||
done
|
||||
else
|
||||
textInfo "$regx: No Lambda functions found" "$regx"
|
||||
fi
|
||||
done
|
||||
rm -rf $SECRETS_TEMP_FOLDER
|
||||
# rm -rf $SECRETS_TEMP_FOLDER
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user