diff --git a/src/interfaces/analysis-options.interface.ts b/src/interfaces/analysis-options.interface.ts index 7d4e4e39..37dd4fd3 100644 --- a/src/interfaces/analysis-options.interface.ts +++ b/src/interfaces/analysis-options.interface.ts @@ -18,12 +18,24 @@ export enum AnalysisSeverity { export interface AnalysisContext { analysisContext?: { + initiator: 'IDE' | 'CLI' | 'GIT' | 'unknown'; + flow?: string; + org?: { + name: string; + displayName: string; + publicId: string; + flags: Record; + }; + project?: { + name: string; + publicId: string; + type: string; + }; + //TODO: this should be removed - leaving here for backwards compatibility orgPublicId?: string; orgDisplayName?: string; projectPublicId?: string; projectName?: string; - initiator: 'IDE' | 'CLI'; - flow?: string; }; }