UNPKG

finite-state-sdk

Version:

The Finite State SDK.

14 lines (13 loc) 764 B
type status = "AFFECTED" | "FIXED" | "NOT_AFFECTED" | "UNDER_INVESTIGATION"; type justification = "COMPONENT_NOT_PRESENT" | "INLINE_MITIGATIONS_ALREADY_EXIST" | "VULNERABLE_CODE_CANNOT_BE_CONTROLLED_BY_ADVERSARY" | "VULNERABLE_CODE_NOT_IN_EXECUTE_PATH" | "VULNERABLE_CODE_NOT_PRESENT"; type response = "CANNOT_FIX" | "ROLLBACK_REQUIRED" | "UPDATE_REQUIRED" | "WILL_NOT_FIX" | "WORKAROUND_AVAILABLE"; export interface updateFindingStatusesParams { userId: string; findingIds: string[]; status: status; justification?: justification; response?: response; comment?: string; } declare function updateFindingStatuses(token: any, organizationContext: any, params: updateFindingStatusesParams): Promise<any>; export default updateFindingStatuses;