-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
127 changed files
with
21,993 additions
and
1 deletion.
There are no files selected for viewing
1,866 changes: 1,866 additions & 0 deletions
1,866
...ityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-09-01/AlertRules.json
Large diffs are not rendered by default.
Oops, something went wrong.
1,551 changes: 1,551 additions & 0 deletions
1,551
...sights/resource-manager/Microsoft.SecurityInsights/stable/2024-09-01/AutomationRules.json
Large diffs are not rendered by default.
Oops, something went wrong.
356 changes: 356 additions & 0 deletions
356
...rityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-09-01/Bookmarks.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,356 @@ | ||
{ | ||
"swagger": "2.0", | ||
"info": { | ||
"title": "Security Insights", | ||
"description": "API spec for Microsoft.SecurityInsights (Azure Security Insights) resource provider", | ||
"version": "2024-09-01" | ||
}, | ||
"host": "management.azure.com", | ||
"schemes": [ | ||
"https" | ||
], | ||
"consumes": [ | ||
"application/json" | ||
], | ||
"produces": [ | ||
"application/json" | ||
], | ||
"security": [ | ||
{ | ||
"azure_auth": [ | ||
"user_impersonation" | ||
] | ||
} | ||
], | ||
"securityDefinitions": { | ||
"azure_auth": { | ||
"type": "oauth2", | ||
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", | ||
"flow": "implicit", | ||
"description": "Azure Active Directory OAuth2 Flow", | ||
"scopes": { | ||
"user_impersonation": "impersonate your user account" | ||
} | ||
} | ||
}, | ||
"paths": { | ||
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/bookmarks": { | ||
"get": { | ||
"x-ms-examples": { | ||
"Get all bookmarks.": { | ||
"$ref": "./examples/bookmarks/GetBookmarks.json" | ||
} | ||
}, | ||
"tags": [ | ||
"Bookmarks" | ||
], | ||
"description": "Gets all bookmarks.", | ||
"operationId": "Bookmarks_List", | ||
"parameters": [ | ||
{ | ||
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" | ||
}, | ||
{ | ||
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" | ||
}, | ||
{ | ||
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" | ||
}, | ||
{ | ||
"$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName" | ||
} | ||
], | ||
"responses": { | ||
"200": { | ||
"description": "OK, Operation successfully completed", | ||
"schema": { | ||
"$ref": "#/definitions/BookmarkList" | ||
} | ||
}, | ||
"default": { | ||
"description": "Error response describing why the operation failed.", | ||
"schema": { | ||
"$ref": "../../../common/2.0/types.json#/definitions/CloudError" | ||
} | ||
} | ||
}, | ||
"x-ms-pageable": { | ||
"nextLinkName": "nextLink" | ||
} | ||
} | ||
}, | ||
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/bookmarks/{bookmarkId}": { | ||
"get": { | ||
"x-ms-examples": { | ||
"Get a bookmark.": { | ||
"$ref": "./examples/bookmarks/GetBookmarkById.json" | ||
} | ||
}, | ||
"tags": [ | ||
"Bookmarks" | ||
], | ||
"description": "Gets a bookmark.", | ||
"operationId": "Bookmarks_Get", | ||
"parameters": [ | ||
{ | ||
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" | ||
}, | ||
{ | ||
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" | ||
}, | ||
{ | ||
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" | ||
}, | ||
{ | ||
"$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName" | ||
}, | ||
{ | ||
"$ref": "#/parameters/BookmarkId" | ||
} | ||
], | ||
"responses": { | ||
"200": { | ||
"description": "OK, Operation successfully completed", | ||
"schema": { | ||
"$ref": "#/definitions/Bookmark" | ||
} | ||
}, | ||
"default": { | ||
"description": "Error response describing why the operation failed.", | ||
"schema": { | ||
"$ref": "../../../common/2.0/types.json#/definitions/CloudError" | ||
} | ||
} | ||
} | ||
}, | ||
"put": { | ||
"x-ms-examples": { | ||
"Creates or updates a bookmark.": { | ||
"$ref": "./examples/bookmarks/CreateBookmark.json" | ||
} | ||
}, | ||
"tags": [ | ||
"Bookmarks" | ||
], | ||
"description": "Creates or updates the bookmark.", | ||
"operationId": "Bookmarks_CreateOrUpdate", | ||
"parameters": [ | ||
{ | ||
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" | ||
}, | ||
{ | ||
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" | ||
}, | ||
{ | ||
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" | ||
}, | ||
{ | ||
"$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName" | ||
}, | ||
{ | ||
"$ref": "#/parameters/BookmarkId" | ||
}, | ||
{ | ||
"$ref": "#/parameters/Bookmark" | ||
} | ||
], | ||
"responses": { | ||
"200": { | ||
"description": "OK, Operation successfully completed", | ||
"schema": { | ||
"$ref": "#/definitions/Bookmark" | ||
} | ||
}, | ||
"201": { | ||
"description": "Created", | ||
"schema": { | ||
"$ref": "#/definitions/Bookmark" | ||
} | ||
}, | ||
"default": { | ||
"description": "Error response describing why the operation failed.", | ||
"schema": { | ||
"$ref": "../../../common/2.0/types.json#/definitions/CloudError" | ||
} | ||
} | ||
} | ||
}, | ||
"delete": { | ||
"x-ms-examples": { | ||
"Delete a bookmark.": { | ||
"$ref": "./examples/bookmarks/DeleteBookmark.json" | ||
} | ||
}, | ||
"tags": [ | ||
"Bookmarks" | ||
], | ||
"description": "Delete the bookmark.", | ||
"operationId": "Bookmarks_Delete", | ||
"parameters": [ | ||
{ | ||
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" | ||
}, | ||
{ | ||
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" | ||
}, | ||
{ | ||
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" | ||
}, | ||
{ | ||
"$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName" | ||
}, | ||
{ | ||
"$ref": "#/parameters/BookmarkId" | ||
} | ||
], | ||
"responses": { | ||
"200": { | ||
"description": "OK, Operation successfully completed" | ||
}, | ||
"204": { | ||
"description": "No Content" | ||
}, | ||
"default": { | ||
"description": "Error response describing why the operation failed.", | ||
"schema": { | ||
"$ref": "../../../common/2.0/types.json#/definitions/CloudError" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"definitions": { | ||
"Bookmark": { | ||
"allOf": [ | ||
{ | ||
"$ref": "../../../common/2.0/types.json#/definitions/ResourceWithEtag" | ||
} | ||
], | ||
"description": "Represents a bookmark in Azure Security Insights.", | ||
"properties": { | ||
"properties": { | ||
"$ref": "#/definitions/BookmarkProperties", | ||
"description": "Bookmark properties", | ||
"x-ms-client-flatten": true | ||
} | ||
}, | ||
"type": "object" | ||
}, | ||
"BookmarkList": { | ||
"description": "List all the bookmarks.", | ||
"properties": { | ||
"nextLink": { | ||
"description": "URL to fetch the next set of cases.", | ||
"readOnly": true, | ||
"type": "string" | ||
}, | ||
"value": { | ||
"description": "Array of bookmarks.", | ||
"items": { | ||
"$ref": "#/definitions/Bookmark" | ||
}, | ||
"type": "array" | ||
} | ||
}, | ||
"type": "object", | ||
"required": [ | ||
"value" | ||
] | ||
}, | ||
"BookmarkProperties": { | ||
"description": "Describes bookmark properties", | ||
"properties": { | ||
"created": { | ||
"description": "The time the bookmark was created", | ||
"format": "date-time", | ||
"type": "string" | ||
}, | ||
"createdBy": { | ||
"$ref": "../../../common/2.0/types.json#/definitions/UserInfo", | ||
"description": "Describes a user that created the bookmark", | ||
"type": "object" | ||
}, | ||
"displayName": { | ||
"description": "The display name of the bookmark", | ||
"type": "string" | ||
}, | ||
"labels": { | ||
"description": "List of labels relevant to this bookmark", | ||
"items": { | ||
"$ref": "../../../common/2.0/types.json#/definitions/Label" | ||
}, | ||
"type": "array" | ||
}, | ||
"notes": { | ||
"description": "The notes of the bookmark", | ||
"type": "string" | ||
}, | ||
"query": { | ||
"description": "The query of the bookmark.", | ||
"type": "string" | ||
}, | ||
"queryResult": { | ||
"description": "The query result of the bookmark.", | ||
"type": "string" | ||
}, | ||
"updated": { | ||
"description": "The last time the bookmark was updated", | ||
"format": "date-time", | ||
"type": "string" | ||
}, | ||
"updatedBy": { | ||
"$ref": "../../../common/2.0/types.json#/definitions/UserInfo", | ||
"description": "Describes a user that updated the bookmark", | ||
"type": "object" | ||
}, | ||
"eventTime": { | ||
"description": "The bookmark event time", | ||
"format": "date-time", | ||
"type": "string" | ||
}, | ||
"queryStartTime": { | ||
"description": "The start time for the query", | ||
"format": "date-time", | ||
"type": "string" | ||
}, | ||
"queryEndTime": { | ||
"description": "The end time for the query", | ||
"format": "date-time", | ||
"type": "string" | ||
}, | ||
"incidentInfo": { | ||
"$ref": "./common/IncidentTypes.json#/definitions/IncidentInfo", | ||
"description": "Describes an incident that relates to bookmark", | ||
"type": "object" | ||
} | ||
}, | ||
"required": [ | ||
"displayName", | ||
"query" | ||
], | ||
"type": "object" | ||
} | ||
}, | ||
"parameters": { | ||
"Bookmark": { | ||
"description": "The bookmark", | ||
"in": "body", | ||
"name": "bookmark", | ||
"required": true, | ||
"schema": { | ||
"$ref": "#/definitions/Bookmark" | ||
}, | ||
"x-ms-parameter-location": "method" | ||
}, | ||
"BookmarkId": { | ||
"description": "Bookmark ID", | ||
"in": "path", | ||
"name": "bookmarkId", | ||
"required": true, | ||
"type": "string", | ||
"x-ms-parameter-location": "method" | ||
} | ||
} | ||
} | ||
|
Oops, something went wrong.