@dynatrace-sdk/client-classic-environment-v2 1.9.1 → 1.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/README.md +1 -1
- package/cjs/index.js +4837 -3719
- package/docs/DOCS.md +754 -140
- package/dynatrace-metadata.json +1 -1
- package/esm/index.js +4901 -3779
- package/package.json +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/attacks-api.d.ts +166 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/business-events-api.d.ts +3 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/extensions-2-0-api.d.ts +14 -3
- package/types/packages/client/classic-environment-v2/src/lib/apis/index.d.ts +1 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/monitored-entities-api.d.ts +189 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/settings-objects-api.d.ts +3 -3
- package/types/packages/client/classic-environment-v2/src/lib/models/affected-entities.d.ts +8 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/affected-entities.transformation.d.ts +11 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/affected-entity.d.ts +13 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/affected-entity.transformation.d.ts +7 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/attack-attack-type.d.ts +9 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/attack-attack-type.transformation.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/attack-entrypoint-payload-item.d.ts +12 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/attack-entrypoint-payload-item.transformation.d.ts +9 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/attack-entrypoint.d.ts +14 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/attack-entrypoint.transformation.d.ts +11 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/attack-list.d.ts +24 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/attack-list.transformation.d.ts +10 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/attack-request-header.d.ts +13 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/attack-request-header.transformation.d.ts +7 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/attack-security-problem-assessment-dto-data-assets.d.ts +8 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/attack-security-problem-assessment-dto-data-assets.transformation.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/attack-security-problem-assessment-dto-exposure.d.ts +8 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/attack-security-problem-assessment-dto-exposure.transformation.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/attack-security-problem-assessment-dto.d.ts +13 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/attack-security-problem-assessment-dto.transformation.d.ts +10 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/attack-security-problem.d.ts +11 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/attack-security-problem.transformation.d.ts +8 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/attack-state.d.ts +8 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/attack-state.transformation.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/attack-target.d.ts +13 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/attack-target.transformation.d.ts +7 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/attack-technology.d.ts +9 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/attack-technology.transformation.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/attack.d.ts +46 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/attack.transformation.d.ts +31 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/attacker-location.d.ts +17 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/attacker-location.transformation.d.ts +8 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/attacker.d.ts +11 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/attacker.transformation.d.ts +8 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/code-location.d.ts +35 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/code-location.transformation.d.ts +14 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/entity-properties.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/entity-properties.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/entrypoint-payload-type.d.ts +14 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/entrypoint-payload-type.transformation.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/entrypoint-payload.d.ts +15 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/entrypoint-payload.transformation.d.ts +9 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/execute-actions-response.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/execute-actions-response.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/function-definition.d.ts +27 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/function-definition.transformation.d.ts +12 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/http-protocol-details.d.ts +13 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/http-protocol-details.transformation.d.ts +10 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/http-request-parameter.d.ts +13 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/http-request-parameter.transformation.d.ts +7 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/index.d.ts +66 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/protocol-details.d.ts +7 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/protocol-details.transformation.d.ts +10 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/remediation-assessment-assessment-accuracy.d.ts +8 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/remediation-assessment-assessment-accuracy.transformation.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/remediation-assessment.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/remediation-assessment.transformation.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/request-information.d.ts +19 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/request-information.transformation.d.ts +10 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/risk-assessment-assessment-accuracy.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/risk-assessment-details-assessment-accuracy.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/security-context-dto-impl.d.ts +6 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/security-context-dto-impl.transformation.d.ts +6 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/security-context-result-dto.d.ts +13 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/security-context-result-dto.transformation.d.ts +7 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/truncatable-list-attack-request-header.d.ts +12 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/truncatable-list-attack-request-header.transformation.d.ts +9 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/truncatable-list-http-request-parameter.d.ts +12 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/truncatable-list-http-request-parameter.transformation.d.ts +9 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/truncatable-list-string.d.ts +11 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/truncatable-list-string.transformation.d.ts +8 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/truncation-info.d.ts +9 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/truncation-info.transformation.d.ts +6 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/vulnerability.d.ts +19 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/vulnerability.transformation.d.ts +13 -0
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { AttackSecurityProblemAssessmentDtoDataAssets } from './attack-security-problem-assessment-dto-data-assets';
|
|
2
|
+
export declare type AsJson = string;
|
|
3
|
+
export declare function fromJson($model: AsJson): AttackSecurityProblemAssessmentDtoDataAssets;
|
|
4
|
+
export declare function toJson($model: AttackSecurityProblemAssessmentDtoDataAssets): AsJson;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { AttackSecurityProblemAssessmentDtoExposure } from './attack-security-problem-assessment-dto-exposure';
|
|
2
|
+
export declare type AsJson = string;
|
|
3
|
+
export declare function fromJson($model: AsJson): AttackSecurityProblemAssessmentDtoExposure;
|
|
4
|
+
export declare function toJson($model: AttackSecurityProblemAssessmentDtoExposure): AsJson;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { AttackSecurityProblemAssessmentDtoDataAssets } from './attack-security-problem-assessment-dto-data-assets';
|
|
2
|
+
import { AttackSecurityProblemAssessmentDtoExposure } from './attack-security-problem-assessment-dto-exposure';
|
|
3
|
+
/**
|
|
4
|
+
* The assessment of a security problem related to an attack.
|
|
5
|
+
*/
|
|
6
|
+
export interface AttackSecurityProblemAssessmentDto {
|
|
7
|
+
dataAssets?: AttackSecurityProblemAssessmentDtoDataAssets;
|
|
8
|
+
exposure?: AttackSecurityProblemAssessmentDtoExposure;
|
|
9
|
+
/**
|
|
10
|
+
* The number of data assets reachable by the attacked target.
|
|
11
|
+
*/
|
|
12
|
+
numberOfReachableDataAssets?: number;
|
|
13
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { AttackSecurityProblemAssessmentDto } from './attack-security-problem-assessment-dto';
|
|
2
|
+
import * as _AttackSecurityProblemAssessmentDtoDataAssetsTransformation from './attack-security-problem-assessment-dto-data-assets.transformation';
|
|
3
|
+
import * as _AttackSecurityProblemAssessmentDtoExposureTransformation from './attack-security-problem-assessment-dto-exposure.transformation';
|
|
4
|
+
export interface AsJson {
|
|
5
|
+
dataAssets?: _AttackSecurityProblemAssessmentDtoDataAssetsTransformation.AsJson;
|
|
6
|
+
exposure?: _AttackSecurityProblemAssessmentDtoExposureTransformation.AsJson;
|
|
7
|
+
numberOfReachableDataAssets?: number;
|
|
8
|
+
}
|
|
9
|
+
export declare function fromJson($model: AsJson): AttackSecurityProblemAssessmentDto;
|
|
10
|
+
export declare function toJson($model: AttackSecurityProblemAssessmentDto): AsJson;
|
package/types/packages/client/classic-environment-v2/src/lib/models/attack-security-problem.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { AttackSecurityProblemAssessmentDto } from './attack-security-problem-assessment-dto';
|
|
2
|
+
/**
|
|
3
|
+
* Assessment information and the ID of a security problem related to an attack.
|
|
4
|
+
*/
|
|
5
|
+
export interface AttackSecurityProblem {
|
|
6
|
+
assessment?: AttackSecurityProblemAssessmentDto;
|
|
7
|
+
/**
|
|
8
|
+
* The security problem ID.
|
|
9
|
+
*/
|
|
10
|
+
securityProblemId?: string;
|
|
11
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { AttackSecurityProblem } from './attack-security-problem';
|
|
2
|
+
import * as _AttackSecurityProblemAssessmentDtoTransformation from './attack-security-problem-assessment-dto.transformation';
|
|
3
|
+
export interface AsJson {
|
|
4
|
+
assessment?: _AttackSecurityProblemAssessmentDtoTransformation.AsJson;
|
|
5
|
+
securityProblemId?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare function fromJson($model: AsJson): AttackSecurityProblem;
|
|
8
|
+
export declare function toJson($model: AttackSecurityProblem): AsJson;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Information about the targeted host/database of an attack.
|
|
3
|
+
*/
|
|
4
|
+
export interface AttackTarget {
|
|
5
|
+
/**
|
|
6
|
+
* The monitored entity ID of the targeted host/database.
|
|
7
|
+
*/
|
|
8
|
+
entityId?: string;
|
|
9
|
+
/**
|
|
10
|
+
* The name of the targeted host/database.
|
|
11
|
+
*/
|
|
12
|
+
name?: string;
|
|
13
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { AffectedEntities } from './affected-entities';
|
|
2
|
+
import { AttackAttackType } from './attack-attack-type';
|
|
3
|
+
import { AttackEntrypoint } from './attack-entrypoint';
|
|
4
|
+
import { AttackSecurityProblem } from './attack-security-problem';
|
|
5
|
+
import { AttackState } from './attack-state';
|
|
6
|
+
import { AttackTarget } from './attack-target';
|
|
7
|
+
import { AttackTechnology } from './attack-technology';
|
|
8
|
+
import { Attacker } from './attacker';
|
|
9
|
+
import { ManagementZone } from './management-zone';
|
|
10
|
+
import { RequestInformation } from './request-information';
|
|
11
|
+
import { Vulnerability } from './vulnerability';
|
|
12
|
+
/**
|
|
13
|
+
* Describes an attack.
|
|
14
|
+
*/
|
|
15
|
+
export interface Attack {
|
|
16
|
+
affectedEntities?: AffectedEntities;
|
|
17
|
+
/**
|
|
18
|
+
* The ID of the attack.
|
|
19
|
+
*/
|
|
20
|
+
attackId?: string;
|
|
21
|
+
attackTarget?: AttackTarget;
|
|
22
|
+
attackType?: AttackAttackType;
|
|
23
|
+
attacker?: Attacker;
|
|
24
|
+
/**
|
|
25
|
+
* The display ID of the attack.
|
|
26
|
+
*/
|
|
27
|
+
displayId?: string;
|
|
28
|
+
/**
|
|
29
|
+
* The display name of the attack.
|
|
30
|
+
*/
|
|
31
|
+
displayName?: string;
|
|
32
|
+
entrypoint?: AttackEntrypoint;
|
|
33
|
+
/**
|
|
34
|
+
* A list of management zones which the affected entities belong to.
|
|
35
|
+
*/
|
|
36
|
+
managementZones?: ManagementZone[];
|
|
37
|
+
request?: RequestInformation;
|
|
38
|
+
securityProblem?: AttackSecurityProblem;
|
|
39
|
+
state?: AttackState;
|
|
40
|
+
technology?: AttackTechnology;
|
|
41
|
+
/**
|
|
42
|
+
* The timestamp when the attack occurred.
|
|
43
|
+
*/
|
|
44
|
+
timestamp?: number;
|
|
45
|
+
vulnerability?: Vulnerability;
|
|
46
|
+
}
|
package/types/packages/client/classic-environment-v2/src/lib/models/attack.transformation.d.ts
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import * as _AffectedEntitiesTransformation from './affected-entities.transformation';
|
|
2
|
+
import { Attack } from './attack';
|
|
3
|
+
import * as _AttackAttackTypeTransformation from './attack-attack-type.transformation';
|
|
4
|
+
import * as _AttackEntrypointTransformation from './attack-entrypoint.transformation';
|
|
5
|
+
import * as _AttackSecurityProblemTransformation from './attack-security-problem.transformation';
|
|
6
|
+
import * as _AttackStateTransformation from './attack-state.transformation';
|
|
7
|
+
import * as _AttackTargetTransformation from './attack-target.transformation';
|
|
8
|
+
import * as _AttackTechnologyTransformation from './attack-technology.transformation';
|
|
9
|
+
import * as _AttackerTransformation from './attacker.transformation';
|
|
10
|
+
import * as _ManagementZoneTransformation from './management-zone.transformation';
|
|
11
|
+
import * as _RequestInformationTransformation from './request-information.transformation';
|
|
12
|
+
import * as _VulnerabilityTransformation from './vulnerability.transformation';
|
|
13
|
+
export interface AsJson {
|
|
14
|
+
affectedEntities?: _AffectedEntitiesTransformation.AsJson;
|
|
15
|
+
attackId?: string;
|
|
16
|
+
attackTarget?: _AttackTargetTransformation.AsJson;
|
|
17
|
+
attackType?: _AttackAttackTypeTransformation.AsJson;
|
|
18
|
+
attacker?: _AttackerTransformation.AsJson;
|
|
19
|
+
displayId?: string;
|
|
20
|
+
displayName?: string;
|
|
21
|
+
entrypoint?: _AttackEntrypointTransformation.AsJson;
|
|
22
|
+
managementZones?: _ManagementZoneTransformation.AsJson[];
|
|
23
|
+
request?: _RequestInformationTransformation.AsJson;
|
|
24
|
+
securityProblem?: _AttackSecurityProblemTransformation.AsJson;
|
|
25
|
+
state?: _AttackStateTransformation.AsJson;
|
|
26
|
+
technology?: _AttackTechnologyTransformation.AsJson;
|
|
27
|
+
timestamp?: number;
|
|
28
|
+
vulnerability?: _VulnerabilityTransformation.AsJson;
|
|
29
|
+
}
|
|
30
|
+
export declare function fromJson($model: AsJson): Attack;
|
|
31
|
+
export declare function toJson($model: Attack): AsJson;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Location of an attacker.
|
|
3
|
+
*/
|
|
4
|
+
export interface AttackerLocation {
|
|
5
|
+
/**
|
|
6
|
+
* City of the attacker.
|
|
7
|
+
*/
|
|
8
|
+
city?: string;
|
|
9
|
+
/**
|
|
10
|
+
* The country of the attacker.
|
|
11
|
+
*/
|
|
12
|
+
country?: string;
|
|
13
|
+
/**
|
|
14
|
+
* The country code of the country of the attacker, according to the ISO 3166-1 Alpha-2 standard.
|
|
15
|
+
*/
|
|
16
|
+
countryCode?: string;
|
|
17
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { AttackerLocation } from './attacker-location';
|
|
2
|
+
export interface AsJson {
|
|
3
|
+
city?: string;
|
|
4
|
+
country?: string;
|
|
5
|
+
countryCode?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare function fromJson($model: AsJson): AttackerLocation;
|
|
8
|
+
export declare function toJson($model: AttackerLocation): AsJson;
|
package/types/packages/client/classic-environment-v2/src/lib/models/attacker.transformation.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Attacker } from './attacker';
|
|
2
|
+
import * as _AttackerLocationTransformation from './attacker-location.transformation';
|
|
3
|
+
export interface AsJson {
|
|
4
|
+
location?: _AttackerLocationTransformation.AsJson;
|
|
5
|
+
sourceIp?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare function fromJson($model: AsJson): Attacker;
|
|
8
|
+
export declare function toJson($model: Attacker): AsJson;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { TruncatableListString } from './truncatable-list-string';
|
|
2
|
+
/**
|
|
3
|
+
* Information about a code location.
|
|
4
|
+
*/
|
|
5
|
+
export interface CodeLocation {
|
|
6
|
+
/**
|
|
7
|
+
* The fully qualified class name of the code location.
|
|
8
|
+
*/
|
|
9
|
+
className?: string;
|
|
10
|
+
/**
|
|
11
|
+
* The column number of the code location.
|
|
12
|
+
*/
|
|
13
|
+
columnNumber?: number;
|
|
14
|
+
/**
|
|
15
|
+
* A human readable string representation of the code location.
|
|
16
|
+
*/
|
|
17
|
+
displayName?: string;
|
|
18
|
+
/**
|
|
19
|
+
* The file name of the code location.
|
|
20
|
+
*/
|
|
21
|
+
fileName?: string;
|
|
22
|
+
/**
|
|
23
|
+
* The function/method name of the code location.
|
|
24
|
+
*/
|
|
25
|
+
functionName?: string;
|
|
26
|
+
/**
|
|
27
|
+
* The line number of the code location.
|
|
28
|
+
*/
|
|
29
|
+
lineNumber?: number;
|
|
30
|
+
parameterTypes?: TruncatableListString;
|
|
31
|
+
/**
|
|
32
|
+
* The return type of the function.
|
|
33
|
+
*/
|
|
34
|
+
returnType?: string;
|
|
35
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { CodeLocation } from './code-location';
|
|
2
|
+
import * as _TruncatableListStringTransformation from './truncatable-list-string.transformation';
|
|
3
|
+
export interface AsJson {
|
|
4
|
+
className?: string;
|
|
5
|
+
columnNumber?: number;
|
|
6
|
+
displayName?: string;
|
|
7
|
+
fileName?: string;
|
|
8
|
+
functionName?: string;
|
|
9
|
+
lineNumber?: number;
|
|
10
|
+
parameterTypes?: _TruncatableListStringTransformation.AsJson;
|
|
11
|
+
returnType?: string;
|
|
12
|
+
}
|
|
13
|
+
export declare function fromJson($model: AsJson): CodeLocation;
|
|
14
|
+
export declare function toJson($model: CodeLocation): AsJson;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EntityProperties } from './entity-properties';
|
|
2
2
|
export interface AsJson {
|
|
3
|
-
[propName: string]:
|
|
3
|
+
[propName: string]: any;
|
|
4
4
|
}
|
|
5
5
|
export declare function fromJson($model: AsJson): EntityProperties;
|
|
6
6
|
export declare function toJson($model: EntityProperties): AsJson;
|
package/types/packages/client/classic-environment-v2/src/lib/models/entrypoint-payload-type.d.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Type of the payload.
|
|
3
|
+
*/
|
|
4
|
+
export declare enum EntrypointPayloadType {
|
|
5
|
+
HttpBody = "HTTP_BODY",
|
|
6
|
+
HttpCookie = "HTTP_COOKIE",
|
|
7
|
+
HttpHeaderName = "HTTP_HEADER_NAME",
|
|
8
|
+
HttpHeaderValue = "HTTP_HEADER_VALUE",
|
|
9
|
+
HttpOther = "HTTP_OTHER",
|
|
10
|
+
HttpParameterName = "HTTP_PARAMETER_NAME",
|
|
11
|
+
HttpParameterValue = "HTTP_PARAMETER_VALUE",
|
|
12
|
+
HttpUrl = "HTTP_URL",
|
|
13
|
+
Unknown = "UNKNOWN"
|
|
14
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { EntrypointPayloadType } from './entrypoint-payload-type';
|
|
2
|
+
/**
|
|
3
|
+
* Describes a payload sent to an entrypoint during an attack.
|
|
4
|
+
*/
|
|
5
|
+
export interface EntrypointPayload {
|
|
6
|
+
/**
|
|
7
|
+
* Name of the payload, if applicable.
|
|
8
|
+
*/
|
|
9
|
+
name?: string | null;
|
|
10
|
+
type?: EntrypointPayloadType;
|
|
11
|
+
/**
|
|
12
|
+
* Value of the payload.
|
|
13
|
+
*/
|
|
14
|
+
value?: string;
|
|
15
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { EntrypointPayload } from './entrypoint-payload';
|
|
2
|
+
import * as _EntrypointPayloadTypeTransformation from './entrypoint-payload-type.transformation';
|
|
3
|
+
export interface AsJson {
|
|
4
|
+
name?: string | null;
|
|
5
|
+
type?: _EntrypointPayloadTypeTransformation.AsJson;
|
|
6
|
+
value?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare function fromJson($model: AsJson): EntrypointPayload;
|
|
9
|
+
export declare function toJson($model: EntrypointPayload): AsJson;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ExecuteActionsResponse } from './execute-actions-response';
|
|
2
2
|
export interface AsJson {
|
|
3
|
-
|
|
3
|
+
agName?: string;
|
|
4
4
|
}
|
|
5
5
|
export declare function fromJson($model: AsJson): ExecuteActionsResponse;
|
|
6
6
|
export declare function toJson($model: ExecuteActionsResponse): AsJson;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { TruncatableListString } from './truncatable-list-string';
|
|
2
|
+
/**
|
|
3
|
+
* Information about a function definition.
|
|
4
|
+
*/
|
|
5
|
+
export interface FunctionDefinition {
|
|
6
|
+
/**
|
|
7
|
+
* The fully qualified class name of the class that includes the function.
|
|
8
|
+
*/
|
|
9
|
+
className?: string;
|
|
10
|
+
/**
|
|
11
|
+
* A human readable string representation of the function definition.
|
|
12
|
+
*/
|
|
13
|
+
displayName?: string;
|
|
14
|
+
/**
|
|
15
|
+
* The file name of the function definition.
|
|
16
|
+
*/
|
|
17
|
+
fileName?: string;
|
|
18
|
+
/**
|
|
19
|
+
* The function/method name of the function definition.
|
|
20
|
+
*/
|
|
21
|
+
functionName?: string;
|
|
22
|
+
parameterTypes?: TruncatableListString;
|
|
23
|
+
/**
|
|
24
|
+
* The return type of the function.
|
|
25
|
+
*/
|
|
26
|
+
returnType?: string;
|
|
27
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { FunctionDefinition } from './function-definition';
|
|
2
|
+
import * as _TruncatableListStringTransformation from './truncatable-list-string.transformation';
|
|
3
|
+
export interface AsJson {
|
|
4
|
+
className?: string;
|
|
5
|
+
displayName?: string;
|
|
6
|
+
fileName?: string;
|
|
7
|
+
functionName?: string;
|
|
8
|
+
parameterTypes?: _TruncatableListStringTransformation.AsJson;
|
|
9
|
+
returnType?: string;
|
|
10
|
+
}
|
|
11
|
+
export declare function fromJson($model: AsJson): FunctionDefinition;
|
|
12
|
+
export declare function toJson($model: FunctionDefinition): AsJson;
|
package/types/packages/client/classic-environment-v2/src/lib/models/http-protocol-details.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { TruncatableListAttackRequestHeader } from './truncatable-list-attack-request-header';
|
|
2
|
+
import { TruncatableListHttpRequestParameter } from './truncatable-list-http-request-parameter';
|
|
3
|
+
/**
|
|
4
|
+
* HTTP specific request details.
|
|
5
|
+
*/
|
|
6
|
+
export interface HttpProtocolDetails {
|
|
7
|
+
headers?: TruncatableListAttackRequestHeader;
|
|
8
|
+
parameters?: TruncatableListHttpRequestParameter;
|
|
9
|
+
/**
|
|
10
|
+
* The HTTP request method.
|
|
11
|
+
*/
|
|
12
|
+
requestMethod?: string;
|
|
13
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { HttpProtocolDetails } from './http-protocol-details';
|
|
2
|
+
import * as _TruncatableListAttackRequestHeaderTransformation from './truncatable-list-attack-request-header.transformation';
|
|
3
|
+
import * as _TruncatableListHttpRequestParameterTransformation from './truncatable-list-http-request-parameter.transformation';
|
|
4
|
+
export interface AsJson {
|
|
5
|
+
headers?: _TruncatableListAttackRequestHeaderTransformation.AsJson;
|
|
6
|
+
parameters?: _TruncatableListHttpRequestParameterTransformation.AsJson;
|
|
7
|
+
requestMethod?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare function fromJson($model: AsJson): HttpProtocolDetails;
|
|
10
|
+
export declare function toJson($model: HttpProtocolDetails): AsJson;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { HttpRequestParameter } from './http-request-parameter';
|
|
2
|
+
export interface AsJson {
|
|
3
|
+
name?: string;
|
|
4
|
+
value?: string;
|
|
5
|
+
}
|
|
6
|
+
export declare function fromJson($model: AsJson): HttpRequestParameter;
|
|
7
|
+
export declare function toJson($model: HttpRequestParameter): AsJson;
|
|
@@ -68,6 +68,10 @@ export * from './add-entity-tags';
|
|
|
68
68
|
export * as _AddEntityTagsTransformation from './add-entity-tags.transformation';
|
|
69
69
|
export * from './added-entity-tags';
|
|
70
70
|
export * as _AddedEntityTagsTransformation from './added-entity-tags.transformation';
|
|
71
|
+
export * from './affected-entities';
|
|
72
|
+
export * as _AffectedEntitiesTransformation from './affected-entities.transformation';
|
|
73
|
+
export * from './affected-entity';
|
|
74
|
+
export * as _AffectedEntityTransformation from './affected-entity.transformation';
|
|
71
75
|
export * from './aggregated-log';
|
|
72
76
|
export * as _AggregatedLogTransformation from './aggregated-log.transformation';
|
|
73
77
|
export * from './aggregated-log-aggregation-result';
|
|
@@ -106,6 +110,36 @@ export * from './asset-info-dto-type';
|
|
|
106
110
|
export * as _AssetInfoDtoTypeTransformation from './asset-info-dto-type.transformation';
|
|
107
111
|
export * from './asset-schema-details-dto';
|
|
108
112
|
export * as _AssetSchemaDetailsDtoTransformation from './asset-schema-details-dto.transformation';
|
|
113
|
+
export * from './attack';
|
|
114
|
+
export * as _AttackTransformation from './attack.transformation';
|
|
115
|
+
export * from './attack-attack-type';
|
|
116
|
+
export * as _AttackAttackTypeTransformation from './attack-attack-type.transformation';
|
|
117
|
+
export * from './attack-entrypoint';
|
|
118
|
+
export * as _AttackEntrypointTransformation from './attack-entrypoint.transformation';
|
|
119
|
+
export * from './attack-entrypoint-payload-item';
|
|
120
|
+
export * as _AttackEntrypointPayloadItemTransformation from './attack-entrypoint-payload-item.transformation';
|
|
121
|
+
export * from './attack-list';
|
|
122
|
+
export * as _AttackListTransformation from './attack-list.transformation';
|
|
123
|
+
export * from './attack-request-header';
|
|
124
|
+
export * as _AttackRequestHeaderTransformation from './attack-request-header.transformation';
|
|
125
|
+
export * from './attack-security-problem';
|
|
126
|
+
export * as _AttackSecurityProblemTransformation from './attack-security-problem.transformation';
|
|
127
|
+
export * from './attack-security-problem-assessment-dto';
|
|
128
|
+
export * as _AttackSecurityProblemAssessmentDtoTransformation from './attack-security-problem-assessment-dto.transformation';
|
|
129
|
+
export * from './attack-security-problem-assessment-dto-data-assets';
|
|
130
|
+
export * as _AttackSecurityProblemAssessmentDtoDataAssetsTransformation from './attack-security-problem-assessment-dto-data-assets.transformation';
|
|
131
|
+
export * from './attack-security-problem-assessment-dto-exposure';
|
|
132
|
+
export * as _AttackSecurityProblemAssessmentDtoExposureTransformation from './attack-security-problem-assessment-dto-exposure.transformation';
|
|
133
|
+
export * from './attack-state';
|
|
134
|
+
export * as _AttackStateTransformation from './attack-state.transformation';
|
|
135
|
+
export * from './attack-target';
|
|
136
|
+
export * as _AttackTargetTransformation from './attack-target.transformation';
|
|
137
|
+
export * from './attack-technology';
|
|
138
|
+
export * as _AttackTechnologyTransformation from './attack-technology.transformation';
|
|
139
|
+
export * from './attacker';
|
|
140
|
+
export * as _AttackerTransformation from './attacker.transformation';
|
|
141
|
+
export * from './attacker-location';
|
|
142
|
+
export * as _AttackerLocationTransformation from './attacker-location.transformation';
|
|
109
143
|
export * from './audit-log';
|
|
110
144
|
export * as _AuditLogTransformation from './audit-log.transformation';
|
|
111
145
|
export * from './audit-log-entry';
|
|
@@ -142,6 +176,8 @@ export * from './code-level-vulnerability-details';
|
|
|
142
176
|
export * as _CodeLevelVulnerabilityDetailsTransformation from './code-level-vulnerability-details.transformation';
|
|
143
177
|
export * from './code-level-vulnerability-details-type';
|
|
144
178
|
export * as _CodeLevelVulnerabilityDetailsTypeTransformation from './code-level-vulnerability-details-type.transformation';
|
|
179
|
+
export * from './code-location';
|
|
180
|
+
export * as _CodeLocationTransformation from './code-location.transformation';
|
|
145
181
|
export * from './comment';
|
|
146
182
|
export * as _CommentTransformation from './comment.transformation';
|
|
147
183
|
export * from './comment-request-dto-impl';
|
|
@@ -270,6 +306,10 @@ export * from './entry-point-usage-segment-source-type';
|
|
|
270
306
|
export * as _EntryPointUsageSegmentSourceTypeTransformation from './entry-point-usage-segment-source-type.transformation';
|
|
271
307
|
export * from './entry-points';
|
|
272
308
|
export * as _EntryPointsTransformation from './entry-points.transformation';
|
|
309
|
+
export * from './entrypoint-payload';
|
|
310
|
+
export * as _EntrypointPayloadTransformation from './entrypoint-payload.transformation';
|
|
311
|
+
export * from './entrypoint-payload-type';
|
|
312
|
+
export * as _EntrypointPayloadTypeTransformation from './entrypoint-payload-type.transformation';
|
|
273
313
|
export * from './enum-type';
|
|
274
314
|
export * as _EnumTypeTransformation from './enum-type.transformation';
|
|
275
315
|
export * from './enum-type-type';
|
|
@@ -390,6 +430,8 @@ export * from './filtered-counts-dto';
|
|
|
390
430
|
export * as _FilteredCountsDtoTransformation from './filtered-counts-dto.transformation';
|
|
391
431
|
export * from './from-position';
|
|
392
432
|
export * as _FromPositionTransformation from './from-position.transformation';
|
|
433
|
+
export * from './function-definition';
|
|
434
|
+
export * as _FunctionDefinitionTransformation from './function-definition.transformation';
|
|
393
435
|
export * from './get-all-active-gates-query-auto-update';
|
|
394
436
|
export * as _GetAllActiveGatesQueryAutoUpdateTransformation from './get-all-active-gates-query-auto-update.transformation';
|
|
395
437
|
export * from './get-all-active-gates-query-disabled-module-item';
|
|
@@ -454,6 +496,10 @@ export * from './hashicorp-certificate';
|
|
|
454
496
|
export * as _HashicorpCertificateTransformation from './hashicorp-certificate.transformation';
|
|
455
497
|
export * from './hashicorp-certificate-config';
|
|
456
498
|
export * as _HashicorpCertificateConfigTransformation from './hashicorp-certificate-config.transformation';
|
|
499
|
+
export * from './http-protocol-details';
|
|
500
|
+
export * as _HttpProtocolDetailsTransformation from './http-protocol-details.transformation';
|
|
501
|
+
export * from './http-request-parameter';
|
|
502
|
+
export * as _HttpRequestParameterTransformation from './http-request-parameter.transformation';
|
|
457
503
|
export * from './impact';
|
|
458
504
|
export * as _ImpactTransformation from './impact.transformation';
|
|
459
505
|
export * from './impact-analysis';
|
|
@@ -640,6 +686,8 @@ export * from './property-definition-modification-policy';
|
|
|
640
686
|
export * as _PropertyDefinitionModificationPolicyTransformation from './property-definition-modification-policy.transformation';
|
|
641
687
|
export * from './property-definition-type';
|
|
642
688
|
export * as _PropertyDefinitionTypeTransformation from './property-definition-type.transformation';
|
|
689
|
+
export * from './protocol-details';
|
|
690
|
+
export * as _ProtocolDetailsTransformation from './protocol-details.transformation';
|
|
643
691
|
export * from './public-certificate-credentials';
|
|
644
692
|
export * as _PublicCertificateCredentialsTransformation from './public-certificate-credentials.transformation';
|
|
645
693
|
export * from './public-synthetic-location';
|
|
@@ -670,6 +718,8 @@ export * from './releases';
|
|
|
670
718
|
export * as _ReleasesTransformation from './releases.transformation';
|
|
671
719
|
export * from './remediation-assessment';
|
|
672
720
|
export * as _RemediationAssessmentTransformation from './remediation-assessment.transformation';
|
|
721
|
+
export * from './remediation-assessment-assessment-accuracy';
|
|
722
|
+
export * as _RemediationAssessmentAssessmentAccuracyTransformation from './remediation-assessment-assessment-accuracy.transformation';
|
|
673
723
|
export * from './remediation-assessment-data-assets';
|
|
674
724
|
export * as _RemediationAssessmentDataAssetsTransformation from './remediation-assessment-data-assets.transformation';
|
|
675
725
|
export * from './remediation-assessment-exposure';
|
|
@@ -730,6 +780,8 @@ export * from './remediation-progress-entity-state';
|
|
|
730
780
|
export * as _RemediationProgressEntityStateTransformation from './remediation-progress-entity-state.transformation';
|
|
731
781
|
export * from './remediation-progress-vulnerable-component';
|
|
732
782
|
export * as _RemediationProgressVulnerableComponentTransformation from './remediation-progress-vulnerable-component.transformation';
|
|
783
|
+
export * from './request-information';
|
|
784
|
+
export * as _RequestInformationTransformation from './request-information.transformation';
|
|
733
785
|
export * from './risk-assessment';
|
|
734
786
|
export * as _RiskAssessmentTransformation from './risk-assessment.transformation';
|
|
735
787
|
export * from './risk-assessment-assessment-accuracy';
|
|
@@ -822,6 +874,10 @@ export * from './schema-type-type';
|
|
|
822
874
|
export * as _SchemaTypeTypeTransformation from './schema-type-type.transformation';
|
|
823
875
|
export * from './schemas-list';
|
|
824
876
|
export * as _SchemasListTransformation from './schemas-list.transformation';
|
|
877
|
+
export * from './security-context-dto-impl';
|
|
878
|
+
export * as _SecurityContextDtoImplTransformation from './security-context-dto-impl.transformation';
|
|
879
|
+
export * from './security-context-result-dto';
|
|
880
|
+
export * as _SecurityContextResultDtoTransformation from './security-context-result-dto.transformation';
|
|
825
881
|
export * from './security-problem';
|
|
826
882
|
export * as _SecurityProblemTransformation from './security-problem.transformation';
|
|
827
883
|
export * from './security-problem-bulk-muting-summary';
|
|
@@ -1014,6 +1070,14 @@ export * from './tracking-link-update';
|
|
|
1014
1070
|
export * as _TrackingLinkUpdateTransformation from './tracking-link-update.transformation';
|
|
1015
1071
|
export * from './transactional-evidence';
|
|
1016
1072
|
export * as _TransactionalEvidenceTransformation from './transactional-evidence.transformation';
|
|
1073
|
+
export * from './truncatable-list-attack-request-header';
|
|
1074
|
+
export * as _TruncatableListAttackRequestHeaderTransformation from './truncatable-list-attack-request-header.transformation';
|
|
1075
|
+
export * from './truncatable-list-http-request-parameter';
|
|
1076
|
+
export * as _TruncatableListHttpRequestParameterTransformation from './truncatable-list-http-request-parameter.transformation';
|
|
1077
|
+
export * from './truncatable-list-string';
|
|
1078
|
+
export * as _TruncatableListStringTransformation from './truncatable-list-string.transformation';
|
|
1079
|
+
export * from './truncation-info';
|
|
1080
|
+
export * as _TruncationInfoTransformation from './truncation-info.transformation';
|
|
1017
1081
|
export * from './ui-button-customization';
|
|
1018
1082
|
export * as _UiButtonCustomizationTransformation from './ui-button-customization.transformation';
|
|
1019
1083
|
export * from './ui-button-customization-insert';
|
|
@@ -1062,6 +1126,8 @@ export * from './user-password-credentials';
|
|
|
1062
1126
|
export * as _UserPasswordCredentialsTransformation from './user-password-credentials.transformation';
|
|
1063
1127
|
export * from './validation-response';
|
|
1064
1128
|
export * as _ValidationResponseTransformation from './validation-response.transformation';
|
|
1129
|
+
export * from './vulnerability';
|
|
1130
|
+
export * as _VulnerabilityTransformation from './vulnerability.transformation';
|
|
1065
1131
|
export * from './vulnerable-component';
|
|
1066
1132
|
export * as _VulnerableComponentTransformation from './vulnerable-component.transformation';
|
|
1067
1133
|
export * from './vulnerable-function';
|