Skip to content

Commit

Permalink
Add compliance v2 (#430)
Browse files Browse the repository at this point in the history
  • Loading branch information
fhlavac authored Dec 4, 2024
1 parent cdb3324 commit 48a516c
Show file tree
Hide file tree
Showing 6 changed files with 17,507 additions and 110 deletions.
27 changes: 23 additions & 4 deletions packages/common/config/apis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -203,16 +203,35 @@ export const apiConfigurations: ReadonlyArray<Readonly<APIConfiguration>> = [
tags: [apiLabelsMap["ansible"], apiLabelsMap["automation"]],
},
{
id: "compliance",
displayName: "Compliance",
id: "compliance_v1",
displayName: "Compliance V1",
description:
"Assess, monitor, and report on the security-policy compliance of RHEL systems",
icon: "InsightsIcon",
apiContentPath: "./apis/hcc-insights/compliance/content.json",
apiContentPath: "./apis/hcc-insights/compliance_v1/content.json",
serverUrl: "https://console.redhat.com",
getApiContent: () =>
import(
"./apis/hcc-insights/compliance/content.json"
"./apis/hcc-insights/compliance_v1/content.json"
) as unknown as Promise<APIContent>,
tags: [
apiLabelsMap["insights"],
apiLabelsMap["observe"],
apiLabelsMap["rhel"],
apiLabelsMap["security"],
],
},
{
id: "compliance_v2",
displayName: "Compliance V2",
description:
"Assess, monitor, and report on the security-policy compliance of RHEL systems",
icon: "InsightsIcon",
apiContentPath: "./apis/hcc-insights/compliance_v2/content.json",
serverUrl: "https://console.redhat.com",
getApiContent: () =>
import(
"./apis/hcc-insights/compliance_v2/content.json"
) as unknown as Promise<APIContent>,
tags: [
apiLabelsMap["insights"],
Expand Down
Loading

0 comments on commit 48a516c

Please sign in to comment.