admin: system api: fix FIPS status schema (#10110) Co-authored-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
This commit is contained in:
![98988430+gcp-cherry-pick-bot[bot]@users.noreply.github.com](/assets/img/avatar_default.png)
committed by
GitHub

parent
0c604ceba4
commit
cb8379031a
@ -33,7 +33,7 @@ class RuntimeDict(TypedDict):
|
||||
platform: str
|
||||
uname: str
|
||||
openssl_version: str
|
||||
openssl_fips_mode: bool | None
|
||||
openssl_fips_enabled: bool | None
|
||||
authentik_version: str
|
||||
|
||||
|
||||
|
@ -47406,7 +47406,7 @@ components:
|
||||
type: string
|
||||
openssl_version:
|
||||
type: string
|
||||
openssl_fips_mode:
|
||||
openssl_fips_enabled:
|
||||
type: boolean
|
||||
nullable: true
|
||||
authentik_version:
|
||||
@ -47415,7 +47415,7 @@ components:
|
||||
- architecture
|
||||
- authentik_version
|
||||
- environment
|
||||
- openssl_fips_mode
|
||||
- openssl_fips_enabled
|
||||
- openssl_version
|
||||
- platform
|
||||
- python_version
|
||||
|
@ -29,7 +29,7 @@ export class FipsStatusCard extends AdminStatusCard<SystemInfo> {
|
||||
}
|
||||
|
||||
getStatus(value: SystemInfo): Promise<AdminStatus> {
|
||||
return value.runtime.opensslFipsMode
|
||||
return value.runtime.opensslFipsEnabled
|
||||
? this.setStatus(msg("OK"), {
|
||||
icon: "fa fa-check-circle pf-m-success",
|
||||
message: html`${msg("FIPS compliance: passing")}`,
|
||||
|
Reference in New Issue
Block a user