@microsoft/msgraph-sdk-security 1.0.0-preview.21 → 1.0.0-preview.23
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 +3 -3
- package/security/alerts/index.d.ts +4 -3
- package/security/alerts/index.d.ts.map +1 -1
- package/security/alerts/item/index.d.ts +7 -5
- package/security/alerts/item/index.d.ts.map +1 -1
- package/security/alerts_v2/index.d.ts +4 -3
- package/security/alerts_v2/index.d.ts.map +1 -1
- package/security/alerts_v2/item/comments/index.d.ts +3 -2
- package/security/alerts_v2/item/comments/index.d.ts.map +1 -1
- package/security/alerts_v2/item/index.d.ts +7 -5
- package/security/alerts_v2/item/index.d.ts.map +1 -1
- package/security/attackSimulation/endUserNotifications/index.d.ts +4 -3
- package/security/attackSimulation/endUserNotifications/index.d.ts.map +1 -1
- package/security/attackSimulation/landingPages/index.d.ts +4 -3
- package/security/attackSimulation/landingPages/index.d.ts.map +1 -1
- package/security/attackSimulation/loginPages/index.d.ts +4 -3
- package/security/attackSimulation/loginPages/index.d.ts.map +1 -1
- package/security/attackSimulation/operations/index.d.ts +3 -3
- package/security/attackSimulation/operations/item/index.d.ts +4 -3
- package/security/attackSimulation/operations/item/index.d.ts.map +1 -1
- package/security/attackSimulation/payloads/index.d.ts +4 -3
- package/security/attackSimulation/payloads/index.d.ts.map +1 -1
- package/security/attackSimulation/simulationAutomations/index.d.ts +4 -3
- package/security/attackSimulation/simulationAutomations/index.d.ts.map +1 -1
- package/security/attackSimulation/simulationAutomations/item/index.d.ts +4 -3
- package/security/attackSimulation/simulationAutomations/item/index.d.ts.map +1 -1
- package/security/attackSimulation/simulationAutomations/item/runs/index.d.ts +4 -3
- package/security/attackSimulation/simulationAutomations/item/runs/index.d.ts.map +1 -1
- package/security/attackSimulation/simulations/index.d.ts +7 -5
- package/security/attackSimulation/simulations/index.d.ts.map +1 -1
- package/security/attackSimulation/simulations/item/index.d.ts +10 -7
- package/security/attackSimulation/simulations/item/index.d.ts.map +1 -1
- package/security/attackSimulation/trainings/index.d.ts +4 -3
- package/security/attackSimulation/trainings/index.d.ts.map +1 -1
- package/security/cases/ediscoveryCases/index.d.ts +7 -5
- package/security/cases/ediscoveryCases/index.d.ts.map +1 -1
- package/security/cases/ediscoveryCases/item/custodians/index.d.ts +7 -5
- package/security/cases/ediscoveryCases/item/custodians/index.d.ts.map +1 -1
- package/security/cases/ediscoveryCases/item/custodians/item/index.d.ts +4 -3
- package/security/cases/ediscoveryCases/item/custodians/item/index.d.ts.map +1 -1
- package/security/cases/ediscoveryCases/item/index.d.ts +10 -7
- package/security/cases/ediscoveryCases/item/index.d.ts.map +1 -1
- package/security/cases/ediscoveryCases/item/noncustodialDataSources/index.d.ts +3 -2
- package/security/cases/ediscoveryCases/item/noncustodialDataSources/index.d.ts.map +1 -1
- package/security/cases/ediscoveryCases/item/operations/index.d.ts +4 -3
- package/security/cases/ediscoveryCases/item/operations/index.d.ts.map +1 -1
- package/security/cases/ediscoveryCases/item/operations/item/index.d.ts +4 -3
- package/security/cases/ediscoveryCases/item/operations/item/index.d.ts.map +1 -1
- package/security/cases/ediscoveryCases/item/reviewSets/index.d.ts +7 -5
- package/security/cases/ediscoveryCases/item/reviewSets/index.d.ts.map +1 -1
- package/security/cases/ediscoveryCases/item/reviewSets/item/index.d.ts +4 -3
- package/security/cases/ediscoveryCases/item/reviewSets/item/index.d.ts.map +1 -1
- package/security/cases/ediscoveryCases/item/searches/index.d.ts +7 -5
- package/security/cases/ediscoveryCases/item/searches/index.d.ts.map +1 -1
- package/security/cases/ediscoveryCases/item/searches/item/index.d.ts +10 -7
- package/security/cases/ediscoveryCases/item/searches/item/index.d.ts.map +1 -1
- package/security/cases/ediscoveryCases/item/settings/index.d.ts +7 -5
- package/security/cases/ediscoveryCases/item/settings/index.d.ts.map +1 -1
- package/security/cases/ediscoveryCases/item/tags/index.d.ts +7 -5
- package/security/cases/ediscoveryCases/item/tags/index.d.ts.map +1 -1
- package/security/cases/ediscoveryCases/item/tags/item/index.d.ts +10 -7
- package/security/cases/ediscoveryCases/item/tags/item/index.d.ts.map +1 -1
- package/security/identities/healthIssues/count/index.d.ts +41 -0
- package/security/identities/healthIssues/count/index.d.ts.map +1 -0
- package/security/identities/healthIssues/count/index.js +36 -0
- package/security/identities/healthIssues/index.d.ts +97 -0
- package/security/identities/healthIssues/index.d.ts.map +1 -0
- package/security/identities/healthIssues/index.js +72 -0
- package/security/identities/healthIssues/item/index.d.ts +69 -0
- package/security/identities/healthIssues/item/index.d.ts.map +1 -0
- package/security/identities/healthIssues/item/index.js +58 -0
- package/security/identities/index.d.ts +78 -0
- package/security/identities/index.d.ts.map +1 -0
- package/security/identities/index.js +69 -0
- package/security/incidents/index.d.ts +4 -3
- package/security/incidents/index.d.ts.map +1 -1
- package/security/incidents/item/index.d.ts +7 -5
- package/security/incidents/item/index.d.ts.map +1 -1
- package/security/index.d.ts +5 -0
- package/security/index.d.ts.map +1 -1
- package/security/index.js +6 -0
- package/security/labels/authorities/index.d.ts +7 -5
- package/security/labels/authorities/index.d.ts.map +1 -1
- package/security/labels/authorities/item/index.d.ts +7 -5
- package/security/labels/authorities/item/index.d.ts.map +1 -1
- package/security/labels/categories/index.d.ts +7 -5
- package/security/labels/categories/index.d.ts.map +1 -1
- package/security/labels/categories/item/index.d.ts +7 -5
- package/security/labels/categories/item/index.d.ts.map +1 -1
- package/security/labels/categories/item/subcategories/index.d.ts +7 -5
- package/security/labels/categories/item/subcategories/index.d.ts.map +1 -1
- package/security/labels/categories/item/subcategories/item/index.d.ts +4 -3
- package/security/labels/categories/item/subcategories/item/index.d.ts.map +1 -1
- package/security/labels/citations/index.d.ts +7 -5
- package/security/labels/citations/index.d.ts.map +1 -1
- package/security/labels/citations/item/index.d.ts +7 -5
- package/security/labels/citations/item/index.d.ts.map +1 -1
- package/security/labels/departments/index.d.ts +7 -5
- package/security/labels/departments/index.d.ts.map +1 -1
- package/security/labels/departments/item/index.d.ts +7 -5
- package/security/labels/departments/item/index.d.ts.map +1 -1
- package/security/labels/filePlanReferences/index.d.ts +7 -5
- package/security/labels/filePlanReferences/index.d.ts.map +1 -1
- package/security/labels/filePlanReferences/item/index.d.ts +7 -5
- package/security/labels/filePlanReferences/item/index.d.ts.map +1 -1
- package/security/labels/retentionLabels/index.d.ts +7 -5
- package/security/labels/retentionLabels/index.d.ts.map +1 -1
- package/security/labels/retentionLabels/item/index.d.ts +6 -4
- package/security/labels/retentionLabels/item/index.d.ts.map +1 -1
- package/security/microsoftGraphSecurityRunHuntingQuery/index.d.ts +2 -2
- package/security/secureScoreControlProfiles/index.d.ts +4 -3
- package/security/secureScoreControlProfiles/index.d.ts.map +1 -1
- package/security/secureScoreControlProfiles/item/index.d.ts +7 -5
- package/security/secureScoreControlProfiles/item/index.d.ts.map +1 -1
- package/security/secureScores/index.d.ts +4 -3
- package/security/secureScores/index.d.ts.map +1 -1
- package/security/secureScores/item/index.d.ts +4 -3
- package/security/secureScores/item/index.d.ts.map +1 -1
- package/security/threatIntelligence/articleIndicators/index.d.ts +3 -3
- package/security/threatIntelligence/articleIndicators/item/index.d.ts +4 -3
- package/security/threatIntelligence/articleIndicators/item/index.d.ts.map +1 -1
- package/security/threatIntelligence/articles/index.d.ts +4 -3
- package/security/threatIntelligence/articles/index.d.ts.map +1 -1
- package/security/threatIntelligence/articles/item/index.d.ts +4 -3
- package/security/threatIntelligence/articles/item/index.d.ts.map +1 -1
- package/security/threatIntelligence/articles/item/indicators/index.d.ts +4 -3
- package/security/threatIntelligence/articles/item/indicators/index.d.ts.map +1 -1
- package/security/threatIntelligence/hostComponents/index.d.ts +3 -3
- package/security/threatIntelligence/hostComponents/item/index.d.ts +4 -3
- package/security/threatIntelligence/hostComponents/item/index.d.ts.map +1 -1
- package/security/threatIntelligence/hostCookies/index.d.ts +3 -3
- package/security/threatIntelligence/hostCookies/item/index.d.ts +4 -3
- package/security/threatIntelligence/hostCookies/item/index.d.ts.map +1 -1
- package/security/threatIntelligence/hostPairs/index.d.ts +3 -3
- package/security/threatIntelligence/hostPairs/item/index.d.ts +4 -3
- package/security/threatIntelligence/hostPairs/item/index.d.ts.map +1 -1
- package/security/threatIntelligence/hostPorts/index.d.ts +3 -3
- package/security/threatIntelligence/hostPorts/item/index.d.ts +4 -3
- package/security/threatIntelligence/hostPorts/item/index.d.ts.map +1 -1
- package/security/threatIntelligence/hostSslCertificates/index.d.ts +3 -3
- package/security/threatIntelligence/hostSslCertificates/item/index.d.ts +4 -3
- package/security/threatIntelligence/hostSslCertificates/item/index.d.ts.map +1 -1
- package/security/threatIntelligence/hostTrackers/index.d.ts +3 -3
- package/security/threatIntelligence/hostTrackers/item/index.d.ts +4 -3
- package/security/threatIntelligence/hostTrackers/item/index.d.ts.map +1 -1
- package/security/threatIntelligence/hosts/index.d.ts +3 -3
- package/security/threatIntelligence/hosts/item/childHostPairs/index.d.ts +4 -3
- package/security/threatIntelligence/hosts/item/childHostPairs/index.d.ts.map +1 -1
- package/security/threatIntelligence/hosts/item/components/index.d.ts +4 -3
- package/security/threatIntelligence/hosts/item/components/index.d.ts.map +1 -1
- package/security/threatIntelligence/hosts/item/cookies/index.d.ts +4 -3
- package/security/threatIntelligence/hosts/item/cookies/index.d.ts.map +1 -1
- package/security/threatIntelligence/hosts/item/hostPairs/index.d.ts +4 -3
- package/security/threatIntelligence/hosts/item/hostPairs/index.d.ts.map +1 -1
- package/security/threatIntelligence/hosts/item/index.d.ts +4 -3
- package/security/threatIntelligence/hosts/item/index.d.ts.map +1 -1
- package/security/threatIntelligence/hosts/item/parentHostPairs/index.d.ts +4 -3
- package/security/threatIntelligence/hosts/item/parentHostPairs/index.d.ts.map +1 -1
- package/security/threatIntelligence/hosts/item/passiveDns/index.d.ts +4 -3
- package/security/threatIntelligence/hosts/item/passiveDns/index.d.ts.map +1 -1
- package/security/threatIntelligence/hosts/item/passiveDnsReverse/index.d.ts +4 -3
- package/security/threatIntelligence/hosts/item/passiveDnsReverse/index.d.ts.map +1 -1
- package/security/threatIntelligence/hosts/item/ports/index.d.ts +4 -3
- package/security/threatIntelligence/hosts/item/ports/index.d.ts.map +1 -1
- package/security/threatIntelligence/hosts/item/reputation/index.d.ts +4 -3
- package/security/threatIntelligence/hosts/item/reputation/index.d.ts.map +1 -1
- package/security/threatIntelligence/hosts/item/sslCertificates/index.d.ts +4 -3
- package/security/threatIntelligence/hosts/item/sslCertificates/index.d.ts.map +1 -1
- package/security/threatIntelligence/hosts/item/subdomains/index.d.ts +4 -3
- package/security/threatIntelligence/hosts/item/subdomains/index.d.ts.map +1 -1
- package/security/threatIntelligence/hosts/item/trackers/index.d.ts +4 -3
- package/security/threatIntelligence/hosts/item/trackers/index.d.ts.map +1 -1
- package/security/threatIntelligence/hosts/item/whois/index.d.ts +4 -3
- package/security/threatIntelligence/hosts/item/whois/index.d.ts.map +1 -1
- package/security/threatIntelligence/intelProfiles/index.d.ts +4 -3
- package/security/threatIntelligence/intelProfiles/index.d.ts.map +1 -1
- package/security/threatIntelligence/intelProfiles/item/index.d.ts +4 -3
- package/security/threatIntelligence/intelProfiles/item/index.d.ts.map +1 -1
- package/security/threatIntelligence/intelProfiles/item/indicators/index.d.ts +4 -3
- package/security/threatIntelligence/intelProfiles/item/indicators/index.d.ts.map +1 -1
- package/security/threatIntelligence/intelligenceProfileIndicators/index.d.ts +3 -3
- package/security/threatIntelligence/intelligenceProfileIndicators/item/index.d.ts +4 -3
- package/security/threatIntelligence/intelligenceProfileIndicators/item/index.d.ts.map +1 -1
- package/security/threatIntelligence/passiveDnsRecords/index.d.ts +3 -3
- package/security/threatIntelligence/passiveDnsRecords/item/index.d.ts +4 -3
- package/security/threatIntelligence/passiveDnsRecords/item/index.d.ts.map +1 -1
- package/security/threatIntelligence/sslCertificates/index.d.ts +4 -3
- package/security/threatIntelligence/sslCertificates/index.d.ts.map +1 -1
- package/security/threatIntelligence/sslCertificates/item/index.d.ts +4 -3
- package/security/threatIntelligence/sslCertificates/item/index.d.ts.map +1 -1
- package/security/threatIntelligence/subdomains/index.d.ts +3 -3
- package/security/threatIntelligence/subdomains/item/index.d.ts +4 -3
- package/security/threatIntelligence/subdomains/item/index.d.ts.map +1 -1
- package/security/threatIntelligence/vulnerabilities/index.d.ts +3 -3
- package/security/threatIntelligence/vulnerabilities/item/components/index.d.ts +4 -3
- package/security/threatIntelligence/vulnerabilities/item/components/index.d.ts.map +1 -1
- package/security/threatIntelligence/vulnerabilities/item/components/item/index.d.ts +4 -3
- package/security/threatIntelligence/vulnerabilities/item/components/item/index.d.ts.map +1 -1
- package/security/threatIntelligence/vulnerabilities/item/index.d.ts +4 -3
- package/security/threatIntelligence/vulnerabilities/item/index.d.ts.map +1 -1
- package/security/threatIntelligence/whoisRecords/index.d.ts +4 -3
- package/security/threatIntelligence/whoisRecords/index.d.ts.map +1 -1
- package/security/threatIntelligence/whoisRecords/item/index.d.ts +4 -3
- package/security/threatIntelligence/whoisRecords/item/index.d.ts.map +1 -1
- package/security/triggerTypes/retentionEventTypes/index.d.ts +7 -5
- package/security/triggerTypes/retentionEventTypes/index.d.ts.map +1 -1
- package/security/triggerTypes/retentionEventTypes/item/index.d.ts +7 -5
- package/security/triggerTypes/retentionEventTypes/item/index.d.ts.map +1 -1
- package/security/triggers/retentionEvents/index.d.ts +7 -5
- package/security/triggers/retentionEvents/index.d.ts.map +1 -1
- package/security/triggers/retentionEvents/item/index.d.ts +7 -5
- package/security/triggers/retentionEvents/item/index.d.ts.map +1 -1
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.HealthIssuesRequestBuilderRequestsMetadata = exports.HealthIssuesRequestBuilderNavigationMetadata = exports.HealthIssuesRequestBuilderUriTemplate = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
// @ts-ignore
|
|
8
|
+
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
9
|
+
// @ts-ignore
|
|
10
|
+
const security_1 = require("@microsoft/msgraph-sdk/models/security/");
|
|
11
|
+
// @ts-ignore
|
|
12
|
+
const count_1 = require("./count/");
|
|
13
|
+
// @ts-ignore
|
|
14
|
+
const item_1 = require("./item/");
|
|
15
|
+
/**
|
|
16
|
+
* Uri template for the request builder.
|
|
17
|
+
*/
|
|
18
|
+
exports.HealthIssuesRequestBuilderUriTemplate = "{+baseurl}/security/identities/healthIssues{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
|
|
19
|
+
/**
|
|
20
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
21
|
+
*/
|
|
22
|
+
const HealthIssuesRequestBuilderGetQueryParametersMapper = {
|
|
23
|
+
"count": "%24count",
|
|
24
|
+
"expand": "%24expand",
|
|
25
|
+
"filter": "%24filter",
|
|
26
|
+
"orderby": "%24orderby",
|
|
27
|
+
"search": "%24search",
|
|
28
|
+
"select": "%24select",
|
|
29
|
+
"skip": "%24skip",
|
|
30
|
+
"top": "%24top",
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* Metadata for all the navigation properties in the request builder.
|
|
34
|
+
*/
|
|
35
|
+
exports.HealthIssuesRequestBuilderNavigationMetadata = {
|
|
36
|
+
byHealthIssueId: {
|
|
37
|
+
requestsMetadata: item_1.HealthIssueItemRequestBuilderRequestsMetadata,
|
|
38
|
+
pathParametersMappings: ["healthIssue%2Did"],
|
|
39
|
+
},
|
|
40
|
+
count: {
|
|
41
|
+
requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
|
|
42
|
+
},
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* Metadata for all the requests in the request builder.
|
|
46
|
+
*/
|
|
47
|
+
exports.HealthIssuesRequestBuilderRequestsMetadata = {
|
|
48
|
+
get: {
|
|
49
|
+
uriTemplate: exports.HealthIssuesRequestBuilderUriTemplate,
|
|
50
|
+
responseBodyContentType: "application/json",
|
|
51
|
+
errorMappings: {
|
|
52
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
53
|
+
},
|
|
54
|
+
adapterMethodName: "send",
|
|
55
|
+
responseBodyFactory: security_1.createHealthIssueCollectionResponseFromDiscriminatorValue,
|
|
56
|
+
queryParametersMapper: HealthIssuesRequestBuilderGetQueryParametersMapper,
|
|
57
|
+
},
|
|
58
|
+
post: {
|
|
59
|
+
uriTemplate: exports.HealthIssuesRequestBuilderUriTemplate,
|
|
60
|
+
responseBodyContentType: "application/json",
|
|
61
|
+
errorMappings: {
|
|
62
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
63
|
+
},
|
|
64
|
+
adapterMethodName: "send",
|
|
65
|
+
responseBodyFactory: security_1.createHealthIssueFromDiscriminatorValue,
|
|
66
|
+
requestBodyContentType: "application/json",
|
|
67
|
+
requestBodySerializer: security_1.serializeHealthIssue,
|
|
68
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
69
|
+
},
|
|
70
|
+
};
|
|
71
|
+
/* tslint:enable */
|
|
72
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { type HealthIssue } from '@microsoft/msgraph-sdk/models/security/';
|
|
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.identityContainer entity.
|
|
5
|
+
*/
|
|
6
|
+
export interface HealthIssueItemRequestBuilder extends BaseRequestBuilder<HealthIssueItemRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* Delete navigation property healthIssues for security
|
|
9
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
11
|
+
*/
|
|
12
|
+
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
13
|
+
/**
|
|
14
|
+
* Get healthIssues from security
|
|
15
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
16
|
+
* @returns {Promise<HealthIssue>}
|
|
17
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
18
|
+
*/
|
|
19
|
+
get(requestConfiguration?: RequestConfiguration<HealthIssueItemRequestBuilderGetQueryParameters> | undefined): Promise<HealthIssue | undefined>;
|
|
20
|
+
/**
|
|
21
|
+
* Update the navigation property healthIssues in security
|
|
22
|
+
* @param body The request body
|
|
23
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
24
|
+
* @returns {Promise<HealthIssue>}
|
|
25
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
26
|
+
*/
|
|
27
|
+
patch(body: HealthIssue, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<HealthIssue | undefined>;
|
|
28
|
+
/**
|
|
29
|
+
* Delete navigation property healthIssues for security
|
|
30
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
31
|
+
* @returns {RequestInformation}
|
|
32
|
+
*/
|
|
33
|
+
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
34
|
+
/**
|
|
35
|
+
* Get healthIssues from security
|
|
36
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
37
|
+
* @returns {RequestInformation}
|
|
38
|
+
*/
|
|
39
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<HealthIssueItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
40
|
+
/**
|
|
41
|
+
* Update the navigation property healthIssues in security
|
|
42
|
+
* @param body The request body
|
|
43
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
44
|
+
* @returns {RequestInformation}
|
|
45
|
+
*/
|
|
46
|
+
toPatchRequestInformation(body: HealthIssue, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Get healthIssues from security
|
|
50
|
+
*/
|
|
51
|
+
export interface HealthIssueItemRequestBuilderGetQueryParameters {
|
|
52
|
+
/**
|
|
53
|
+
* Expand related entities
|
|
54
|
+
*/
|
|
55
|
+
expand?: string[];
|
|
56
|
+
/**
|
|
57
|
+
* Select properties to be returned
|
|
58
|
+
*/
|
|
59
|
+
select?: string[];
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Uri template for the request builder.
|
|
63
|
+
*/
|
|
64
|
+
export declare const HealthIssueItemRequestBuilderUriTemplate = "{+baseurl}/security/identities/healthIssues/{healthIssue%2Did}{?%24expand,%24select}";
|
|
65
|
+
/**
|
|
66
|
+
* Metadata for all the requests in the request builder.
|
|
67
|
+
*/
|
|
68
|
+
export declare const HealthIssueItemRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
69
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAiE,KAAK,WAAW,EAAE,MAAM,yCAAyC,CAAC;AAE1I,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;;;;OAIG;IACF,MAAM,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACzF;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,+CAA+C,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC,CAAC;IAClJ;;;;;;OAMG;IACF,KAAK,CAAC,IAAI,EAAE,WAAW,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC,CAAC;IAC9H;;;;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,+CAA+C,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACxJ;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,WAAW,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACvI;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,yFAAyF,CAAC;AAQ/I;;GAEG;AACH,eAAO,MAAM,6CAA6C,EAAE,gBA+B3D,CAAC"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.HealthIssueItemRequestBuilderRequestsMetadata = exports.HealthIssueItemRequestBuilderUriTemplate = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
// @ts-ignore
|
|
8
|
+
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
9
|
+
// @ts-ignore
|
|
10
|
+
const security_1 = require("@microsoft/msgraph-sdk/models/security/");
|
|
11
|
+
/**
|
|
12
|
+
* Uri template for the request builder.
|
|
13
|
+
*/
|
|
14
|
+
exports.HealthIssueItemRequestBuilderUriTemplate = "{+baseurl}/security/identities/healthIssues/{healthIssue%2Did}{?%24expand,%24select}";
|
|
15
|
+
/**
|
|
16
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
17
|
+
*/
|
|
18
|
+
const HealthIssueItemRequestBuilderGetQueryParametersMapper = {
|
|
19
|
+
"expand": "%24expand",
|
|
20
|
+
"select": "%24select",
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* Metadata for all the requests in the request builder.
|
|
24
|
+
*/
|
|
25
|
+
exports.HealthIssueItemRequestBuilderRequestsMetadata = {
|
|
26
|
+
delete: {
|
|
27
|
+
uriTemplate: exports.HealthIssueItemRequestBuilderUriTemplate,
|
|
28
|
+
responseBodyContentType: "application/json",
|
|
29
|
+
errorMappings: {
|
|
30
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
31
|
+
},
|
|
32
|
+
adapterMethodName: "sendNoResponseContent",
|
|
33
|
+
},
|
|
34
|
+
get: {
|
|
35
|
+
uriTemplate: exports.HealthIssueItemRequestBuilderUriTemplate,
|
|
36
|
+
responseBodyContentType: "application/json",
|
|
37
|
+
errorMappings: {
|
|
38
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
39
|
+
},
|
|
40
|
+
adapterMethodName: "send",
|
|
41
|
+
responseBodyFactory: security_1.createHealthIssueFromDiscriminatorValue,
|
|
42
|
+
queryParametersMapper: HealthIssueItemRequestBuilderGetQueryParametersMapper,
|
|
43
|
+
},
|
|
44
|
+
patch: {
|
|
45
|
+
uriTemplate: exports.HealthIssueItemRequestBuilderUriTemplate,
|
|
46
|
+
responseBodyContentType: "application/json",
|
|
47
|
+
errorMappings: {
|
|
48
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
49
|
+
},
|
|
50
|
+
adapterMethodName: "send",
|
|
51
|
+
responseBodyFactory: security_1.createHealthIssueFromDiscriminatorValue,
|
|
52
|
+
requestBodyContentType: "application/json",
|
|
53
|
+
requestBodySerializer: security_1.serializeHealthIssue,
|
|
54
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
55
|
+
},
|
|
56
|
+
};
|
|
57
|
+
/* tslint:enable */
|
|
58
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { type IdentityContainer } from '@microsoft/msgraph-sdk/models/security/';
|
|
2
|
+
import { type HealthIssuesRequestBuilder } from './healthIssues/';
|
|
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 identities property of the microsoft.graph.security entity.
|
|
6
|
+
*/
|
|
7
|
+
export interface IdentitiesRequestBuilder extends BaseRequestBuilder<IdentitiesRequestBuilder> {
|
|
8
|
+
/**
|
|
9
|
+
* Provides operations to manage the healthIssues property of the microsoft.graph.security.identityContainer entity.
|
|
10
|
+
*/
|
|
11
|
+
get healthIssues(): HealthIssuesRequestBuilder;
|
|
12
|
+
/**
|
|
13
|
+
* Delete navigation property identities for security
|
|
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
|
+
*/
|
|
17
|
+
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
18
|
+
/**
|
|
19
|
+
* Get identities from security
|
|
20
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
21
|
+
* @returns {Promise<IdentityContainer>}
|
|
22
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
23
|
+
*/
|
|
24
|
+
get(requestConfiguration?: RequestConfiguration<IdentitiesRequestBuilderGetQueryParameters> | undefined): Promise<IdentityContainer | undefined>;
|
|
25
|
+
/**
|
|
26
|
+
* Update the navigation property identities in security
|
|
27
|
+
* @param body The request body
|
|
28
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
29
|
+
* @returns {Promise<IdentityContainer>}
|
|
30
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
31
|
+
*/
|
|
32
|
+
patch(body: IdentityContainer, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<IdentityContainer | undefined>;
|
|
33
|
+
/**
|
|
34
|
+
* Delete navigation property identities for security
|
|
35
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
36
|
+
* @returns {RequestInformation}
|
|
37
|
+
*/
|
|
38
|
+
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
39
|
+
/**
|
|
40
|
+
* Get identities from security
|
|
41
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
42
|
+
* @returns {RequestInformation}
|
|
43
|
+
*/
|
|
44
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<IdentitiesRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
45
|
+
/**
|
|
46
|
+
* Update the navigation property identities in security
|
|
47
|
+
* @param body The request body
|
|
48
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
49
|
+
* @returns {RequestInformation}
|
|
50
|
+
*/
|
|
51
|
+
toPatchRequestInformation(body: IdentityContainer, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Get identities from security
|
|
55
|
+
*/
|
|
56
|
+
export interface IdentitiesRequestBuilderGetQueryParameters {
|
|
57
|
+
/**
|
|
58
|
+
* Expand related entities
|
|
59
|
+
*/
|
|
60
|
+
expand?: string[];
|
|
61
|
+
/**
|
|
62
|
+
* Select properties to be returned
|
|
63
|
+
*/
|
|
64
|
+
select?: string[];
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Uri template for the request builder.
|
|
68
|
+
*/
|
|
69
|
+
export declare const IdentitiesRequestBuilderUriTemplate = "{+baseurl}/security/identities{?%24expand,%24select}";
|
|
70
|
+
/**
|
|
71
|
+
* Metadata for all the navigation properties in the request builder.
|
|
72
|
+
*/
|
|
73
|
+
export declare const IdentitiesRequestBuilderNavigationMetadata: Record<Exclude<keyof IdentitiesRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
74
|
+
/**
|
|
75
|
+
* Metadata for all the requests in the request builder.
|
|
76
|
+
*/
|
|
77
|
+
export declare const IdentitiesRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
78
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAMA,OAAO,EAA6E,KAAK,iBAAiB,EAAE,MAAM,yCAAyC,CAAC;AAE5J,OAAO,EAA4F,KAAK,0BAA0B,EAAE,MAAM,iBAAiB,CAAC;AAE5J,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;;;;OAIG;IACF,MAAM,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACzF;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,0CAA0C,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,iBAAiB,GAAG,SAAS,CAAC,CAAC;IACnJ;;;;;;OAMG;IACF,KAAK,CAAC,IAAI,EAAE,iBAAiB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,iBAAiB,GAAG,SAAS,CAAC,CAAC;IAC1I;;;;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,iBAAiB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC7I;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,yDAAyD,CAAC;AAQ1G;;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,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.IdentitiesRequestBuilderRequestsMetadata = exports.IdentitiesRequestBuilderNavigationMetadata = exports.IdentitiesRequestBuilderUriTemplate = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
// @ts-ignore
|
|
8
|
+
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
9
|
+
// @ts-ignore
|
|
10
|
+
const security_1 = require("@microsoft/msgraph-sdk/models/security/");
|
|
11
|
+
// @ts-ignore
|
|
12
|
+
const healthIssues_1 = require("./healthIssues/");
|
|
13
|
+
/**
|
|
14
|
+
* Uri template for the request builder.
|
|
15
|
+
*/
|
|
16
|
+
exports.IdentitiesRequestBuilderUriTemplate = "{+baseurl}/security/identities{?%24expand,%24select}";
|
|
17
|
+
/**
|
|
18
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
19
|
+
*/
|
|
20
|
+
const IdentitiesRequestBuilderGetQueryParametersMapper = {
|
|
21
|
+
"expand": "%24expand",
|
|
22
|
+
"select": "%24select",
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* Metadata for all the navigation properties in the request builder.
|
|
26
|
+
*/
|
|
27
|
+
exports.IdentitiesRequestBuilderNavigationMetadata = {
|
|
28
|
+
healthIssues: {
|
|
29
|
+
requestsMetadata: healthIssues_1.HealthIssuesRequestBuilderRequestsMetadata,
|
|
30
|
+
navigationMetadata: healthIssues_1.HealthIssuesRequestBuilderNavigationMetadata,
|
|
31
|
+
},
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* Metadata for all the requests in the request builder.
|
|
35
|
+
*/
|
|
36
|
+
exports.IdentitiesRequestBuilderRequestsMetadata = {
|
|
37
|
+
delete: {
|
|
38
|
+
uriTemplate: exports.IdentitiesRequestBuilderUriTemplate,
|
|
39
|
+
responseBodyContentType: "application/json",
|
|
40
|
+
errorMappings: {
|
|
41
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
42
|
+
},
|
|
43
|
+
adapterMethodName: "sendNoResponseContent",
|
|
44
|
+
},
|
|
45
|
+
get: {
|
|
46
|
+
uriTemplate: exports.IdentitiesRequestBuilderUriTemplate,
|
|
47
|
+
responseBodyContentType: "application/json",
|
|
48
|
+
errorMappings: {
|
|
49
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
50
|
+
},
|
|
51
|
+
adapterMethodName: "send",
|
|
52
|
+
responseBodyFactory: security_1.createIdentityContainerFromDiscriminatorValue,
|
|
53
|
+
queryParametersMapper: IdentitiesRequestBuilderGetQueryParametersMapper,
|
|
54
|
+
},
|
|
55
|
+
patch: {
|
|
56
|
+
uriTemplate: exports.IdentitiesRequestBuilderUriTemplate,
|
|
57
|
+
responseBodyContentType: "application/json",
|
|
58
|
+
errorMappings: {
|
|
59
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
60
|
+
},
|
|
61
|
+
adapterMethodName: "send",
|
|
62
|
+
responseBodyFactory: security_1.createIdentityContainerFromDiscriminatorValue,
|
|
63
|
+
requestBodyContentType: "application/json",
|
|
64
|
+
requestBodySerializer: security_1.serializeIdentityContainer,
|
|
65
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
66
|
+
},
|
|
67
|
+
};
|
|
68
|
+
/* tslint:enable */
|
|
69
|
+
/* eslint-enable */
|
|
@@ -17,10 +17,11 @@ export interface IncidentsRequestBuilder extends BaseRequestBuilder<IncidentsReq
|
|
|
17
17
|
*/
|
|
18
18
|
byIncidentId(incidentId: string): IncidentItemRequestBuilder;
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* Get a list of incident objects that Microsoft 365 Defender created to track attacks in an organization. Attacks are typically inflicted on different types of entities, such as devices, users, and mailboxes, resulting in multiple alert objects. Microsoft 365 Defender correlates alerts with the same attack techniques or the same attacker into an incident. This operation allows you to filter and sort through incidents to create an informed cyber security response. It exposes a collection of incidents that were flagged in your network, within the time range you specified in your environment retention policy. The most recent incidents are displayed at the top of the list.
|
|
21
21
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
22
22
|
* @returns {Promise<IncidentCollectionResponse>}
|
|
23
23
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
24
|
+
* @see {@link https://learn.microsoft.com/graph/api/security-list-incidents?view=graph-rest-1.0|Find more info here}
|
|
24
25
|
*/
|
|
25
26
|
get(requestConfiguration?: RequestConfiguration<IncidentsRequestBuilderGetQueryParameters> | undefined): Promise<IncidentCollectionResponse | undefined>;
|
|
26
27
|
/**
|
|
@@ -32,7 +33,7 @@ export interface IncidentsRequestBuilder extends BaseRequestBuilder<IncidentsReq
|
|
|
32
33
|
*/
|
|
33
34
|
post(body: Incident, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Incident | undefined>;
|
|
34
35
|
/**
|
|
35
|
-
*
|
|
36
|
+
* Get a list of incident objects that Microsoft 365 Defender created to track attacks in an organization. Attacks are typically inflicted on different types of entities, such as devices, users, and mailboxes, resulting in multiple alert objects. Microsoft 365 Defender correlates alerts with the same attack techniques or the same attacker into an incident. This operation allows you to filter and sort through incidents to create an informed cyber security response. It exposes a collection of incidents that were flagged in your network, within the time range you specified in your environment retention policy. The most recent incidents are displayed at the top of the list.
|
|
36
37
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
37
38
|
* @returns {RequestInformation}
|
|
38
39
|
*/
|
|
@@ -46,7 +47,7 @@ export interface IncidentsRequestBuilder extends BaseRequestBuilder<IncidentsReq
|
|
|
46
47
|
toPostRequestInformation(body: Incident, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
47
48
|
}
|
|
48
49
|
/**
|
|
49
|
-
*
|
|
50
|
+
* Get a list of incident objects that Microsoft 365 Defender created to track attacks in an organization. Attacks are typically inflicted on different types of entities, such as devices, users, and mailboxes, resulting in multiple alert objects. Microsoft 365 Defender correlates alerts with the same attack techniques or the same attacker into an incident. This operation allows you to filter and sort through incidents to create an informed cyber security response. It exposes a collection of incidents that were flagged in your network, within the time range you specified in your environment retention policy. The most recent incidents are displayed at the top of the list.
|
|
50
51
|
*/
|
|
51
52
|
export interface IncidentsRequestBuilderGetQueryParameters {
|
|
52
53
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAmH,KAAK,QAAQ,EAAE,KAAK,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AAE1N,OAAO,EAAuC,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAEzF,OAAO,EAA4F,KAAK,0BAA0B,EAAE,MAAM,SAAS,CAAC;AAEpJ,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,uBAAwB,SAAQ,kBAAkB,CAAC,uBAAuB,CAAC;IACxF;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,YAAY,CAAC,UAAU,EAAE,MAAM,GAAI,0BAA0B,CAAC;IAC/D
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAmH,KAAK,QAAQ,EAAE,KAAK,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AAE1N,OAAO,EAAuC,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAEzF,OAAO,EAA4F,KAAK,0BAA0B,EAAE,MAAM,SAAS,CAAC;AAEpJ,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,uBAAwB,SAAQ,kBAAkB,CAAC,uBAAuB,CAAC;IACxF;;OAEG;IAC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AAM,CAAC,OAAO,CAAC,MAAM,uBAAuB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAS5J,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,uCAAuC,EAAE,gBAuBrD,CAAC"}
|
|
@@ -16,18 +16,20 @@ export interface IncidentItemRequestBuilder extends BaseRequestBuilder<IncidentI
|
|
|
16
16
|
*/
|
|
17
17
|
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Retrieve the properties and relationships of an incident object. Attacks are typically inflicted on different types of entities, such as devices, users, and mailboxes, resulting in multiple alert objects. Microsoft 365 Defender correlates alerts with the same attack techniques or the same attacker into an incident.
|
|
20
20
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
21
21
|
* @returns {Promise<Incident>}
|
|
22
22
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
23
|
+
* @see {@link https://learn.microsoft.com/graph/api/security-incident-get?view=graph-rest-1.0|Find more info here}
|
|
23
24
|
*/
|
|
24
25
|
get(requestConfiguration?: RequestConfiguration<IncidentItemRequestBuilderGetQueryParameters> | undefined): Promise<Incident | undefined>;
|
|
25
26
|
/**
|
|
26
|
-
* Update the
|
|
27
|
+
* Update the properties of an incident object.
|
|
27
28
|
* @param body The request body
|
|
28
29
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
29
30
|
* @returns {Promise<Incident>}
|
|
30
31
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
32
|
+
* @see {@link https://learn.microsoft.com/graph/api/security-incident-update?view=graph-rest-1.0|Find more info here}
|
|
31
33
|
*/
|
|
32
34
|
patch(body: Incident, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Incident | undefined>;
|
|
33
35
|
/**
|
|
@@ -37,13 +39,13 @@ export interface IncidentItemRequestBuilder extends BaseRequestBuilder<IncidentI
|
|
|
37
39
|
*/
|
|
38
40
|
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
39
41
|
/**
|
|
40
|
-
*
|
|
42
|
+
* Retrieve the properties and relationships of an incident object. Attacks are typically inflicted on different types of entities, such as devices, users, and mailboxes, resulting in multiple alert objects. Microsoft 365 Defender correlates alerts with the same attack techniques or the same attacker into an incident.
|
|
41
43
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
42
44
|
* @returns {RequestInformation}
|
|
43
45
|
*/
|
|
44
46
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<IncidentItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
45
47
|
/**
|
|
46
|
-
* Update the
|
|
48
|
+
* Update the properties of an incident object.
|
|
47
49
|
* @param body The request body
|
|
48
50
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
49
51
|
* @returns {RequestInformation}
|
|
@@ -51,7 +53,7 @@ export interface IncidentItemRequestBuilder extends BaseRequestBuilder<IncidentI
|
|
|
51
53
|
toPatchRequestInformation(body: Incident, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
52
54
|
}
|
|
53
55
|
/**
|
|
54
|
-
*
|
|
56
|
+
* Retrieve the properties and relationships of an incident object. Attacks are typically inflicted on different types of entities, such as devices, users, and mailboxes, resulting in multiple alert objects. Microsoft 365 Defender correlates alerts with the same attack techniques or the same attacker into an incident.
|
|
55
57
|
*/
|
|
56
58
|
export interface IncidentItemRequestBuilderGetQueryParameters {
|
|
57
59
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAMA,OAAO,EAA2D,KAAK,QAAQ,EAAE,MAAM,yCAAyC,CAAC;AAEjI,OAAO,EAAgF,KAAK,oBAAoB,EAAE,MAAM,WAAW,CAAC;AAEpI,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,k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AI,OAAO,CAAC,QAAQ,GAAG,SAAS,CAAC,CAAC;IACxH;;;;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,4CAA4C,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACrJ;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,QAAQ,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACpI;AACD;;GAEG;AACH,MAAM,WAAW,4CAA4C;IACzD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,qCAAqC,wEAAwE,CAAC;AAQ3H;;GAEG;AACH,eAAO,MAAM,4CAA4C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,0BAA0B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAKlK,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,0CAA0C,EAAE,gBA+BxD,CAAC"}
|
package/security/index.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import { type Alerts_v2RequestBuilder } from './alerts_v2/';
|
|
|
3
3
|
import { type AlertsRequestBuilder } from './alerts/';
|
|
4
4
|
import { type AttackSimulationRequestBuilder } from './attackSimulation/';
|
|
5
5
|
import { type CasesRequestBuilder } from './cases/';
|
|
6
|
+
import { type IdentitiesRequestBuilder } from './identities/';
|
|
6
7
|
import { type IncidentsRequestBuilder } from './incidents/';
|
|
7
8
|
import { type LabelsRequestBuilder } from './labels/';
|
|
8
9
|
import { type MicrosoftGraphSecurityRunHuntingQueryRequestBuilder } from './microsoftGraphSecurityRunHuntingQuery/';
|
|
@@ -33,6 +34,10 @@ export interface SecurityRequestBuilder extends BaseRequestBuilder<SecurityReque
|
|
|
33
34
|
* Provides operations to manage the cases property of the microsoft.graph.security entity.
|
|
34
35
|
*/
|
|
35
36
|
get cases(): CasesRequestBuilder;
|
|
37
|
+
/**
|
|
38
|
+
* Provides operations to manage the identities property of the microsoft.graph.security entity.
|
|
39
|
+
*/
|
|
40
|
+
get identities(): IdentitiesRequestBuilder;
|
|
36
41
|
/**
|
|
37
42
|
* Provides operations to manage the incidents property of the microsoft.graph.security entity.
|
|
38
43
|
*/
|
package/security/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA2D,KAAK,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAIxH,OAAO,EAAsF,KAAK,uBAAuB,EAAE,MAAM,cAAc,CAAC;AAEhJ,OAAO,EAAgF,KAAK,oBAAoB,EAAE,MAAM,WAAW,CAAC;AAEpI,OAAO,EAAoG,KAAK,8BAA8B,EAAE,MAAM,qBAAqB,CAAC;AAE5K,OAAO,EAA8E,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAEhI,OAAO,EAAsF,KAAK,uBAAuB,EAAE,MAAM,cAAc,CAAC;AAEhJ,OAAO,EAAgF,KAAK,oBAAoB,EAAE,MAAM,WAAW,CAAC;AAEpI,OAAO,EAAuE,KAAK,mDAAmD,EAAE,MAAM,0CAA0C,CAAC;AAEzL,OAAO,EAAwH,KAAK,wCAAwC,EAAE,MAAM,+BAA+B,CAAC;AAEpN,OAAO,EAA4F,KAAK,0BAA0B,EAAE,MAAM,iBAAiB,CAAC;AAE5J,OAAO,EAA8G,KAAK,mCAAmC,EAAE,MAAM,0BAA0B,CAAC;AAEhM,OAAO,EAAwG,KAAK,gCAAgC,EAAE,MAAM,uBAAuB,CAAC;AAEpL,OAAO,EAAoF,KAAK,sBAAsB,EAAE,M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./cases/");
|
|
19
19
|
// @ts-ignore
|
|
20
|
+
const identities_1 = require("./identities/");
|
|
21
|
+
// @ts-ignore
|
|
20
22
|
const incidents_1 = require("./incidents/");
|
|
21
23
|
// @ts-ignore
|
|
22
24
|
const labels_1 = require("./labels/");
|
|
@@ -65,6 +67,10 @@ exports.SecurityRequestBuilderNavigationMetadata = {
|
|
|
65
67
|
requestsMetadata: cases_1.CasesRequestBuilderRequestsMetadata,
|
|
66
68
|
navigationMetadata: cases_1.CasesRequestBuilderNavigationMetadata,
|
|
67
69
|
},
|
|
70
|
+
identities: {
|
|
71
|
+
requestsMetadata: identities_1.IdentitiesRequestBuilderRequestsMetadata,
|
|
72
|
+
navigationMetadata: identities_1.IdentitiesRequestBuilderNavigationMetadata,
|
|
73
|
+
},
|
|
68
74
|
incidents: {
|
|
69
75
|
requestsMetadata: incidents_1.IncidentsRequestBuilderRequestsMetadata,
|
|
70
76
|
navigationMetadata: incidents_1.IncidentsRequestBuilderNavigationMetadata,
|
|
@@ -17,28 +17,30 @@ export interface AuthoritiesRequestBuilder extends BaseRequestBuilder<Authoritie
|
|
|
17
17
|
*/
|
|
18
18
|
byAuthorityTemplateId(authorityTemplateId: string): AuthorityTemplateItemRequestBuilder;
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* Get a list of the authorityTemplate objects and their properties.
|
|
21
21
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
22
22
|
* @returns {Promise<AuthorityTemplateCollectionResponse>}
|
|
23
23
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
24
|
+
* @see {@link https://learn.microsoft.com/graph/api/security-labelsroot-list-authorities?view=graph-rest-1.0|Find more info here}
|
|
24
25
|
*/
|
|
25
26
|
get(requestConfiguration?: RequestConfiguration<AuthoritiesRequestBuilderGetQueryParameters> | undefined): Promise<AuthorityTemplateCollectionResponse | undefined>;
|
|
26
27
|
/**
|
|
27
|
-
* Create new
|
|
28
|
+
* Create a new authorityTemplate object.
|
|
28
29
|
* @param body The request body
|
|
29
30
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
30
31
|
* @returns {Promise<AuthorityTemplate>}
|
|
31
32
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
33
|
+
* @see {@link https://learn.microsoft.com/graph/api/security-labelsroot-post-authorities?view=graph-rest-1.0|Find more info here}
|
|
32
34
|
*/
|
|
33
35
|
post(body: AuthorityTemplate, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<AuthorityTemplate | undefined>;
|
|
34
36
|
/**
|
|
35
|
-
*
|
|
37
|
+
* Get a list of the authorityTemplate objects and their properties.
|
|
36
38
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
37
39
|
* @returns {RequestInformation}
|
|
38
40
|
*/
|
|
39
41
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<AuthoritiesRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
40
42
|
/**
|
|
41
|
-
* Create new
|
|
43
|
+
* Create a new authorityTemplate object.
|
|
42
44
|
* @param body The request body
|
|
43
45
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
44
46
|
* @returns {RequestInformation}
|
|
@@ -46,7 +48,7 @@ export interface AuthoritiesRequestBuilder extends BaseRequestBuilder<Authoritie
|
|
|
46
48
|
toPostRequestInformation(body: AuthorityTemplate, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
47
49
|
}
|
|
48
50
|
/**
|
|
49
|
-
*
|
|
51
|
+
* Get a list of the authorityTemplate objects and their properties.
|
|
50
52
|
*/
|
|
51
53
|
export interface AuthoritiesRequestBuilderGetQueryParameters {
|
|
52
54
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAMA,OAAO,EAA8I,KAAK,iBAAiB,EAAE,KAAK,mCAAmC,EAAE,MAAM,yCA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guration, type RequestInforma
|
|
|
5
5
|
*/
|
|
6
6
|
export interface AuthorityTemplateItemRequestBuilder extends BaseRequestBuilder<AuthorityTemplateItemRequestBuilder> {
|
|
7
7
|
/**
|
|
8
|
-
* Delete
|
|
8
|
+
* Delete a authorityTemplate object.
|
|
9
9
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
10
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
11
|
+
* @see {@link https://learn.microsoft.com/graph/api/security-labelsroot-delete-authorities?view=graph-rest-1.0|Find more info here}
|
|
11
12
|
*/
|
|
12
13
|
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
13
14
|
/**
|
|
14
|
-
*
|
|
15
|
+
* Read the properties and relationships of a authorityTemplate object.
|
|
15
16
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
16
17
|
* @returns {Promise<AuthorityTemplate>}
|
|
17
18
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
19
|
+
* @see {@link https://learn.microsoft.com/graph/api/security-authoritytemplate-get?view=graph-rest-1.0|Find more info here}
|
|
18
20
|
*/
|
|
19
21
|
get(requestConfiguration?: RequestConfiguration<AuthorityTemplateItemRequestBuilderGetQueryParameters> | undefined): Promise<AuthorityTemplate | undefined>;
|
|
20
22
|
/**
|
|
@@ -26,13 +28,13 @@ export interface AuthorityTemplateItemRequestBuilder extends BaseRequestBuilder<
|
|
|
26
28
|
*/
|
|
27
29
|
patch(body: AuthorityTemplate, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<AuthorityTemplate | undefined>;
|
|
28
30
|
/**
|
|
29
|
-
* Delete
|
|
31
|
+
* Delete a authorityTemplate object.
|
|
30
32
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
31
33
|
* @returns {RequestInformation}
|
|
32
34
|
*/
|
|
33
35
|
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
34
36
|
/**
|
|
35
|
-
*
|
|
37
|
+
* Read the properties and relationships of a authorityTemplate object.
|
|
36
38
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
37
39
|
* @returns {RequestInformation}
|
|
38
40
|
*/
|
|
@@ -46,7 +48,7 @@ export interface AuthorityTemplateItemRequestBuilder extends BaseRequestBuilder<
|
|
|
46
48
|
toPatchRequestInformation(body: AuthorityTemplate, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
47
49
|
}
|
|
48
50
|
/**
|
|
49
|
-
*
|
|
51
|
+
* Read the properties and relationships of a authorityTemplate object.
|
|
50
52
|
*/
|
|
51
53
|
export interface AuthorityTemplateItemRequestBuilderGetQueryParameters {
|
|
52
54
|
/**
|