community.general/plugins
Paul Fertser e853bdf6f9
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>
2025-01-02 16:26:31 +01:00
..
action plugins: replace to_native(), to_text(), str() with str() where possible or leave it away in f-string formatting (#9379) 2024-12-28 22:47:18 +01:00
become normalize docs in become plugins (#9452) 2024-12-29 20:23:59 +01:00
cache normalize docs in cache/connection plugins (#9453) 2024-12-29 13:34:33 +01:00
callback opentelemetry callback plugin: remove unused code (#9503) 2024-12-31 10:44:40 +00:00
connection normalize docs in cache/connection plugins (#9453) 2024-12-29 13:34:33 +01:00
doc_fragments clc_*: create doc fragment (#9497) 2025-01-01 09:14:44 +01:00
filter plugins: replace to_native(), to_text(), str() with str() where possible or leave it away in f-string formatting (#9379) 2024-12-28 22:47:18 +01:00
inventory Docs: fix its vs. it's (#9442) 2024-12-29 13:29:58 +01:00
lookup Docs: fix its vs. it's (#9442) 2024-12-29 13:29:58 +01:00
module_utils Redfish: implement obtaining AccountService config (#9403) 2025-01-02 16:26:31 +01:00
modules Redfish: implement obtaining AccountService config (#9403) 2025-01-02 16:26:31 +01:00
plugin_utils plugins: replace to_native(), to_text(), str() with str() where possible or leave it away in f-string formatting (#9379) 2024-12-28 22:47:18 +01:00
test New Plugins #8594 (#8595) 2024-07-13 13:32:36 +02:00