ae-cvss-calculator
Version:
A CVSS vector modeling and score calculation implementation for all CVSS versions by {metæffekt}.
641 lines (640 loc) • 17.9 kB
TypeScript
import { BooleanVectorComponentValue, ChangedNumberVectorComponentValue, ComponentCategory, NumberVectorComponentValue, VectorComponent, VectorComponentValue } from "../CvssVector";
export declare class Cvss3P0Components {
private static readonly CONFIDENTIALITY_IMPACT_VALUES;
private static readonly CONFIDENTIALITY_IMPACT;
private static readonly INTEGRITY_IMPACT_VALUES;
private static readonly INTEGRITY_IMPACT;
private static readonly AVAILABILITY_IMPACT_VALUES;
private static readonly AVAILABILITY_IMPACT;
private static readonly CONFIDENTIALITY_REQUIREMENT_VALUES;
private static readonly CONFIDENTIALITY_REQUIREMENT;
private static readonly INTEGRITY_REQUIREMENT_VALUES;
private static readonly INTEGRITY_REQUIREMENT;
private static readonly AVAILABILITY_REQUIREMENT_VALUES;
private static readonly AVAILABILITY_REQUIREMENT;
private static readonly TEMPLATE_CIA_REQUIREMENT_MODIFIED_VALUES;
private static readonly TEMPLATE_CIA_REQUIREMENT_MODIFIED;
static readonly BASE_CATEGORY: ComponentCategory;
static readonly AV_VALUES: {
X: {
shortName: string;
value: number;
name: string;
abbreviatedName: string;
jsonSchemaName: string;
description: string;
};
N: {
shortName: string;
value: number;
name: string;
abbreviatedName: string;
jsonSchemaName: string;
description: string;
};
A: {
shortName: string;
value: number;
name: string;
abbreviatedName: string;
jsonSchemaName: string;
description: string;
};
L: {
shortName: string;
value: number;
name: string;
jsonSchemaName: string;
description: string;
};
P: {
shortName: string;
value: number;
name: string;
abbreviatedName: string;
jsonSchemaName: string;
description: string;
};
};
static readonly AV: {
name: string;
shortName: string;
subCategory: string;
description: string;
values: NumberVectorComponentValue[];
};
static readonly AC_VALUES: {
X: {
shortName: string;
value: number;
name: string;
abbreviatedName: string;
jsonSchemaName: string;
description: string;
};
L: {
shortName: string;
value: number;
name: string;
jsonSchemaName: string;
description: string;
};
H: {
shortName: string;
value: number;
name: string;
jsonSchemaName: string;
description: string;
};
};
static readonly AC: {
name: string;
shortName: string;
subCategory: string;
description: string;
values: NumberVectorComponentValue[];
};
static readonly PR_VALUES: {
X: {
shortName: string;
value: number;
changedValue: number;
name: string;
abbreviatedName: string;
jsonSchemaName: string;
description: string;
};
N: {
shortName: string;
value: number;
changedValue: number;
name: string;
jsonSchemaName: string;
description: string;
};
L: {
shortName: string;
value: number;
changedValue: number;
name: string;
jsonSchemaName: string;
description: string;
};
H: {
shortName: string;
value: number;
changedValue: number;
name: string;
jsonSchemaName: string;
description: string;
};
};
static readonly PR: {
name: string;
shortName: string;
subCategory: string;
description: string;
values: ChangedNumberVectorComponentValue[];
};
static readonly UI_VALUES: {
X: {
shortName: string;
value: number;
name: string;
abbreviatedName: string;
jsonSchemaName: string;
description: string;
};
N: {
shortName: string;
value: number;
name: string;
jsonSchemaName: string;
description: string;
};
R: {
shortName: string;
value: number;
name: string;
abbreviatedName: string;
jsonSchemaName: string;
description: string;
};
};
static readonly UI: {
name: string;
shortName: string;
subCategory: string;
description: string;
values: NumberVectorComponentValue[];
};
static readonly S_VALUES: {
X: {
shortName: string;
value: boolean;
name: string;
abbreviatedName: string;
jsonSchemaName: string;
description: string;
};
U: {
shortName: string;
value: boolean;
name: string;
abbreviatedName: string;
jsonSchemaName: string;
description: string;
};
C: {
shortName: string;
value: boolean;
name: string;
jsonSchemaName: string;
description: string;
};
};
static readonly S: {
name: string;
shortName: string;
subCategory: string;
description: string;
values: BooleanVectorComponentValue[];
};
static readonly C: {
name: string;
shortName: string;
subCategory: string;
description: string;
values: NumberVectorComponentValue[];
};
static readonly I: {
name: string;
shortName: string;
subCategory: string;
description: string;
values: NumberVectorComponentValue[];
};
static readonly A: {
name: string;
shortName: string;
subCategory: string;
description: string;
values: NumberVectorComponentValue[];
};
static readonly BASE_CATEGORY_VALUES: VectorComponent<VectorComponentValue>[];
static readonly TEMPORAL_CATEGORY: ComponentCategory;
static readonly E_VALUES: {
X: {
shortName: string;
value: number;
name: string;
abbreviatedName: string;
jsonSchemaName: string;
description: string;
};
U: {
shortName: string;
value: number;
name: string;
abbreviatedName: string;
description: string;
};
P: {
shortName: string;
value: number;
name: string;
abbreviatedName: string;
jsonSchemaName: string;
description: string;
};
F: {
shortName: string;
value: number;
name: string;
jsonSchemaName: string;
description: string;
};
H: {
shortName: string;
value: number;
name: string;
jsonSchemaName: string;
description: string;
};
};
static readonly E: {
name: string;
shortName: string;
description: string;
values: NumberVectorComponentValue[];
};
static readonly RL_VALUES: {
X: {
shortName: string;
value: number;
name: string;
abbreviatedName: string;
jsonSchemaName: string;
description: string;
};
O: {
shortName: string;
value: number;
name: string;
abbreviatedName: string;
jsonSchemaName: string;
description: string;
};
T: {
shortName: string;
value: number;
name: string;
abbreviatedName: string;
jsonSchemaName: string;
description: string;
};
W: {
shortName: string;
value: number;
name: string;
jsonSchemaName: string;
description: string;
};
U: {
shortName: string;
value: number;
name: string;
jsonSchemaName: string;
description: string;
};
};
static readonly RL: {
name: string;
shortName: string;
description: string;
values: NumberVectorComponentValue[];
};
static readonly RC_VALUES: {
X: {
shortName: string;
value: number;
name: string;
abbreviatedName: string;
jsonSchemaName: string;
description: string;
};
U: {
shortName: string;
value: number;
name: string;
description: string;
};
R: {
shortName: string;
value: number;
name: string;
jsonSchemaName: string;
description: string;
};
C: {
shortName: string;
value: number;
name: string;
jsonSchemaName: string;
description: string;
};
};
static readonly RC: {
name: string;
shortName: string;
description: string;
values: NumberVectorComponentValue[];
};
static readonly TEMPORAL_CATEGORY_VALUES: VectorComponent<VectorComponentValue>[];
static readonly ENVIRONMENTAL_CATEGORY: ComponentCategory;
static readonly MAV_VALUES: {
X: {
shortName: string;
value: number;
name: string;
abbreviatedName: string;
jsonSchemaName: string;
description: string;
};
N: {
shortName: string;
value: number;
name: string;
abbreviatedName: string;
jsonSchemaName: string;
description: string;
};
A: {
shortName: string;
value: number;
name: string;
abbreviatedName: string;
jsonSchemaName: string;
description: string;
};
L: {
shortName: string;
value: number;
name: string;
jsonSchemaName: string;
description: string;
};
P: {
shortName: string;
value: number;
name: string;
abbreviatedName: string;
jsonSchemaName: string;
description: string;
};
};
static readonly MAV: {
name: string;
shortName: string;
subCategory: string;
description: string;
baseMetricEquivalent: {
name: string;
shortName: string;
subCategory: string;
description: string;
values: NumberVectorComponentValue[];
};
values: NumberVectorComponentValue[];
};
static readonly MAC_VALUES: {
X: {
shortName: string;
value: number;
name: string;
abbreviatedName: string;
jsonSchemaName: string;
description: string;
};
L: {
shortName: string;
value: number;
name: string;
jsonSchemaName: string;
description: string;
};
H: {
shortName: string;
value: number;
name: string;
jsonSchemaName: string;
description: string;
};
};
static readonly MAC: {
name: string;
shortName: string;
subCategory: string;
description: string;
baseMetricEquivalent: {
name: string;
shortName: string;
subCategory: string;
description: string;
values: NumberVectorComponentValue[];
};
values: NumberVectorComponentValue[];
};
static readonly MPR_VALUES: {
X: {
shortName: string;
value: number;
changedValue: number;
name: string;
abbreviatedName: string;
jsonSchemaName: string;
description: string;
};
N: {
shortName: string;
value: number;
changedValue: number;
name: string;
jsonSchemaName: string;
description: string;
};
L: {
shortName: string;
value: number;
changedValue: number;
name: string;
jsonSchemaName: string;
description: string;
};
H: {
shortName: string;
value: number;
changedValue: number;
name: string;
jsonSchemaName: string;
description: string;
};
};
static readonly MPR: {
name: string;
shortName: string;
subCategory: string;
description: string;
baseMetricEquivalent: {
name: string;
shortName: string;
subCategory: string;
description: string;
values: ChangedNumberVectorComponentValue[];
};
values: ChangedNumberVectorComponentValue[];
};
static readonly MUI_VALUES: {
X: {
shortName: string;
value: number;
name: string;
abbreviatedName: string;
jsonSchemaName: string;
description: string;
};
N: {
shortName: string;
value: number;
name: string;
jsonSchemaName: string;
description: string;
};
R: {
shortName: string;
value: number;
name: string;
jsonSchemaName: string;
description: string;
};
};
static readonly MUI: {
name: string;
shortName: string;
subCategory: string;
description: string;
baseMetricEquivalent: {
name: string;
shortName: string;
subCategory: string;
description: string;
values: NumberVectorComponentValue[];
};
values: NumberVectorComponentValue[];
};
static readonly MS_VALUES: {
X: {
shortName: string;
value: boolean;
name: string;
abbreviatedName: string;
jsonSchemaName: string;
description: string;
};
U: {
shortName: string;
value: boolean;
name: string;
abbreviatedName: string;
jsonSchemaName: string;
description: string;
};
C: {
shortName: string;
value: boolean;
name: string;
jsonSchemaName: string;
description: string;
};
};
static readonly MS: {
name: string;
shortName: string;
subCategory: string;
description: string;
baseMetricEquivalent: {
name: string;
shortName: string;
subCategory: string;
description: string;
values: BooleanVectorComponentValue[];
};
values: BooleanVectorComponentValue[];
};
static readonly MC: {
name: string;
shortName: string;
subCategory: string;
description: string;
baseMetricEquivalent: {
name: string;
shortName: string;
subCategory: string;
description: string;
values: NumberVectorComponentValue[];
};
values: NumberVectorComponentValue[];
};
static readonly MI: {
name: string;
shortName: string;
subCategory: string;
description: string;
baseMetricEquivalent: {
name: string;
shortName: string;
subCategory: string;
description: string;
values: NumberVectorComponentValue[];
};
values: NumberVectorComponentValue[];
};
static readonly MA: {
name: string;
shortName: string;
subCategory: string;
description: string;
baseMetricEquivalent: {
name: string;
shortName: string;
subCategory: string;
description: string;
values: NumberVectorComponentValue[];
};
values: NumberVectorComponentValue[];
};
static readonly CR: {
name: string;
shortName: string;
subCategory: string;
description: string;
values: NumberVectorComponentValue[];
};
static readonly IR: {
name: string;
shortName: string;
subCategory: string;
description: string;
values: NumberVectorComponentValue[];
};
static readonly AR: {
name: string;
shortName: string;
subCategory: string;
description: string;
values: NumberVectorComponentValue[];
};
static readonly ENVIRONMENTAL_CATEGORY_VALUES: VectorComponent<VectorComponentValue>[];
static readonly REGISTERED_COMPONENTS: Map<ComponentCategory, VectorComponent<VectorComponentValue>[]>;
static readonly ATTRIBUTE_SEVERITY_ORDER: VectorComponentValue[][];
}