Merge "Implement Security Compiance option for password"

This commit is contained in:
Zuul
2020-02-19 14:50:17 +00:00
committed by Gerrit Code Review
12 changed files with 587 additions and 13 deletions

View File

@@ -85,6 +85,7 @@ from keystone_context import fernet_enabled
from keystone_utils import (
add_service_to_keystone,
ensure_all_service_accounts_protected_for_pci_dss_options,
add_credentials_to_keystone,
determine_packages,
disable_unused_apache_sites,
@@ -711,6 +712,9 @@ def upgrade_charm():
log('Cluster leader - ensuring endpoint configuration is up to '
'date', level=DEBUG)
update_all_identity_relation_units()
# also ensure that the PCI-DSS protection is in place for service
# accounts.
ensure_all_service_accounts_protected_for_pci_dss_options()
# call the policy overrides handler which will install any policy overrides
maybe_do_policyd_overrides(os_release('keystone'), 'keystone')