JanssenProject / jans

An open source enterprise digital identity platform for CIAM or workforce... Janssen is a distribution of standards-based, developer friendly, components that are engineered to work together in any cloud. #OAuth #OpenID #FIDO
https://docs.jans.io
Apache License 2.0
423 stars 71 forks source link

docs(logging): add schema format and example #8796

Closed ossdhaval closed 3 days ago

ossdhaval commented 4 days ago

Prepare


Description

Target issue

closes #issue-number-here

Implementation Details


Test and Document the changes

dryrunsecurity[bot] commented 4 days ago

Hi there :wave:, @dryrunsecurity here, below is a summary of our analysis and findings.

DryRun Security Status Findings
Server-Side Request Forgery Analyzer :white_check_mark: 0 findings
Configured Codepaths Analyzer :white_check_mark: 0 findings
Secrets Analyzer :white_check_mark: 0 findings
Authn/Authz Analyzer :white_check_mark: 0 findings
SQL Injection Analyzer :white_check_mark: 0 findings
Sensitive Files Analyzer :white_check_mark: 0 findings
IDOR Analyzer :white_check_mark: 0 findings

[!Note] :green_circle: Risk threshold not exceeded.

Change Summary (click to expand) The following is a summary of changes in this pull request made by me, your security buddy :robot:. Note that this summary is auto-generated and not meant to be a definitive list of security issues but rather a helpful summary from a security perspective. **Summary:** The code change in this pull request focuses on updating the logging configuration for the Janssen Authorization Server. The key changes include providing details on how to manage the logging configuration using different methods (command-line, text-based UI, and REST API), as well as outlining the schema for the `Logging` configuration. From a security perspective, the notable aspects of this change are the ability to configure the logging level, enable or disable OAuth audit logging, and exclude specific HTTP paths from being logged. These features are important for controlling the amount of sensitive information being logged and reducing the risk of exposing sensitive data. **Files Changed:** - `docs/admin/config-guide/logging-configuration.md`: This file has been updated to provide comprehensive documentation on managing the logging configuration for the Janssen Authorization Server. The changes include: 1. Detailed information on how to manage the logging configuration using different methods (command-line, text-based UI, and REST API). 2. Explanation of the logging configuration schema, including properties like `loggingLevel`, `httpLoggingEnabled`, `enabledOAuthAuditLogging`, and `httpLoggingExcludePaths`. 3. Guidance on how to update the logging configuration by modifying the `log-config.json` file and using the `put-config-logging` operation. 4. Highlighting the security-relevant aspects of the logging configuration, such as controlling the logging level, enabling or disabling OAuth audit logging, and excluding specific HTTP paths from being logged. These changes provide a clear and comprehensive guide for administrators to manage the logging configuration of the Janssen Authorization Server, with a focus on maintaining the security and integrity of the system.

Powered by DryRun Security