# Query the list of security baseline types that are alerting - QueryUHostSecWarningBaseChecks

## Overview

Query the list of security baseline types that are alerting






## Definition

### Public Parameters

| Parameter Name | Type | Description Information | Required |
|:---|:---|:---|:---|
| **Action**     | string  | Corresponding API command name, the current API is `QueryUHostSecWarningBaseChecks`.                      | **Yes** |
| **PublicKey**  | string  | The user's public key can be obtained from [Console](https://console.zosoc.com/uaccount/api_manage)                                             | **Yes** |
| **Signature**  | string  | User signature generated based on public key and API command, see [Signature Algorithm](/docs/api/summary/signature.md)  | **Yes** |

### Request Parameters

| Parameter Name | Type | Description Information | Required |
|:---|:---|:---|:---|
| **ProjectId** | string | Project ID. If not filled in, the default project is used, and the sub-account must be filled in. Please refer to the [GetProjectList interface](/docs/api/summary/get_project_list). |**Yes**|
| **Type** | string | Filter BaseCheck alert types, sys: System Security Check, app: Application Security Check |**Yes**|

### Response Field

| Field Name | Type | Description Information | Required |
|:---|:---|:---|:---|
| **RetCode** | int | Return status code. If it is 0, it means successful return. If it is not 0, it means failure. |**Yes**|
| **Action** | string | Operation command name. |**Yes**|
| **Message** | string | Returns an error message, providing detailed description when `RetCode` is non-zero. |No|
| **Result** | array[[*BaseCheckWarning*](#basecheckwarning)] | Baseline Type in Alert |No|

#### Data Model


#### BaseCheckWarning

| Field Name | Type | Description Information | Required |
|:---|:---|:---|:---|
| **RuleID** | string | Baseline Rule ID |No|
| **AppName** | string | Application Class |No|
| **Description** | string | Risk Description |No|
| **DescriptionEn** | string | Risk English Description |No|
| **RiskType** | string | Risk Type |No|
| **RiskLevel** | string | Risk Level |No|
| **AgentCount** | int | Affected Host Number |No|

## Example

### Request Example
    
```
https://api.zosoc.com/?Action=QueryUHostSecWarningBaseChecks
&ProjectId=vqnHcpTF
&TypeFilter=mBtLDfnV
&Type=OoaIlTjV
```

### Response Example
    
```json
{
  "Action": "QueryUHostSecWarningBaseChecksResponse",
  "Result": [
    {
      "AppName": "FOSoENuh",
      "Description": "tmFHJsLG",
      "RiskLevel": "eRiPtSTP",
      "RiskType": "HJUZCfeh",
      "RuleID": "oNQkIZcx",
      "User": "zYCZniLN"
    }
  ],
  "RetCode": 0
}
```





