UNPKG

@mdf.js/openc2-core

Version:

MMS - API Core - OpenC2

27 lines 1.28 kB
/** * Copyright 2024 Mytra Control S.L. All rights reserved. * * Use of this source code is governed by an MIT-style license that can be found in the LICENSE file * or at https://opensource.org/licenses/MIT. */ export declare class Constants { /** Supported OpenC2 versions */ static readonly SUPPORTED_VERSIONS: string[]; /** Number of concurrent commands */ static readonly DEFAULT_RATE_LIMIT = 5; /** Maximum delay allowed for a command response */ static readonly DEFAULT_MAX_RESPONSE_COMMAND_DELAY = 30000; /** Maximum delay allowed for a command execution */ static readonly DEFAULT_MAX_INACTIVITY_TIME = 5; /** Minimum delay allowed for a command execution */ static readonly DEFAULT_MIN_INACTIVITY_TIME = 1; /** Maximum number of messages registered */ static readonly DEFAULT_MESSAGES_REGISTERS_LIMIT = 100; /** Maximum aging time for backed entries */ static readonly DEFAULT_MAX_AGING_TIME_FOR_BACKED_ENTRIES: number; /** Default check interval time for not executed commands */ static readonly DEFAULT_AGING_CHECK_INTERVAL: number; /** Default content type for messages */ static readonly DEFAULT_CONTENT_TYPE = "application/openc2+json;version=1.0"; } //# sourceMappingURL=Constants.d.ts.map