Skip to content

Commit

Permalink
admin: system api: fix FIPS status schema (goauthentik#10110)
Browse files Browse the repository at this point in the history
  • Loading branch information
rissson authored Jun 14, 2024
1 parent 0c604ce commit c052176
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion authentik/admin/api/system.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down
4 changes: 2 additions & 2 deletions schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47406,7 +47406,7 @@ components:
type: string
openssl_version:
type: string
openssl_fips_mode:
openssl_fips_enabled:
type: boolean
nullable: true
authentik_version:
Expand All @@ -47415,7 +47415,7 @@ components:
- architecture
- authentik_version
- environment
- openssl_fips_mode
- openssl_fips_enabled
- openssl_version
- platform
- python_version
Expand Down
2 changes: 1 addition & 1 deletion web/src/admin/admin-overview/cards/FipsStatusCard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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")}`,
Expand Down

0 comments on commit c052176

Please sign in to comment.