Server Security Alert Policies - List By Server
서버의 위협 탐지 정책을 가져옵니다.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/securityAlertPolicies?api-version=2021-11-01
URI 매개 변수
Name | In(다음 안에) | 필수 | 형식 | Description |
---|---|---|---|---|
resource
|
path | True |
string |
리소스를 포함하는 리소스 그룹의 이름입니다. Azure 리소스 관리자 API 또는 포털에서 이 값을 가져올 수 있습니다. |
server
|
path | True |
string |
서버의 이름입니다. |
subscription
|
path | True |
string |
Azure 구독을 식별하는 구독 ID입니다. |
api-version
|
query | True |
string |
요청에 사용할 API 버전입니다. |
응답
Name | 형식 | Description |
---|---|---|
200 OK |
서버 위협 검색 정책을 성공적으로 검색했습니다. |
|
Other Status Codes |
오류 응답: ***
|
예제
List the server's threat detection policies
샘플 요청
샘플 응답
{
"value": [
{
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.Sql/servers/securityalert-6440/securityAlertPolicies",
"name": "Default",
"type": "Microsoft.Sql/servers/securityAlertPolicies",
"systemData": {
"createdBy": "string",
"createdByType": "User",
"createdAt": "2020-04-03T04:41:33.937Z",
"lastModifiedBy": "string",
"lastModifiedByType": "User",
"lastModifiedAt": "2020-04-03T04:41:33.937Z"
},
"properties": {
"state": "Enabled",
"creationTime": "2020-04-03T04:41:33.937Z",
"emailAccountAdmins": true,
"emailAddresses": [
"test@consoto.com;user@consoto.com"
],
"disabledAlerts": [
"Access_Anomaly"
],
"retentionDays": 0,
"storageEndpoint": "https://mystorage.blob.core.windows.net"
}
}
]
}
정의
Name | Description |
---|---|
created |
리소스를 만든 ID의 형식입니다. |
Logical |
서버의 보안 경고 정책 목록입니다. |
Security |
정책의 상태를 지정합니다. 정책의 사용 여부 또는 사용 안 함 또는 정책이 특정 데이터베이스에 아직 적용되지 않은 상태인지 여부입니다. |
Server |
서버 보안 경고 정책입니다. |
system |
리소스 만들기 및 마지막 수정과 관련된 메타데이터입니다. |
createdByType
리소스를 만든 ID의 형식입니다.
Name | 형식 | Description |
---|---|---|
Application |
string |
|
Key |
string |
|
ManagedIdentity |
string |
|
User |
string |
LogicalServerSecurityAlertPolicyListResult
서버의 보안 경고 정책 목록입니다.
Name | 형식 | Description |
---|---|---|
nextLink |
string |
연결하여 결과의 다음 페이지를 검색합니다. |
value |
결과 배열입니다. |
SecurityAlertsPolicyState
정책의 상태를 지정합니다. 정책의 사용 여부 또는 사용 안 함 또는 정책이 특정 데이터베이스에 아직 적용되지 않은 상태인지 여부입니다.
Name | 형식 | Description |
---|---|---|
Disabled |
string |
|
Enabled |
string |
ServerSecurityAlertPolicy
서버 보안 경고 정책입니다.
Name | 형식 | Description |
---|---|---|
id |
string |
리소스 ID입니다. |
name |
string |
리소스 이름입니다. |
properties.creationTime |
string |
정책의 UTC 생성 시간을 지정합니다. |
properties.disabledAlerts |
string[] |
사용하지 않도록 설정된 경고의 배열을 지정합니다. 허용되는 값은 Sql_Injection, Sql_Injection_Vulnerability, Access_Anomaly, Data_Exfiltration, Unsafe_Action, Brute_Force |
properties.emailAccountAdmins |
boolean |
경고가 계정 관리자에게 전송되도록 지정합니다. |
properties.emailAddresses |
string[] |
경고가 전송되는 전자 메일 주소의 배열을 지정합니다. |
properties.retentionDays |
integer |
위협 탐지 감사 로그에 유지할 일 수를 지정합니다. |
properties.state |
정책의 상태를 지정합니다. 정책의 사용 여부 또는 사용 안 함 또는 정책이 특정 데이터베이스에 아직 적용되지 않은 상태인지 여부입니다. |
|
properties.storageAccountAccessKey |
string |
위협 탐지 감사 스토리지 계정의 식별자 키를 지정합니다. |
properties.storageEndpoint |
string |
Blob Storage 엔드포인트를 지정합니다(예: https://MyAccount.blob.core.windows.net). 이 Blob Storage는 모든 위협 탐지 감사 로그를 보유합니다. |
systemData |
SecurityAlertPolicyResource의 SystemData입니다. |
|
type |
string |
리소스 종류. |
systemData
리소스 만들기 및 마지막 수정과 관련된 메타데이터입니다.
Name | 형식 | Description |
---|---|---|
createdAt |
string |
UTC(리소스 만들기)의 타임스탬프입니다. |
createdBy |
string |
리소스를 만든 ID입니다. |
createdByType |
리소스를 만든 ID의 형식입니다. |
|
lastModifiedAt |
string |
리소스 마지막 수정의 타임스탬프(UTC) |
lastModifiedBy |
string |
리소스를 마지막으로 수정한 ID입니다. |
lastModifiedByType |
리소스를 마지막으로 수정한 ID 유형입니다. |