From c58880fa1ae2e4784aaf4a4aa9d6c10028fa13ae Mon Sep 17 00:00:00 2001 From: "Austin Songer,MIS,CEH,ESCA,Project+ (Navy Veteran)" Date: Tue, 11 Jun 2024 13:47:52 -0500 Subject: [PATCH] Update encrypted_password_configuration.py --- .../okta/encrypted_password_configuration.py | 24 +------------------ 1 file changed, 1 insertion(+), 23 deletions(-) diff --git a/src/tools/okta/encrypted_password_configuration.py b/src/tools/okta/encrypted_password_configuration.py index 9ad3635..6e80b4e 100644 --- a/src/tools/okta/encrypted_password_configuration.py +++ b/src/tools/okta/encrypted_password_configuration.py @@ -4,29 +4,7 @@ from datetime import datetime, timedelta """ -This script generates evidence for a security audit from Okta. -It retrieves configuration settings to ensure that only encrypted representations of passwords are stored and transmitted, considering data from the past 365 days. - -Steps: -1. Set the environment variables `OKTA_DOMAIN` and `OKTA_API_TOKEN`. -2. Ensure the Okta API token has the necessary permissions to read password policies and security settings. -3. Run the script to generate a JSON file containing the configuration settings. - -Functions: -- get_password_policies(): Fetches password policies from Okta. -- get_security_settings(): Fetches security settings related to password encryption from Okta. -- filter_recent_policies(policies, days): Filters policies created within the past specified number of days. -- generate_evidence(): Consolidates data and writes it to a JSON file. - -Output: -- A JSON file named 'okta_encrypted_password_configuration.json' containing the configuration settings for storing and transmitting encrypted passwords. - -Requirements: -- Python 3.x -- requests library (install via `pip install requests`) - -Author: -- Austin Songer +It retrieves configuration settings to ensure that only encrypted representations of passwords are stored and transmitted. """ # Set environment variables for Okta domain and API token