okta-mcp-server
Version:
Model Context Protocol (MCP) server for Okta API operations with support for bulk operations and caching
39 lines • 1.04 kB
TypeScript
export interface OktaPolicy {
id: string;
status: string;
name: string;
description?: string;
priority: number;
system: boolean;
created: string;
lastUpdated: string;
type: string;
conditions?: Record<string, unknown>;
settings?: Record<string, unknown>;
}
export interface PolicyGeneratorOptions {
seed?: number;
policyTypes?: string[];
statusDistribution?: {
ACTIVE: number;
INACTIVE: number;
};
}
export declare class PolicyGenerator {
private faker;
private statusDistribution;
private policyTypes;
private generatedCount;
private generatedNames;
private priorityCounter;
constructor(options?: PolicyGeneratorOptions);
generate(): OktaPolicy;
generateBatch(count: number): OktaPolicy[];
private selectStatus;
private generateNameAndDescription;
private generateUniqueName;
private addPolicySpecificProperties;
reset(): void;
getGeneratedCount(): number;
}
//# sourceMappingURL=policy-generator.d.ts.map