audit-labs/audit-tools

A collection of scripts, queries, and other goodies you can use in an audit.

clone: git clone https://gitbay.org/audit-labs/audit-tools.git

e7e1a5131931715bc96220cb8abb8c68604c0c11

unsigned

author: github-actions <41898282+github-actions[bot]@users.noreply.github.com> · 2025-12-02T21:46:01Z

Commit from GitHub Actions (Ruff)
 applications/gitlab/passwords.py | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/applications/gitlab/passwords.py b/applications/gitlab/passwords.py
index ee21ef2..d280367 100644
--- a/applications/gitlab/passwords.py
+++ b/applications/gitlab/passwords.py
@@ -21,8 +21,12 @@ if __name__ == "__main__":
         minimum_password_length = settings.get("minimum_password_length", "Not set")

         password_number_required = settings.get("password_number_required", "Not set")

         password_symbol_required = settings.get("password_symbol_required", "Not set")

-        password_uppercase_required = settings.get("password_uppercase_required", "Not set")

-        password_lowercase_required = settings.get("password_lowercase_required", "Not set")

+        password_uppercase_required = settings.get(

+            "password_uppercase_required", "Not set"

+        )

+        password_lowercase_required = settings.get(

+            "password_lowercase_required", "Not set"

+        )

 

         print(f"Password Length: {minimum_password_length}")

         print(f"Password Number Required: {password_number_required}")

@@ -33,4 +37,3 @@ if __name__ == "__main__":
         print(

             f"Failed to fetch application settings: {response.status_code}, {response.text}"

         )

-