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