Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exporting security guidelines exports the default values #211

Open
zepich opened this issue Mar 30, 2024 · 0 comments
Open

Exporting security guidelines exports the default values #211

zepich opened this issue Mar 30, 2024 · 0 comments
Assignees
Labels
bug Something isn't working no-doc-required
Milestone

Comments

@zepich
Copy link
Member

zepich commented Mar 30, 2024

If a security guideline uses the same values as in the project security settings, the exported value is the default one and not the one from the project.

Example:

Key Default Value Project Value Security Guideline Value Exported Value
lockoutActive false true true false
This value is not stored in the guideline since it's the same value as in the project. Since the security guideline does not have this key, it uses the default value, which is false, instead of the value from the project (true)
@zepich zepich added the bug Something isn't working label Mar 30, 2024
@zepich zepich self-assigned this Mar 30, 2024
zepich added a commit that referenced this issue Mar 30, 2024
The security guidelines were accidentially exported without the correct values, if the value was the same as in the project. The export functionality always exported the default value for values which are the same with the project settings.
@zepich zepich added this to the v1.2 milestone Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working no-doc-required
Projects
Status: Testing
Development

No branches or pull requests

1 participant