@microsoft/msgraph-sdk-security 1.0.0-preview.30 → 1.0.0-preview.39
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/package.json +2 -2
- package/security/attackSimulation/payloads/item/index.d.ts +4 -3
- package/security/attackSimulation/payloads/item/index.d.ts.map +1 -1
- package/security/attackSimulation/payloads/item/index.js.map +1 -1
- package/security/cases/ediscoveryCases/item/custodians/item/microsoftGraphSecurityApplyHold/index.d.ts +2 -2
- package/security/cases/ediscoveryCases/item/custodians/item/siteSources/index.d.ts +3 -3
- package/security/cases/ediscoveryCases/item/custodians/item/userSources/index.d.ts +3 -3
- package/security/cases/ediscoveryCases/item/searches/item/microsoftGraphSecurityExportReport/index.d.ts +3 -2
- package/security/cases/ediscoveryCases/item/searches/item/microsoftGraphSecurityExportReport/index.d.ts.map +1 -1
- package/security/cases/ediscoveryCases/item/searches/item/microsoftGraphSecurityExportReport/index.js.map +1 -1
- package/security/cases/ediscoveryCases/item/searches/item/microsoftGraphSecurityExportResult/index.d.ts +3 -2
- package/security/cases/ediscoveryCases/item/searches/item/microsoftGraphSecurityExportResult/index.d.ts.map +1 -1
- package/security/cases/ediscoveryCases/item/searches/item/microsoftGraphSecurityExportResult/index.js.map +1 -1
- package/security/cases/ediscoveryCases/item/searches/item/microsoftGraphSecurityPurgeData/index.d.ts +2 -2
- package/security/cases/ediscoveryCases/item/tags/item/childTags/index.d.ts +4 -3
- package/security/cases/ediscoveryCases/item/tags/item/childTags/index.d.ts.map +1 -1
- package/security/cases/ediscoveryCases/item/tags/item/childTags/index.js.map +1 -1
- package/security/identities/index.d.ts +5 -0
- package/security/identities/index.d.ts.map +1 -1
- package/security/identities/index.js +6 -0
- package/security/identities/index.js.map +1 -1
- package/security/identities/sensors/count/index.d.ts +41 -0
- package/security/identities/sensors/count/index.d.ts.map +1 -0
- package/security/identities/sensors/count/index.js +34 -0
- package/security/identities/sensors/count/index.js.map +1 -0
- package/security/identities/sensors/index.d.ts +113 -0
- package/security/identities/sensors/index.d.ts.map +1 -0
- package/security/identities/sensors/index.js +86 -0
- package/security/identities/sensors/index.js.map +1 -0
- package/security/identities/sensors/item/healthIssues/count/index.d.ts +41 -0
- package/security/identities/sensors/item/healthIssues/count/index.d.ts.map +1 -0
- package/security/identities/sensors/item/healthIssues/count/index.js +34 -0
- package/security/identities/sensors/item/healthIssues/count/index.js.map +1 -0
- package/security/identities/sensors/item/healthIssues/index.d.ts +82 -0
- package/security/identities/sensors/item/healthIssues/index.d.ts.map +1 -0
- package/security/identities/sensors/item/healthIssues/index.js +58 -0
- package/security/identities/sensors/item/healthIssues/index.js.map +1 -0
- package/security/identities/sensors/item/healthIssues/item/index.d.ts +42 -0
- package/security/identities/sensors/item/healthIssues/item/index.d.ts.map +1 -0
- package/security/identities/sensors/item/healthIssues/item/index.js +36 -0
- package/security/identities/sensors/item/healthIssues/item/index.js.map +1 -0
- package/security/identities/sensors/item/index.d.ts +81 -0
- package/security/identities/sensors/item/index.d.ts.map +1 -0
- package/security/identities/sensors/item/index.js +67 -0
- package/security/identities/sensors/item/index.js.map +1 -0
- package/security/identities/sensors/microsoftGraphSecurityGetDeploymentAccessKey/index.d.ts +29 -0
- package/security/identities/sensors/microsoftGraphSecurityGetDeploymentAccessKey/index.d.ts.map +1 -0
- package/security/identities/sensors/microsoftGraphSecurityGetDeploymentAccessKey/index.js +28 -0
- package/security/identities/sensors/microsoftGraphSecurityGetDeploymentAccessKey/index.js.map +1 -0
- package/security/identities/sensors/microsoftGraphSecurityGetDeploymentPackageUri/index.d.ts +29 -0
- package/security/identities/sensors/microsoftGraphSecurityGetDeploymentPackageUri/index.d.ts.map +1 -0
- package/security/identities/sensors/microsoftGraphSecurityGetDeploymentPackageUri/index.js +28 -0
- package/security/identities/sensors/microsoftGraphSecurityGetDeploymentPackageUri/index.js.map +1 -0
- package/security/identities/sensors/microsoftGraphSecurityRegenerateDeploymentAccessKey/index.d.ts +29 -0
- package/security/identities/sensors/microsoftGraphSecurityRegenerateDeploymentAccessKey/index.d.ts.map +1 -0
- package/security/identities/sensors/microsoftGraphSecurityRegenerateDeploymentAccessKey/index.js +28 -0
- package/security/identities/sensors/microsoftGraphSecurityRegenerateDeploymentAccessKey/index.js.map +1 -0
- package/security/subjectRightsRequests/item/approversWithUserPrincipalName/index.d.ts +42 -0
- package/security/subjectRightsRequests/item/approversWithUserPrincipalName/index.d.ts.map +1 -0
- package/security/subjectRightsRequests/item/approversWithUserPrincipalName/index.js +36 -0
- package/security/subjectRightsRequests/item/approversWithUserPrincipalName/index.js.map +1 -0
- package/security/subjectRightsRequests/item/collaboratorsWithUserPrincipalName/index.d.ts +42 -0
- package/security/subjectRightsRequests/item/collaboratorsWithUserPrincipalName/index.d.ts.map +1 -0
- package/security/subjectRightsRequests/item/collaboratorsWithUserPrincipalName/index.js +36 -0
- package/security/subjectRightsRequests/item/collaboratorsWithUserPrincipalName/index.js.map +1 -0
- package/security/subjectRightsRequests/item/index.d.ts +14 -0
- package/security/subjectRightsRequests/item/index.d.ts.map +1 -1
- package/security/subjectRightsRequests/item/index.js +12 -0
- package/security/subjectRightsRequests/item/index.js.map +1 -1
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
|
|
6
|
+
// @ts-ignore
|
|
7
|
+
import { createSensorCollectionResponseFromDiscriminatorValue, createSensorFromDiscriminatorValue, serializeSensor } from '@microsoft/msgraph-sdk/models/security/index.js';
|
|
8
|
+
// @ts-ignore
|
|
9
|
+
import { CountRequestBuilderRequestsMetadata } from './count/index.js';
|
|
10
|
+
// @ts-ignore
|
|
11
|
+
import { SensorItemRequestBuilderNavigationMetadata, SensorItemRequestBuilderRequestsMetadata } from './item/index.js';
|
|
12
|
+
// @ts-ignore
|
|
13
|
+
import { MicrosoftGraphSecurityGetDeploymentAccessKeyRequestBuilderRequestsMetadata } from './microsoftGraphSecurityGetDeploymentAccessKey/index.js';
|
|
14
|
+
// @ts-ignore
|
|
15
|
+
import { MicrosoftGraphSecurityGetDeploymentPackageUriRequestBuilderRequestsMetadata } from './microsoftGraphSecurityGetDeploymentPackageUri/index.js';
|
|
16
|
+
// @ts-ignore
|
|
17
|
+
import { MicrosoftGraphSecurityRegenerateDeploymentAccessKeyRequestBuilderRequestsMetadata } from './microsoftGraphSecurityRegenerateDeploymentAccessKey/index.js';
|
|
18
|
+
/**
|
|
19
|
+
* Uri template for the request builder.
|
|
20
|
+
*/
|
|
21
|
+
export const SensorsRequestBuilderUriTemplate = "{+baseurl}/security/identities/sensors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
|
|
22
|
+
/**
|
|
23
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
24
|
+
*/
|
|
25
|
+
const SensorsRequestBuilderGetQueryParametersMapper = {
|
|
26
|
+
"count": "%24count",
|
|
27
|
+
"expand": "%24expand",
|
|
28
|
+
"filter": "%24filter",
|
|
29
|
+
"orderby": "%24orderby",
|
|
30
|
+
"search": "%24search",
|
|
31
|
+
"select": "%24select",
|
|
32
|
+
"skip": "%24skip",
|
|
33
|
+
"top": "%24top",
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* Metadata for all the navigation properties in the request builder.
|
|
37
|
+
*/
|
|
38
|
+
export const SensorsRequestBuilderNavigationMetadata = {
|
|
39
|
+
bySensorId: {
|
|
40
|
+
requestsMetadata: SensorItemRequestBuilderRequestsMetadata,
|
|
41
|
+
navigationMetadata: SensorItemRequestBuilderNavigationMetadata,
|
|
42
|
+
pathParametersMappings: ["sensor%2Did"],
|
|
43
|
+
},
|
|
44
|
+
count: {
|
|
45
|
+
requestsMetadata: CountRequestBuilderRequestsMetadata,
|
|
46
|
+
},
|
|
47
|
+
microsoftGraphSecurityGetDeploymentAccessKey: {
|
|
48
|
+
requestsMetadata: MicrosoftGraphSecurityGetDeploymentAccessKeyRequestBuilderRequestsMetadata,
|
|
49
|
+
},
|
|
50
|
+
microsoftGraphSecurityGetDeploymentPackageUri: {
|
|
51
|
+
requestsMetadata: MicrosoftGraphSecurityGetDeploymentPackageUriRequestBuilderRequestsMetadata,
|
|
52
|
+
},
|
|
53
|
+
microsoftGraphSecurityRegenerateDeploymentAccessKey: {
|
|
54
|
+
requestsMetadata: MicrosoftGraphSecurityRegenerateDeploymentAccessKeyRequestBuilderRequestsMetadata,
|
|
55
|
+
},
|
|
56
|
+
};
|
|
57
|
+
/**
|
|
58
|
+
* Metadata for all the requests in the request builder.
|
|
59
|
+
*/
|
|
60
|
+
export const SensorsRequestBuilderRequestsMetadata = {
|
|
61
|
+
get: {
|
|
62
|
+
uriTemplate: SensorsRequestBuilderUriTemplate,
|
|
63
|
+
responseBodyContentType: "application/json",
|
|
64
|
+
errorMappings: {
|
|
65
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
66
|
+
},
|
|
67
|
+
adapterMethodName: "send",
|
|
68
|
+
responseBodyFactory: createSensorCollectionResponseFromDiscriminatorValue,
|
|
69
|
+
queryParametersMapper: SensorsRequestBuilderGetQueryParametersMapper,
|
|
70
|
+
},
|
|
71
|
+
post: {
|
|
72
|
+
uriTemplate: SensorsRequestBuilderUriTemplate,
|
|
73
|
+
responseBodyContentType: "application/json",
|
|
74
|
+
errorMappings: {
|
|
75
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
76
|
+
},
|
|
77
|
+
adapterMethodName: "send",
|
|
78
|
+
responseBodyFactory: createSensorFromDiscriminatorValue,
|
|
79
|
+
requestBodyContentType: "application/json",
|
|
80
|
+
requestBodySerializer: serializeSensor,
|
|
81
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
82
|
+
},
|
|
83
|
+
};
|
|
84
|
+
/* tslint:enable */
|
|
85
|
+
/* eslint-enable */
|
|
86
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAC7H,aAAa;AACb,OAAO,EAAE,oDAAoD,EAAE,kCAAkC,EAAE,eAAe,EAA8C,MAAM,iDAAiD,CAAC;AACxN,aAAa;AACb,OAAO,EAAE,mCAAmC,EAA4B,MAAM,kBAAkB,CAAC;AACjG,aAAa;AACb,OAAO,EAAE,0CAA0C,EAAE,wCAAwC,EAAiC,MAAM,iBAAiB,CAAC;AACtJ,aAAa;AACb,OAAO,EAAE,0EAA0E,EAAmE,MAAM,yDAAyD,CAAC;AACtN,aAAa;AACb,OAAO,EAAE,2EAA2E,EAAoE,MAAM,0DAA0D,CAAC;AACzN,aAAa;AACb,OAAO,EAAE,iFAAiF,EAA0E,MAAM,gEAAgE,CAAC;AAiG3O;;GAEG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAG,qHAAqH,CAAC;AACtK;;GAEG;AACH,MAAM,6CAA6C,GAA2B;IAC1E,OAAO,EAAE,UAAU;IACnB,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;IACrB,SAAS,EAAE,YAAY;IACvB,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;IACrB,MAAM,EAAE,SAAS;IACjB,KAAK,EAAE,QAAQ;CAClB,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,uCAAuC,GAAyG;IACzJ,UAAU,EAAE;QACR,gBAAgB,EAAE,wCAAwC;QAC1D,kBAAkB,EAAE,0CAA0C;QAC9D,sBAAsB,EAAE,CAAC,aAAa,CAAC;KAC1C;IACD,KAAK,EAAE;QACH,gBAAgB,EAAE,mCAAmC;KACxD;IACD,4CAA4C,EAAE;QAC1C,gBAAgB,EAAE,0EAA0E;KAC/F;IACD,6CAA6C,EAAE;QAC3C,gBAAgB,EAAE,2EAA2E;KAChG;IACD,mDAAmD,EAAE;QACjD,gBAAgB,EAAE,iFAAiF;KACtG;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,qCAAqC,GAAqB;IACnE,GAAG,EAAE;QACD,WAAW,EAAE,gCAAgC;QAC7C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,oDAAoD;QAC1E,qBAAqB,EAAE,6CAA6C;KACvE;IACD,IAAI,EAAE;QACF,WAAW,EAAE,gCAAgC;QAC7C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,kCAAkC;QACxD,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,eAAe;QACtC,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
2
|
+
/**
|
|
3
|
+
* Provides operations to count the resources in the collection.
|
|
4
|
+
*/
|
|
5
|
+
export interface CountRequestBuilder extends BaseRequestBuilder<CountRequestBuilder> {
|
|
6
|
+
/**
|
|
7
|
+
* Get the number of the resource
|
|
8
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
9
|
+
* @returns {Promise<number>}
|
|
10
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
11
|
+
*/
|
|
12
|
+
get(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): Promise<number | undefined>;
|
|
13
|
+
/**
|
|
14
|
+
* Get the number of the resource
|
|
15
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
16
|
+
* @returns {RequestInformation}
|
|
17
|
+
*/
|
|
18
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Get the number of the resource
|
|
22
|
+
*/
|
|
23
|
+
export interface CountRequestBuilderGetQueryParameters {
|
|
24
|
+
/**
|
|
25
|
+
* Filter items by property values
|
|
26
|
+
*/
|
|
27
|
+
filter?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Search items by search phrases
|
|
30
|
+
*/
|
|
31
|
+
search?: string;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Uri template for the request builder.
|
|
35
|
+
*/
|
|
36
|
+
export declare const CountRequestBuilderUriTemplate = "{+baseurl}/security/identities/sensors/{sensor%2Did}/healthIssues/$count{?%24filter,%24search}";
|
|
37
|
+
/**
|
|
38
|
+
* Metadata for all the requests in the request builder.
|
|
39
|
+
*/
|
|
40
|
+
export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
41
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB,CAAC,mBAAmB,CAAC;IAChF;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACnI;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACjJ;AACD;;GAEG;AACH,MAAM,WAAW,qCAAqC;IAClD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AACD;;GAEG;AACH,eAAO,MAAM,8BAA8B,mGAAmG,CAAC;AAQ/I;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAWjD,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
|
|
6
|
+
/**
|
|
7
|
+
* Uri template for the request builder.
|
|
8
|
+
*/
|
|
9
|
+
export const CountRequestBuilderUriTemplate = "{+baseurl}/security/identities/sensors/{sensor%2Did}/healthIssues/$count{?%24filter,%24search}";
|
|
10
|
+
/**
|
|
11
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
12
|
+
*/
|
|
13
|
+
const CountRequestBuilderGetQueryParametersMapper = {
|
|
14
|
+
"filter": "%24filter",
|
|
15
|
+
"search": "%24search",
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Metadata for all the requests in the request builder.
|
|
19
|
+
*/
|
|
20
|
+
export const CountRequestBuilderRequestsMetadata = {
|
|
21
|
+
get: {
|
|
22
|
+
uriTemplate: CountRequestBuilderUriTemplate,
|
|
23
|
+
responseBodyContentType: "text/plain;q=0.9",
|
|
24
|
+
errorMappings: {
|
|
25
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
26
|
+
},
|
|
27
|
+
adapterMethodName: "sendPrimitive",
|
|
28
|
+
responseBodyFactory: "number",
|
|
29
|
+
queryParametersMapper: CountRequestBuilderGetQueryParametersMapper,
|
|
30
|
+
},
|
|
31
|
+
};
|
|
32
|
+
/* tslint:enable */
|
|
33
|
+
/* eslint-enable */
|
|
34
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAmC7H;;GAEG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAG,gGAAgG,CAAC;AAC/I;;GAEG;AACH,MAAM,2CAA2C,GAA2B;IACxE,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;CACxB,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,mCAAmC,GAAqB;IACjE,GAAG,EAAE;QACD,WAAW,EAAE,8BAA8B;QAC3C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,eAAe;QAClC,mBAAmB,EAAG,QAAQ;QAC9B,qBAAqB,EAAE,2CAA2C;KACrE;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { type HealthIssueCollectionResponse } from '@microsoft/msgraph-sdk/models/security/index.js';
|
|
2
|
+
import { type CountRequestBuilder } from './count/index.js';
|
|
3
|
+
import { type HealthIssueItemRequestBuilder } from './item/index.js';
|
|
4
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
5
|
+
/**
|
|
6
|
+
* Provides operations to manage the healthIssues property of the microsoft.graph.security.sensor entity.
|
|
7
|
+
*/
|
|
8
|
+
export interface HealthIssuesRequestBuilder extends BaseRequestBuilder<HealthIssuesRequestBuilder> {
|
|
9
|
+
/**
|
|
10
|
+
* Provides operations to count the resources in the collection.
|
|
11
|
+
*/
|
|
12
|
+
get count(): CountRequestBuilder;
|
|
13
|
+
/**
|
|
14
|
+
* Provides operations to manage the healthIssues property of the microsoft.graph.security.sensor entity.
|
|
15
|
+
* @param healthIssueId The unique identifier of healthIssue
|
|
16
|
+
* @returns {HealthIssueItemRequestBuilder}
|
|
17
|
+
*/
|
|
18
|
+
byHealthIssueId(healthIssueId: string): HealthIssueItemRequestBuilder;
|
|
19
|
+
/**
|
|
20
|
+
* Represents potential issues within a customer's Microsoft Defender for Identity configuration that Microsoft Defender for Identity identified related to the sensor.
|
|
21
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
22
|
+
* @returns {Promise<HealthIssueCollectionResponse>}
|
|
23
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
24
|
+
*/
|
|
25
|
+
get(requestConfiguration?: RequestConfiguration<HealthIssuesRequestBuilderGetQueryParameters> | undefined): Promise<HealthIssueCollectionResponse | undefined>;
|
|
26
|
+
/**
|
|
27
|
+
* Represents potential issues within a customer's Microsoft Defender for Identity configuration that Microsoft Defender for Identity identified related to the sensor.
|
|
28
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
29
|
+
* @returns {RequestInformation}
|
|
30
|
+
*/
|
|
31
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<HealthIssuesRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Represents potential issues within a customer's Microsoft Defender for Identity configuration that Microsoft Defender for Identity identified related to the sensor.
|
|
35
|
+
*/
|
|
36
|
+
export interface HealthIssuesRequestBuilderGetQueryParameters {
|
|
37
|
+
/**
|
|
38
|
+
* Include count of items
|
|
39
|
+
*/
|
|
40
|
+
count?: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* Expand related entities
|
|
43
|
+
*/
|
|
44
|
+
expand?: string[];
|
|
45
|
+
/**
|
|
46
|
+
* Filter items by property values
|
|
47
|
+
*/
|
|
48
|
+
filter?: string;
|
|
49
|
+
/**
|
|
50
|
+
* Order items by property values
|
|
51
|
+
*/
|
|
52
|
+
orderby?: string[];
|
|
53
|
+
/**
|
|
54
|
+
* Search items by search phrases
|
|
55
|
+
*/
|
|
56
|
+
search?: string;
|
|
57
|
+
/**
|
|
58
|
+
* Select properties to be returned
|
|
59
|
+
*/
|
|
60
|
+
select?: string[];
|
|
61
|
+
/**
|
|
62
|
+
* Skip the first n items
|
|
63
|
+
*/
|
|
64
|
+
skip?: number;
|
|
65
|
+
/**
|
|
66
|
+
* Show only the first n items
|
|
67
|
+
*/
|
|
68
|
+
top?: number;
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Uri template for the request builder.
|
|
72
|
+
*/
|
|
73
|
+
export declare const HealthIssuesRequestBuilderUriTemplate = "{+baseurl}/security/identities/sensors/{sensor%2Did}/healthIssues{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
|
|
74
|
+
/**
|
|
75
|
+
* Metadata for all the navigation properties in the request builder.
|
|
76
|
+
*/
|
|
77
|
+
export declare const HealthIssuesRequestBuilderNavigationMetadata: Record<Exclude<keyof HealthIssuesRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
78
|
+
/**
|
|
79
|
+
* Metadata for all the requests in the request builder.
|
|
80
|
+
*/
|
|
81
|
+
export declare const HealthIssuesRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
82
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAMA,OAAO,EAA6D,KAAK,6BAA6B,EAAE,MAAM,iDAAiD,CAAC;AAEhK,OAAO,EAAuC,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAEjG,OAAO,EAAiD,KAAK,6BAA6B,EAAE,MAAM,iBAAiB,CAAC;AAEpH,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAE1P;;GAEG;AACH,MAAM,WAAW,0BAA2B,SAAQ,kBAAkB,CAAC,0BAA0B,CAAC;IAC9F;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,eAAe,CAAC,aAAa,EAAE,MAAM,GAAI,6BAA6B,CAAC;IACxE;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,4CAA4C,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,6BAA6B,GAAG,SAAS,CAAC,CAAC;IACjK;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,4CAA4C,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACxJ;AACD;;GAEG;AACH,MAAM,WAAW,4CAA4C;IACzD;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CAChB;AACD;;GAEG;AACH,eAAO,MAAM,qCAAqC,mJAAmJ,CAAC;AActM;;GAEG;AACH,eAAO,MAAM,4CAA4C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,0BAA0B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAQlK,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,0CAA0C,EAAE,gBAWxD,CAAC"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
|
|
6
|
+
// @ts-ignore
|
|
7
|
+
import { createHealthIssueCollectionResponseFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/security/index.js';
|
|
8
|
+
// @ts-ignore
|
|
9
|
+
import { CountRequestBuilderRequestsMetadata } from './count/index.js';
|
|
10
|
+
// @ts-ignore
|
|
11
|
+
import { HealthIssueItemRequestBuilderRequestsMetadata } from './item/index.js';
|
|
12
|
+
/**
|
|
13
|
+
* Uri template for the request builder.
|
|
14
|
+
*/
|
|
15
|
+
export const HealthIssuesRequestBuilderUriTemplate = "{+baseurl}/security/identities/sensors/{sensor%2Did}/healthIssues{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
|
|
16
|
+
/**
|
|
17
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
18
|
+
*/
|
|
19
|
+
const HealthIssuesRequestBuilderGetQueryParametersMapper = {
|
|
20
|
+
"count": "%24count",
|
|
21
|
+
"expand": "%24expand",
|
|
22
|
+
"filter": "%24filter",
|
|
23
|
+
"orderby": "%24orderby",
|
|
24
|
+
"search": "%24search",
|
|
25
|
+
"select": "%24select",
|
|
26
|
+
"skip": "%24skip",
|
|
27
|
+
"top": "%24top",
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Metadata for all the navigation properties in the request builder.
|
|
31
|
+
*/
|
|
32
|
+
export const HealthIssuesRequestBuilderNavigationMetadata = {
|
|
33
|
+
byHealthIssueId: {
|
|
34
|
+
requestsMetadata: HealthIssueItemRequestBuilderRequestsMetadata,
|
|
35
|
+
pathParametersMappings: ["healthIssue%2Did"],
|
|
36
|
+
},
|
|
37
|
+
count: {
|
|
38
|
+
requestsMetadata: CountRequestBuilderRequestsMetadata,
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* Metadata for all the requests in the request builder.
|
|
43
|
+
*/
|
|
44
|
+
export const HealthIssuesRequestBuilderRequestsMetadata = {
|
|
45
|
+
get: {
|
|
46
|
+
uriTemplate: HealthIssuesRequestBuilderUriTemplate,
|
|
47
|
+
responseBodyContentType: "application/json",
|
|
48
|
+
errorMappings: {
|
|
49
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
50
|
+
},
|
|
51
|
+
adapterMethodName: "send",
|
|
52
|
+
responseBodyFactory: createHealthIssueCollectionResponseFromDiscriminatorValue,
|
|
53
|
+
queryParametersMapper: HealthIssuesRequestBuilderGetQueryParametersMapper,
|
|
54
|
+
},
|
|
55
|
+
};
|
|
56
|
+
/* tslint:enable */
|
|
57
|
+
/* eslint-enable */
|
|
58
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAC7H,aAAa;AACb,OAAO,EAAE,yDAAyD,EAAsC,MAAM,iDAAiD,CAAC;AAChK,aAAa;AACb,OAAO,EAAE,mCAAmC,EAA4B,MAAM,kBAAkB,CAAC;AACjG,aAAa;AACb,OAAO,EAAE,6CAA6C,EAAsC,MAAM,iBAAiB,CAAC;AAqEpH;;GAEG;AACH,MAAM,CAAC,MAAM,qCAAqC,GAAG,gJAAgJ,CAAC;AACtM;;GAEG;AACH,MAAM,kDAAkD,GAA2B;IAC/E,OAAO,EAAE,UAAU;IACnB,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;IACrB,SAAS,EAAE,YAAY;IACvB,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;IACrB,MAAM,EAAE,SAAS;IACjB,KAAK,EAAE,QAAQ;CAClB,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,4CAA4C,GAA8G;IACnK,eAAe,EAAE;QACb,gBAAgB,EAAE,6CAA6C;QAC/D,sBAAsB,EAAE,CAAC,kBAAkB,CAAC;KAC/C;IACD,KAAK,EAAE;QACH,gBAAgB,EAAE,mCAAmC;KACxD;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,0CAA0C,GAAqB;IACxE,GAAG,EAAE;QACD,WAAW,EAAE,qCAAqC;QAClD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,yDAAyD;QAC/E,qBAAqB,EAAE,kDAAkD;KAC5E;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { type HealthIssue } from '@microsoft/msgraph-sdk/models/security/index.js';
|
|
2
|
+
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
3
|
+
/**
|
|
4
|
+
* Provides operations to manage the healthIssues property of the microsoft.graph.security.sensor entity.
|
|
5
|
+
*/
|
|
6
|
+
export interface HealthIssueItemRequestBuilder extends BaseRequestBuilder<HealthIssueItemRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* Represents potential issues within a customer's Microsoft Defender for Identity configuration that Microsoft Defender for Identity identified related to the sensor.
|
|
9
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
|
+
* @returns {Promise<HealthIssue>}
|
|
11
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
12
|
+
*/
|
|
13
|
+
get(requestConfiguration?: RequestConfiguration<HealthIssueItemRequestBuilderGetQueryParameters> | undefined): Promise<HealthIssue | undefined>;
|
|
14
|
+
/**
|
|
15
|
+
* Represents potential issues within a customer's Microsoft Defender for Identity configuration that Microsoft Defender for Identity identified related to the sensor.
|
|
16
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
17
|
+
* @returns {RequestInformation}
|
|
18
|
+
*/
|
|
19
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<HealthIssueItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Represents potential issues within a customer's Microsoft Defender for Identity configuration that Microsoft Defender for Identity identified related to the sensor.
|
|
23
|
+
*/
|
|
24
|
+
export interface HealthIssueItemRequestBuilderGetQueryParameters {
|
|
25
|
+
/**
|
|
26
|
+
* Expand related entities
|
|
27
|
+
*/
|
|
28
|
+
expand?: string[];
|
|
29
|
+
/**
|
|
30
|
+
* Select properties to be returned
|
|
31
|
+
*/
|
|
32
|
+
select?: string[];
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Uri template for the request builder.
|
|
36
|
+
*/
|
|
37
|
+
export declare const HealthIssueItemRequestBuilderUriTemplate = "{+baseurl}/security/identities/sensors/{sensor%2Did}/healthIssues/{healthIssue%2Did}{?%24expand,%24select}";
|
|
38
|
+
/**
|
|
39
|
+
* Metadata for all the requests in the request builder.
|
|
40
|
+
*/
|
|
41
|
+
export declare const HealthIssueItemRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
42
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAMA,OAAO,EAA2C,KAAK,WAAW,EAAE,MAAM,iDAAiD,CAAC;AAE5H,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,6BAA8B,SAAQ,kBAAkB,CAAC,6BAA6B,CAAC;IACpG;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,+CAA+C,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC,CAAC;IAClJ;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,+CAA+C,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC3J;AACD;;GAEG;AACH,MAAM,WAAW,+CAA+C;IAC5D;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,wCAAwC,+GAA+G,CAAC;AAQrK;;GAEG;AACH,eAAO,MAAM,6CAA6C,EAAE,gBAW3D,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
|
|
6
|
+
// @ts-ignore
|
|
7
|
+
import { createHealthIssueFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/security/index.js';
|
|
8
|
+
/**
|
|
9
|
+
* Uri template for the request builder.
|
|
10
|
+
*/
|
|
11
|
+
export const HealthIssueItemRequestBuilderUriTemplate = "{+baseurl}/security/identities/sensors/{sensor%2Did}/healthIssues/{healthIssue%2Did}{?%24expand,%24select}";
|
|
12
|
+
/**
|
|
13
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
14
|
+
*/
|
|
15
|
+
const HealthIssueItemRequestBuilderGetQueryParametersMapper = {
|
|
16
|
+
"expand": "%24expand",
|
|
17
|
+
"select": "%24select",
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* Metadata for all the requests in the request builder.
|
|
21
|
+
*/
|
|
22
|
+
export const HealthIssueItemRequestBuilderRequestsMetadata = {
|
|
23
|
+
get: {
|
|
24
|
+
uriTemplate: HealthIssueItemRequestBuilderUriTemplate,
|
|
25
|
+
responseBodyContentType: "application/json",
|
|
26
|
+
errorMappings: {
|
|
27
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
28
|
+
},
|
|
29
|
+
adapterMethodName: "send",
|
|
30
|
+
responseBodyFactory: createHealthIssueFromDiscriminatorValue,
|
|
31
|
+
queryParametersMapper: HealthIssueItemRequestBuilderGetQueryParametersMapper,
|
|
32
|
+
},
|
|
33
|
+
};
|
|
34
|
+
/* tslint:enable */
|
|
35
|
+
/* eslint-enable */
|
|
36
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAC7H,aAAa;AACb,OAAO,EAAE,uCAAuC,EAAoB,MAAM,iDAAiD,CAAC;AAmC5H;;GAEG;AACH,MAAM,CAAC,MAAM,wCAAwC,GAAG,4GAA4G,CAAC;AACrK;;GAEG;AACH,MAAM,qDAAqD,GAA2B;IAClF,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;CACxB,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,6CAA6C,GAAqB;IAC3E,GAAG,EAAE;QACD,WAAW,EAAE,wCAAwC;QACrD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,uCAAuC;QAC7D,qBAAqB,EAAE,qDAAqD;KAC/E;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { type Sensor } from '@microsoft/msgraph-sdk/models/security/index.js';
|
|
2
|
+
import { type HealthIssuesRequestBuilder } from './healthIssues/index.js';
|
|
3
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
4
|
+
/**
|
|
5
|
+
* Provides operations to manage the sensors property of the microsoft.graph.security.identityContainer entity.
|
|
6
|
+
*/
|
|
7
|
+
export interface SensorItemRequestBuilder extends BaseRequestBuilder<SensorItemRequestBuilder> {
|
|
8
|
+
/**
|
|
9
|
+
* Provides operations to manage the healthIssues property of the microsoft.graph.security.sensor entity.
|
|
10
|
+
*/
|
|
11
|
+
get healthIssues(): HealthIssuesRequestBuilder;
|
|
12
|
+
/**
|
|
13
|
+
* Delete a sensor object.
|
|
14
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
15
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
16
|
+
* @see {@link https://learn.microsoft.com/graph/api/security-sensor-delete?view=graph-rest-1.0|Find more info here}
|
|
17
|
+
*/
|
|
18
|
+
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
19
|
+
/**
|
|
20
|
+
* Read the properties and relationships of a sensor object.
|
|
21
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
22
|
+
* @returns {Promise<Sensor>}
|
|
23
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
24
|
+
* @see {@link https://learn.microsoft.com/graph/api/security-sensor-get?view=graph-rest-1.0|Find more info here}
|
|
25
|
+
*/
|
|
26
|
+
get(requestConfiguration?: RequestConfiguration<SensorItemRequestBuilderGetQueryParameters> | undefined): Promise<Sensor | undefined>;
|
|
27
|
+
/**
|
|
28
|
+
* Update the properties of a sensor object.
|
|
29
|
+
* @param body The request body
|
|
30
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
31
|
+
* @returns {Promise<Sensor>}
|
|
32
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
33
|
+
* @see {@link https://learn.microsoft.com/graph/api/security-sensor-update?view=graph-rest-1.0|Find more info here}
|
|
34
|
+
*/
|
|
35
|
+
patch(body: Sensor, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Sensor | undefined>;
|
|
36
|
+
/**
|
|
37
|
+
* Delete a sensor object.
|
|
38
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
39
|
+
* @returns {RequestInformation}
|
|
40
|
+
*/
|
|
41
|
+
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
42
|
+
/**
|
|
43
|
+
* Read the properties and relationships of a sensor object.
|
|
44
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
45
|
+
* @returns {RequestInformation}
|
|
46
|
+
*/
|
|
47
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<SensorItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
48
|
+
/**
|
|
49
|
+
* Update the properties of a sensor object.
|
|
50
|
+
* @param body The request body
|
|
51
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
52
|
+
* @returns {RequestInformation}
|
|
53
|
+
*/
|
|
54
|
+
toPatchRequestInformation(body: Sensor, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Read the properties and relationships of a sensor object.
|
|
58
|
+
*/
|
|
59
|
+
export interface SensorItemRequestBuilderGetQueryParameters {
|
|
60
|
+
/**
|
|
61
|
+
* Expand related entities
|
|
62
|
+
*/
|
|
63
|
+
expand?: string[];
|
|
64
|
+
/**
|
|
65
|
+
* Select properties to be returned
|
|
66
|
+
*/
|
|
67
|
+
select?: string[];
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Uri template for the request builder.
|
|
71
|
+
*/
|
|
72
|
+
export declare const SensorItemRequestBuilderUriTemplate = "{+baseurl}/security/identities/sensors/{sensor%2Did}{?%24expand,%24select}";
|
|
73
|
+
/**
|
|
74
|
+
* Metadata for all the navigation properties in the request builder.
|
|
75
|
+
*/
|
|
76
|
+
export declare const SensorItemRequestBuilderNavigationMetadata: Record<Exclude<keyof SensorItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
77
|
+
/**
|
|
78
|
+
* Metadata for all the requests in the request builder.
|
|
79
|
+
*/
|
|
80
|
+
export declare const SensorItemRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
81
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAuD,KAAK,MAAM,EAAE,MAAM,iDAAiD,CAAC;AAEnI,OAAO,EAA4F,KAAK,0BAA0B,EAAE,MAAM,yBAAyB,CAAC;AAEpK,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAE1P;;GAEG;AACH,MAAM,WAAW,wBAAyB,SAAQ,kBAAkB,CAAC,wBAAwB,CAAC;IAC1F;;OAEG;IACH,IAAI,YAAY,IAAI,0BAA0B,CAAC;IAC/C;;;;;OAKG;IACF,MAAM,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACzF;;;;;;OAMG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,0CAA0C,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxI;;;;;;;OAOG;IACF,KAAK,CAAC,IAAI,EAAE,MAAM,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACpH;;;;OAIG;IACF,0BAA0B,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAClH;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,0CAA0C,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACnJ;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,MAAM,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAClI;AACD;;GAEG;AACH,MAAM,WAAW,0CAA0C;IACvD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,mCAAmC,+EAA+E,CAAC;AAQhI;;GAEG;AACH,eAAO,MAAM,0CAA0C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,wBAAwB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAK9J,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,wCAAwC,EAAE,gBA+BtD,CAAC"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
|
|
6
|
+
// @ts-ignore
|
|
7
|
+
import { createSensorFromDiscriminatorValue, serializeSensor } from '@microsoft/msgraph-sdk/models/security/index.js';
|
|
8
|
+
// @ts-ignore
|
|
9
|
+
import { HealthIssuesRequestBuilderNavigationMetadata, HealthIssuesRequestBuilderRequestsMetadata } from './healthIssues/index.js';
|
|
10
|
+
/**
|
|
11
|
+
* Uri template for the request builder.
|
|
12
|
+
*/
|
|
13
|
+
export const SensorItemRequestBuilderUriTemplate = "{+baseurl}/security/identities/sensors/{sensor%2Did}{?%24expand,%24select}";
|
|
14
|
+
/**
|
|
15
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
16
|
+
*/
|
|
17
|
+
const SensorItemRequestBuilderGetQueryParametersMapper = {
|
|
18
|
+
"expand": "%24expand",
|
|
19
|
+
"select": "%24select",
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Metadata for all the navigation properties in the request builder.
|
|
23
|
+
*/
|
|
24
|
+
export const SensorItemRequestBuilderNavigationMetadata = {
|
|
25
|
+
healthIssues: {
|
|
26
|
+
requestsMetadata: HealthIssuesRequestBuilderRequestsMetadata,
|
|
27
|
+
navigationMetadata: HealthIssuesRequestBuilderNavigationMetadata,
|
|
28
|
+
},
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Metadata for all the requests in the request builder.
|
|
32
|
+
*/
|
|
33
|
+
export const SensorItemRequestBuilderRequestsMetadata = {
|
|
34
|
+
delete: {
|
|
35
|
+
uriTemplate: SensorItemRequestBuilderUriTemplate,
|
|
36
|
+
responseBodyContentType: "application/json",
|
|
37
|
+
errorMappings: {
|
|
38
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
39
|
+
},
|
|
40
|
+
adapterMethodName: "sendNoResponseContent",
|
|
41
|
+
},
|
|
42
|
+
get: {
|
|
43
|
+
uriTemplate: SensorItemRequestBuilderUriTemplate,
|
|
44
|
+
responseBodyContentType: "application/json",
|
|
45
|
+
errorMappings: {
|
|
46
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
47
|
+
},
|
|
48
|
+
adapterMethodName: "send",
|
|
49
|
+
responseBodyFactory: createSensorFromDiscriminatorValue,
|
|
50
|
+
queryParametersMapper: SensorItemRequestBuilderGetQueryParametersMapper,
|
|
51
|
+
},
|
|
52
|
+
patch: {
|
|
53
|
+
uriTemplate: SensorItemRequestBuilderUriTemplate,
|
|
54
|
+
responseBodyContentType: "application/json",
|
|
55
|
+
errorMappings: {
|
|
56
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
57
|
+
},
|
|
58
|
+
adapterMethodName: "send",
|
|
59
|
+
responseBodyFactory: createSensorFromDiscriminatorValue,
|
|
60
|
+
requestBodyContentType: "application/json",
|
|
61
|
+
requestBodySerializer: serializeSensor,
|
|
62
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
63
|
+
},
|
|
64
|
+
};
|
|
65
|
+
/* tslint:enable */
|
|
66
|
+
/* eslint-enable */
|
|
67
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAC7H,aAAa;AACb,OAAO,EAAE,kCAAkC,EAAE,eAAe,EAAe,MAAM,iDAAiD,CAAC;AACnI,aAAa;AACb,OAAO,EAAE,4CAA4C,EAAE,0CAA0C,EAAmC,MAAM,yBAAyB,CAAC;AAqEpK;;GAEG;AACH,MAAM,CAAC,MAAM,mCAAmC,GAAG,4EAA4E,CAAC;AAChI;;GAEG;AACH,MAAM,gDAAgD,GAA2B;IAC7E,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;CACxB,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,0CAA0C,GAA4G;IAC/J,YAAY,EAAE;QACV,gBAAgB,EAAE,0CAA0C;QAC5D,kBAAkB,EAAE,4CAA4C;KACnE;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,wCAAwC,GAAqB;IACtE,MAAM,EAAE;QACJ,WAAW,EAAE,mCAAmC;QAChD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,uBAAuB;KAC7C;IACD,GAAG,EAAE;QACD,WAAW,EAAE,mCAAmC;QAChD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,kCAAkC;QACxD,qBAAqB,EAAE,gDAAgD;KAC1E;IACD,KAAK,EAAE;QACH,WAAW,EAAE,mCAAmC;QAChD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,kCAAkC;QACxD,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,eAAe;QACtC,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { type DeploymentAccessKeyType } from '@microsoft/msgraph-sdk/models/security/index.js';
|
|
2
|
+
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
3
|
+
/**
|
|
4
|
+
* Provides operations to call the getDeploymentAccessKey method.
|
|
5
|
+
*/
|
|
6
|
+
export interface MicrosoftGraphSecurityGetDeploymentAccessKeyRequestBuilder extends BaseRequestBuilder<MicrosoftGraphSecurityGetDeploymentAccessKeyRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* Get the deployment access key for Microsoft Defender for Identity that is required to install sensors associated with the workspace.
|
|
9
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
|
+
* @returns {Promise<DeploymentAccessKeyType>}
|
|
11
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
12
|
+
*/
|
|
13
|
+
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<DeploymentAccessKeyType | undefined>;
|
|
14
|
+
/**
|
|
15
|
+
* Get the deployment access key for Microsoft Defender for Identity that is required to install sensors associated with the workspace.
|
|
16
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
17
|
+
* @returns {RequestInformation}
|
|
18
|
+
*/
|
|
19
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Uri template for the request builder.
|
|
23
|
+
*/
|
|
24
|
+
export declare const MicrosoftGraphSecurityGetDeploymentAccessKeyRequestBuilderUriTemplate = "{+baseurl}/security/identities/sensors/microsoft.graph.security.getDeploymentAccessKey()";
|
|
25
|
+
/**
|
|
26
|
+
* Metadata for all the requests in the request builder.
|
|
27
|
+
*/
|
|
28
|
+
export declare const MicrosoftGraphSecurityGetDeploymentAccessKeyRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
29
|
+
//# sourceMappingURL=index.d.ts.map
|
package/security/identities/sensors/microsoftGraphSecurityGetDeploymentAccessKey/index.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAuD,KAAK,uBAAuB,EAAE,MAAM,iDAAiD,CAAC;AAEpJ,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,0DAA2D,SAAQ,kBAAkB,CAAC,0DAA0D,CAAC;IAC9J;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,uBAAuB,GAAG,SAAS,CAAC,CAAC;IACrH;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAClH;AACD;;GAEG;AACH,eAAO,MAAM,qEAAqE,6FAA6F,CAAC;AAChL;;GAEG;AACH,eAAO,MAAM,0EAA0E,EAAE,gBAUxF,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
|
|
6
|
+
// @ts-ignore
|
|
7
|
+
import { createDeploymentAccessKeyTypeFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/security/index.js';
|
|
8
|
+
/**
|
|
9
|
+
* Uri template for the request builder.
|
|
10
|
+
*/
|
|
11
|
+
export const MicrosoftGraphSecurityGetDeploymentAccessKeyRequestBuilderUriTemplate = "{+baseurl}/security/identities/sensors/microsoft.graph.security.getDeploymentAccessKey()";
|
|
12
|
+
/**
|
|
13
|
+
* Metadata for all the requests in the request builder.
|
|
14
|
+
*/
|
|
15
|
+
export const MicrosoftGraphSecurityGetDeploymentAccessKeyRequestBuilderRequestsMetadata = {
|
|
16
|
+
get: {
|
|
17
|
+
uriTemplate: MicrosoftGraphSecurityGetDeploymentAccessKeyRequestBuilderUriTemplate,
|
|
18
|
+
responseBodyContentType: "application/json",
|
|
19
|
+
errorMappings: {
|
|
20
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
21
|
+
},
|
|
22
|
+
adapterMethodName: "send",
|
|
23
|
+
responseBodyFactory: createDeploymentAccessKeyTypeFromDiscriminatorValue,
|
|
24
|
+
},
|
|
25
|
+
};
|
|
26
|
+
/* tslint:enable */
|
|
27
|
+
/* eslint-enable */
|
|
28
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAC7H,aAAa;AACb,OAAO,EAAE,mDAAmD,EAAgC,MAAM,iDAAiD,CAAC;AAsBpJ;;GAEG;AACH,MAAM,CAAC,MAAM,qEAAqE,GAAG,0FAA0F,CAAC;AAChL;;GAEG;AACH,MAAM,CAAC,MAAM,0EAA0E,GAAqB;IACxG,GAAG,EAAE;QACD,WAAW,EAAE,qEAAqE;QAClF,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,mDAAmD;KAC5E;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|