community.general/plugins
patchback[bot] 2447bc90a4
[PR #9403/e853bdf6 backport][stable-10] Redfish: implement obtaining AccountService config (#9511)
Redfish: implement obtaining AccountService config (#9403)

Example result from querying OpenBMC's bmcweb Redfish server:

```
    changed: false
    failed: false
    redfish_facts:
        accountservice_config:
            entries:
                '@odata.id': /redfish/v1/AccountService
                '@odata.type': '#AccountService.v1_15_0.AccountService'
                AccountLockoutDuration: 0
                AccountLockoutThreshold: 0
                Accounts:
                    '@odata.id': /redfish/v1/AccountService/Accounts
                ActiveDirectory:
                    Authentication:
                        AuthenticationType: UsernameAndPassword
                        Password: null
                        Username: ''
                    LDAPService:
                        SearchSettings:
                            BaseDistinguishedNames:
                            - ''
                            GroupsAttribute: ''
                            UsernameAttribute: ''
                    RemoteRoleMapping: []
                    ServiceAddresses:
                    - ''
                    ServiceEnabled: false
                Description: Account Service
                HTTPBasicAuth: Enabled
                HTTPBasicAuth@AllowableValues:
                - Enabled
                - Disabled
                Id: AccountService
                LDAP:
                    Authentication:
                        AuthenticationType: UsernameAndPassword
                        Password: null
                        Username: ''
                    Certificates:
                        '@odata.id': /redfish/v1/AccountService/LDAP/Certificates
                    LDAPService:
                        SearchSettings:
                            BaseDistinguishedNames:
                            - ''
                            GroupsAttribute: ''
                            UsernameAttribute: ''
                    RemoteRoleMapping: []
                    ServiceAddresses:
                    - ''
                    ServiceEnabled: false
                MaxPasswordLength: 20
                MinPasswordLength: 8
                MultiFactorAuth:
                    ClientCertificate:
                        CertificateMappingAttribute: CommonName
                        Certificates:
                            '@odata.id': /redfish/v1/AccountService/MultiFactorAuth/ClientCertificate/Certificates
                            '@odata.type': '#CertificateCollection.CertificateCollection'
                            Members: []
                            Members@odata.count: 0
                        Enabled: true
                        RespondToUnauthenticatedClients: true
                Name: Account Service
                Oem:
                    OpenBMC:
                        '@odata.id': /redfish/v1/AccountService#/Oem/OpenBMC
                        '@odata.type': '#OpenBMCAccountService.v1_0_0.AccountService'
                        AuthMethods:
                            BasicAuth: true
                            Cookie: true
                            SessionToken: true
                            TLS: true
                            XToken: true
                Roles:
                    '@odata.id': /redfish/v1/AccountService/Roles
                ServiceEnabled: true
            ret: true
```

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
(cherry picked from commit e853bdf6f9)

Co-authored-by: Paul Fertser <fercerpav@gmail.com>
2025-01-02 16:37:15 +01:00
..
action [PR #9379/22035608 backport][stable-10] plugins: replace to_native(), to_text(), str() with str() where possible or leave it away in f-string formatting (#9444) 2024-12-29 00:06:56 +01:00
become [PR #9452/29e32267 backport][stable-10] normalize docs in become plugins (#9465) 2024-12-29 21:24:10 +01:00
cache [PR #9453/040cd0ca backport][stable-10] normalize docs in cache/connection plugins (#9462) 2024-12-29 14:12:55 +01:00
callback [PR #9503/6e919a4b backport][stable-10] opentelemetry callback plugin: remove unused code (#9504) 2024-12-31 12:13:17 +01:00
connection [PR #9442/ec585392 backport][stable-10] Docs: fix its vs. it's (#9458) 2024-12-29 14:13:18 +01:00
doc_fragments [PR #9497/39deb815 backport][stable-10] clc_*: create doc fragment (#9507) 2025-01-01 09:51:07 +01:00
filter [PR #9379/22035608 backport][stable-10] plugins: replace to_native(), to_text(), str() with str() where possible or leave it away in f-string formatting (#9444) 2024-12-29 00:06:56 +01:00
inventory [PR #9442/ec585392 backport][stable-10] Docs: fix its vs. it's (#9458) 2024-12-29 14:13:18 +01:00
lookup [PR #9442/ec585392 backport][stable-10] Docs: fix its vs. it's (#9458) 2024-12-29 14:13:18 +01:00
module_utils [PR #9403/e853bdf6 backport][stable-10] Redfish: implement obtaining AccountService config (#9511) 2025-01-02 16:37:15 +01:00
modules [PR #9403/e853bdf6 backport][stable-10] Redfish: implement obtaining AccountService config (#9511) 2025-01-02 16:37:15 +01:00
plugin_utils [PR #9379/22035608 backport][stable-10] plugins: replace to_native(), to_text(), str() with str() where possible or leave it away in f-string formatting (#9444) 2024-12-29 00:06:56 +01:00
test New Plugins #8594 (#8595) 2024-07-13 13:32:36 +02:00