mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-10-12 06:24:14 +00:00
* feat(compliance): Add in initial shell for Compliance page * feat(compliance): Mock data in the same way as Services and Providers, create files for rest of page and card structure * feat(compliance): Add in more data to json, continue building Compliance Card * feat(compliance): Add in icons for Compliance types, update Compliance skeleton * feat(compliance): Compliance card/page - add in colors for progress bar, styling * feat(compliance): Add image definitions to fix CI * feat(compliance): Add in aws.svg instead of .png * Fix file suffix * feat(compliance) remove duplicate spacer
11 lines
280 B
TypeScript
11 lines
280 B
TypeScript
import { NextResponse } from "next/server";
|
|
|
|
import data from "../../../dataCompliance.json";
|
|
|
|
export async function GET() {
|
|
// Simulate fetching data with a delay
|
|
await new Promise((resolve) => setTimeout(resolve, 2000));
|
|
|
|
return NextResponse.json({ compliance: data });
|
|
}
|