UNPKG

@microsoft/msgraph-sdk-security

Version:
136 lines 6.65 kB
import { type Security } from '@microsoft/msgraph-sdk/models/index.js'; import { type Alerts_v2RequestBuilder } from './alerts_v2/index.js'; import { type AlertsRequestBuilder } from './alerts/index.js'; import { type AttackSimulationRequestBuilder } from './attackSimulation/index.js'; import { type CasesRequestBuilder } from './cases/index.js'; import { type DataSecurityAndGovernanceRequestBuilder } from './dataSecurityAndGovernance/index.js'; import { type IdentitiesRequestBuilder } from './identities/index.js'; import { type IncidentsRequestBuilder } from './incidents/index.js'; import { type LabelsRequestBuilder } from './labels/index.js'; import { type MicrosoftGraphSecurityRunHuntingQueryRequestBuilder } from './microsoftGraphSecurityRunHuntingQuery/index.js'; import { type SecureScoreControlProfilesRequestBuilder } from './secureScoreControlProfiles/index.js'; import { type SecureScoresRequestBuilder } from './secureScores/index.js'; import { type SubjectRightsRequestsRequestBuilder } from './subjectRightsRequests/index.js'; import { type ThreatIntelligenceRequestBuilder } from './threatIntelligence/index.js'; import { type TriggersRequestBuilder } from './triggers/index.js'; import { type TriggerTypesRequestBuilder } from './triggerTypes/index.js'; import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the security singleton. */ export interface SecurityRequestBuilder extends BaseRequestBuilder<SecurityRequestBuilder> { /** * Provides operations to manage the alerts property of the microsoft.graph.security entity. */ get alerts(): AlertsRequestBuilder; /** * Provides operations to manage the alerts_v2 property of the microsoft.graph.security entity. */ get alerts_v2(): Alerts_v2RequestBuilder; /** * Provides operations to manage the attackSimulation property of the microsoft.graph.security entity. */ get attackSimulation(): AttackSimulationRequestBuilder; /** * Provides operations to manage the cases property of the microsoft.graph.security entity. */ get cases(): CasesRequestBuilder; /** * Provides operations to manage the dataSecurityAndGovernance property of the microsoft.graph.security entity. */ get dataSecurityAndGovernance(): DataSecurityAndGovernanceRequestBuilder; /** * Provides operations to manage the identities property of the microsoft.graph.security entity. */ get identities(): IdentitiesRequestBuilder; /** * Provides operations to manage the incidents property of the microsoft.graph.security entity. */ get incidents(): IncidentsRequestBuilder; /** * Provides operations to manage the labels property of the microsoft.graph.security entity. */ get labels(): LabelsRequestBuilder; /** * Provides operations to call the runHuntingQuery method. */ get microsoftGraphSecurityRunHuntingQuery(): MicrosoftGraphSecurityRunHuntingQueryRequestBuilder; /** * Provides operations to manage the secureScoreControlProfiles property of the microsoft.graph.security entity. */ get secureScoreControlProfiles(): SecureScoreControlProfilesRequestBuilder; /** * Provides operations to manage the secureScores property of the microsoft.graph.security entity. */ get secureScores(): SecureScoresRequestBuilder; /** * Provides operations to manage the subjectRightsRequests property of the microsoft.graph.security entity. */ get subjectRightsRequests(): SubjectRightsRequestsRequestBuilder; /** * Provides operations to manage the threatIntelligence property of the microsoft.graph.security entity. */ get threatIntelligence(): ThreatIntelligenceRequestBuilder; /** * Provides operations to manage the triggers property of the microsoft.graph.security entity. */ get triggers(): TriggersRequestBuilder; /** * Provides operations to manage the triggerTypes property of the microsoft.graph.security entity. */ get triggerTypes(): TriggerTypesRequestBuilder; /** * Get security * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<Security>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ get(requestConfiguration?: RequestConfiguration<SecurityRequestBuilderGetQueryParameters> | undefined): Promise<Security | undefined>; /** * Update security * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<Security>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ patch(body: Security, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Security | undefined>; /** * Get security * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<SecurityRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update security * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPatchRequestInformation(body: Security, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * Get security */ export interface SecurityRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const SecurityRequestBuilderUriTemplate = "{+baseurl}/security{?%24expand,%24select}"; /** * Metadata for all the navigation properties in the request builder. */ export declare const SecurityRequestBuilderNavigationMetadata: Record<Exclude<keyof SecurityRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>; /** * Metadata for all the requests in the request builder. */ export declare const SecurityRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map