Query the statistics of a baseline check.
You can call this operation to query statistics such as the number of checked servers, number of check items, and last pass rate for a specified baseline check.
Debugging
Alibaba Cloud provides OpenAPI Explorer to simplify API usage. You can use OpenAPI Explorer to search for API operations, call API operations, and dynamically generate SDK example code.
Request Parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DescribeCheckWarningSummary |
The operation that you want to perform. Set the value to DescribeCheckWarningSummary. |
CurrentPage | Integer | No | 1 |
The number of the page to return. |
Lang | String | No | zh |
The language type. |
PageSize | Integer | No | 10 |
The number of entries to return on each page. |
RiskName | String | No | Redis security baseline |
The name of the at-risk item. |
RiskStatus | Integer | No | 1 |
The status of the baseline check. Valid values:
|
SourceIp | String | No | 127.0.0.1 |
The source IP address. |
Status | String | No | 1 |
The status of the check item. Valid values:
|
StrategyId | Long | No | 1 |
The ID of the policy. |
TypeName | String | No | database |
The level-1 type of check items. |
Uuids | String | No | f03259d8-1e81-4fae-bcbb-275fb5****** |
The ID of the server. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
Count | Integer | 10 |
The number of current entries. |
CurrentPage | Integer | 1 |
The current page number. |
PageSize | Integer | 10 |
The number of entries returned on each page. |
RequestId | String | 00BD7CE2-284A-4534-BD09-FB69836DD750 |
The ID of the request. |
TotalCount | Integer | 100 |
The total number of check items. |
WarningSummarys |
The statistics of the check items. |
||
CheckCount | Integer | 10 |
The number of check items. |
HighWarningCount | Integer | 1 |
The number of high-risk check items. |
LastFoundTime | String | 2019-01-01 12:23:00 |
The time when the most recent baseline check was executed. |
Level | String | high |
The severity of at-risk items. Valid values: - High - Medium - Low |
LowWarningCount | Integer | 3 |
The number of low-risk check items. |
MediumWarningCount | Integer | 2 |
The number of medium-risk check items. |
RiskId | Long | 1 |
The ID of the at-risk item. |
RiskName | String | Redis password |
The name of the at-risk item. |
SubTypeAlias | String | Redis |
The level-2 type of at-risk items. |
TypeAlias | String | Database |
The category of the check item. Valid values: database, system, weak password, and middleware. |
WarningMachineCount | Integer | 11 |
The number of assets on which at-risk items are detected. |
Examples
Sample requests
http(s)://[Endpoint]/? Action=DescribeCheckWarningSummary
&Lang=zh
&TypeName=database
&Status=1
&RiskStatus=1
&RiskName=Redis security baseline check
&StrategyId=1
&Uuids=f03259d8-1e81-4fae-bcbb-275fb55efb34
&CurrentPage=1
&PageSize=20
&<Common request parameters>
Sample success responses
XML
format
<DescribeCheckWarningSummary>
<TotalCount>25</TotalCount>
<PageSize>20</PageSize>
<RequestId>DFA6CDC5-E826-4D18-A499-BEF9DA31F1AD</RequestId>
<CurrentPage>1</CurrentPage>
<Count>20</Count>
<WarningSummarys>
<RiskId>43</RiskId>
<LastFoundTime>2019-04-10 00:33:00</LastFoundTime>
<MediumWarningCount>0</MediumWarningCount>
<WarningMachineCount>3</WarningMachineCount>
<CheckCount>16</CheckCount>
<HighWarningCount>8</HighWarningCount>
<Level>high</Level>
<TypeAlias>System</TypeAlias>
<SubTypeAlias>
CentOS Linux 7 security baseline check
</SubTypeAlias>
<LowWarningCount>0</LowWarningCount>
<RiskName>
CentOS Linux 7 security baseline check
</RiskName>
</WarningSummarys>
<WarningSummarys>
<RiskId>47</RiskId>
<LastFoundTime>2019-04-10 00:58:11</LastFoundTime>
<MediumWarningCount>0</MediumWarningCount>
<WarningMachineCount>2</WarningMachineCount>
<CheckCount>15</CheckCount>
<HighWarningCount>7</HighWarningCount>
<Level>medium</Level>
<TypeAlias>System</TypeAlias>
<SubTypeAlias>CentOS Linux 7 security standard compliance (Level-3 classified security protection)</SubTypeAlias>
<LowWarningCount>0</LowWarningCount>
<RiskName>CentOS Linux 7 security standard compliance (Level-3 classified security protection)</RiskName>
</WarningSummarys>
<WarningSummarys>
<RiskId>48</RiskId>
<LastFoundTime>2019-04-10 00:58:11</LastFoundTime>
<MediumWarningCount>0</MediumWarningCount>
<WarningMachineCount>2</WarningMachineCount>
<CheckCount>12</CheckCount>
<HighWarningCount>6</HighWarningCount>
<Level>medium</Level>
<TypeAlias>System</TypeAlias>
<SubTypeAlias>CentOS Linux 7 security standard compliance (Level-2 classified security protection)</SubTypeAlias>
<LowWarningCount>0</LowWarningCount>
<RiskName>CentOS Linux 7 security standard compliance (Level-2 classified security protection)</RiskName>
</WarningSummarys>
<WarningSummarys>
<RiskId>3</RiskId>
<LastFoundTime>2019-04-10 08:31:32</LastFoundTime>
<MediumWarningCount>0</MediumWarningCount>
<WarningMachineCount>1</WarningMachineCount>
<CheckCount>1</CheckCount>
<HighWarningCount>1</HighWarningCount>
<Level>high</Level>
<TypeAlias>Database</TypeAlias>
<SubTypeAlias>Redis security baseline check</SubTypeAlias>
<LowWarningCount>0</LowWarningCount>
<RiskName>Redis security baseline check</RiskName>
</WarningSummarys>
<WarningSummarys>
<RiskId>19</RiskId>
<LastFoundTime>2019-04-10 08:31:32</LastFoundTime>
<MediumWarningCount>0</MediumWarningCount>
<WarningMachineCount>1</WarningMachineCount>
<CheckCount>1</CheckCount>
<HighWarningCount>1</HighWarningCount>
<Level>high</Level>
<TypeAlias>Weak password</TypeAlias>
<SubTypeAlias>Linux weak password</SubTypeAlias>
<LowWarningCount>0</LowWarningCount>
<RiskName>Linux weak password</RiskName>
</WarningSummarys>
<WarningSummarys>
<RiskId>12</RiskId>
<LastFoundTime>2019-04-10 08:31:32</LastFoundTime>
<MediumWarningCount>0</MediumWarningCount>
<WarningMachineCount>1</WarningMachineCount>
<CheckCount>1</CheckCount>
<HighWarningCount>1</HighWarningCount>
<Level>high</Level>
<TypeAlias>Weak password</TypeAlias>
<SubTypeAlias>Anonymous FTP logon</SubTypeAlias>
<LowWarningCount>0</LowWarningCount>
<RiskName>Anonymous FTP logon</RiskName>
</WarningSummarys>
<WarningSummarys>
<RiskId>13</RiskId>
<LastFoundTime>2019-04-10 06:58:58</LastFoundTime>
<MediumWarningCount>0</MediumWarningCount>
<WarningMachineCount>1</WarningMachineCount>
<CheckCount>1</CheckCount>
<HighWarningCount>1</HighWarningCount>
<Level>high</Level>
<TypeAlias>Weak password</TypeAlias>
<SubTypeAlias>Windows weak password</SubTypeAlias>
<LowWarningCount>0</LowWarningCount>
<RiskName>Windows weak password</RiskName>
</WarningSummarys>
<WarningSummarys>
<RiskId>23</RiskId>
<LastFoundTime>2019-04-10 14:00:17</LastFoundTime>
<MediumWarningCount>0</MediumWarningCount>
<WarningMachineCount>0</WarningMachineCount>
<CheckCount>8</CheckCount>
<HighWarningCount>0</HighWarningCount>
<Level>medium</Level>
<TypeAlias>Middleware</TypeAlias>
<SubTypeAlias>Apache Tomcat security baseline check</SubTypeAlias>
<LowWarningCount>0</LowWarningCount>
<RiskName>Apache Tomcat security baseline check</RiskName>
</WarningSummarys>
<WarningSummarys>
<RiskId>2</RiskId>
<LastFoundTime>2019-04-10 08:31:32</LastFoundTime>
<MediumWarningCount>0</MediumWarningCount>
<WarningMachineCount>0</WarningMachineCount>
<CheckCount>1</CheckCount>
<HighWarningCount>0</HighWarningCount>
<Level>high</Level>
<TypeAlias>Weak password</TypeAlias>
<SubTypeAlias>PostgreSQL weak password</SubTypeAlias>
<LowWarningCount>0</LowWarningCount>
<RiskName>PostgreSQL weak password</RiskName>
</WarningSummarys>
<WarningSummarys>
<RiskId>11</RiskId>
<LastFoundTime>2019-04-10 08:31:32</LastFoundTime>
<MediumWarningCount>0</MediumWarningCount>
<WarningMachineCount>0</WarningMachineCount>
<CheckCount>1</CheckCount>
<HighWarningCount>0</HighWarningCount>
<Level>high</Level>
<TypeAlias>Weak password</TypeAlias>
<SubTypeAlias>MySQL weak password</SubTypeAlias>
<LowWarningCount>0</LowWarningCount>
<RiskName>MySQL weak password</RiskName>
</WarningSummarys>
<WarningSummarys>
<RiskId>20</RiskId>
<LastFoundTime>2019-04-10 08:31:32</LastFoundTime>
<MediumWarningCount>0</MediumWarningCount>
<WarningMachineCount>0</WarningMachineCount>
<CheckCount>1</CheckCount>
<HighWarningCount>0</HighWarningCount>
<Level>high</Level>
<TypeAlias>Weak password</TypeAlias>
<SubTypeAlias>FTP weak password</SubTypeAlias>
<LowWarningCount>0</LowWarningCount>
<RiskName>FTP weak password</RiskName>
</WarningSummarys>
<WarningSummarys>
<RiskId>17</RiskId>
<LastFoundTime>2019-04-10 06:58:58</LastFoundTime>
<MediumWarningCount>0</MediumWarningCount>
<WarningMachineCount>0</WarningMachineCount>
<CheckCount>1</CheckCount>
<HighWarningCount>0</HighWarningCount>
<Level>high</Level>
<TypeAlias>Weak password</TypeAlias>
<SubTypeAlias>Microsoft SQL Server weak password</SubTypeAlias>
<LowWarningCount>0</LowWarningCount>
<RiskName>Microsoft SQL Server weak password</RiskName>
</WarningSummarys>
<WarningSummarys>
<RiskId>24</RiskId>
<LastFoundTime>2019-04-10 06:52:05</LastFoundTime>
<MediumWarningCount>0</MediumWarningCount>
<WarningMachineCount>0</WarningMachineCount>
<CheckCount>2</CheckCount>
<HighWarningCount>0</HighWarningCount>
<Level>medium</Level>
<TypeAlias>Database</TypeAlias>
<SubTypeAlias>Memcached security baseline check</SubTypeAlias>
<LowWarningCount>0</LowWarningCount>
<RiskName>Memcached security baseline check</RiskName>
</WarningSummarys>
<WarningSummarys>
<RiskId>42</RiskId>
<LastFoundTime>2019-02-19 14:59:17</LastFoundTime>
<MediumWarningCount>0</MediumWarningCount>
<WarningMachineCount>0</WarningMachineCount>
<CheckCount>16</CheckCount>
<HighWarningCount>0</HighWarningCount>
<Level>high</Level>
<TypeAlias>System</TypeAlias>
<SubTypeAlias>CentOS Linux 6 security baseline check</SubTypeAlias>
<LowWarningCount>0</LowWarningCount>
<RiskName>CentOS Linux 6 security baseline check</RiskName>
</WarningSummarys>
<WarningSummarys>
<RiskId>49</RiskId>
<LastFoundTime>2019-02-19 14:59:17</LastFoundTime>
<MediumWarningCount>0</MediumWarningCount>
<WarningMachineCount>0</WarningMachineCount>
<CheckCount>12</CheckCount>
<HighWarningCount>0</HighWarningCount>
<Level>medium</Level>
<TypeAlias>System</TypeAlias>
<SubTypeAlias>CentOS Linux 6 security standard compliance (Level-2 classified security protection)</SubTypeAlias>
<LowWarningCount>0</LowWarningCount>
<RiskName>CentOS Linux 6 security standard compliance (Level-2 classified security protection)</RiskName>
</WarningSummarys>
<WarningSummarys>
<RiskId>50</RiskId>
<LastFoundTime>2019-02-19 14:59:17</LastFoundTime>
<MediumWarningCount>0</MediumWarningCount>
<WarningMachineCount>0</WarningMachineCount>
<CheckCount>15</CheckCount>
<HighWarningCount>0</HighWarningCount>
<Level>medium</Level>
<TypeAlias>System</TypeAlias>
<SubTypeAlias>CentOS Linux 6 security standard compliance (Level-3 classified security protection)</SubTypeAlias>
<LowWarningCount>0</LowWarningCount>
<RiskName>CentOS Linux 6 security standard compliance (Level-3 classified security protection)</RiskName>
</WarningSummarys>
<WarningSummarys>
<RiskId>55</RiskId>
<LastFoundTime>2019-02-19 12:57:23</LastFoundTime>
<MediumWarningCount>0</MediumWarningCount>
<WarningMachineCount>0</WarningMachineCount>
<CheckCount>14</CheckCount>
<HighWarningCount>0</HighWarningCount>
<Level>medium</Level>
<TypeAlias>System</TypeAlias>
<SubTypeAlias>Linux Ubuntu security standard compliance (Level-2 classified security protection)</SubTypeAlias>
<LowWarningCount>0</LowWarningCount>
<RiskName>Linux Ubuntu security standard compliance (Level-2 classified security protection)</RiskName>
</WarningSummarys>
<WarningSummarys>
<RiskId>56</RiskId>
<LastFoundTime>2019-02-19 12:57:23</LastFoundTime>
<MediumWarningCount>0</MediumWarningCount>
<WarningMachineCount>0</WarningMachineCount>
<CheckCount>15</CheckCount>
<HighWarningCount>0</HighWarningCount>
<Level>medium</Level>
<TypeAlias>System</TypeAlias>
<SubTypeAlias>Linux Ubuntu security standard compliance (Level-3 classified security protection)</SubTypeAlias>
<LowWarningCount>0</LowWarningCount>
<RiskName>Linux Ubuntu security standard compliance (Level-3 classified security protection)</RiskName>
</WarningSummarys>
<WarningSummarys>
<RiskId>54</RiskId>
<LastFoundTime>2019-02-19 12:57:23</LastFoundTime>
<MediumWarningCount>0</MediumWarningCount>
<WarningMachineCount>0</WarningMachineCount>
<CheckCount>16</CheckCount>
<HighWarningCount>0</HighWarningCount>
<Level>high</Level>
<TypeAlias>System</TypeAlias>
<SubTypeAlias>Linux Ubuntu security baseline check</SubTypeAlias>
<LowWarningCount>0</LowWarningCount>
<RiskName>Linux Ubuntu security baseline check</RiskName>
</WarningSummarys>
<WarningSummarys>
<RiskId>51</RiskId>
<LastFoundTime>2019-02-19 12:44:58</LastFoundTime>
<MediumWarningCount>0</MediumWarningCount>
<WarningMachineCount>0</WarningMachineCount>
<CheckCount>12</CheckCount>
<HighWarningCount>0</HighWarningCount>
<Level>high</Level>
<TypeAlias>System</TypeAlias>
<SubTypeAlias>Windows 2012 R2 security baseline check</SubTypeAlias>
<LowWarningCount>0</LowWarningCount>
<RiskName>Windows 2012 R2 security baseline check</RiskName>
</WarningSummarys>
</DescribeCheckWarningSummary>
JSON
format
{
"Count":20,
"TotalCount":25,
"WarningSummarys":[
{
"SubTypeAlias":"CentOS Linux 7 security baseline check\n \n ",
"HighWarningCount":8,
"WarningMachineCount":3,
"RiskName":"CentOS Linux 7 security baseline check\n \n ",
"LowWarningCount":0,
"CheckCount":16,
"RiskId":43,
"Level":"high",
"MediumWarningCount":0,
"TypeAlias":"System",
"LastFoundTime":"2019-04-10 00:33:00"
},
{
"SubTypeAlias":"CentOS Linux 7 security standard compliance (Level-3 classified security protection)",
"HighWarningCount":7,
"WarningMachineCount":2,
"RiskName":"CentOS Linux 7 security standard compliance (Level-3 classified security protection)",
"LowWarningCount":0,
"CheckCount":15,
"RiskId":47,
"Level":"medium",
"MediumWarningCount":0,
"TypeAlias":"System",
"LastFoundTime":"2019-04-10 00:58:11"
},
{
"SubTypeAlias":"CentOS Linux 7 security standard compliance (Level-2 classified security protection)",
"HighWarningCount":6,
"WarningMachineCount":2,
"RiskName":"CentOS Linux 7 security standard compliance (Level-2 classified security protection)",
"LowWarningCount":0,
"CheckCount":12,
"RiskId":48,
"Level":"medium",
"MediumWarningCount":0,
"TypeAlias":"System",
"LastFoundTime":"2019-04-10 00:58:11"
},
{
"SubTypeAlias":"Redis security baseline check",
"HighWarningCount":1,
"WarningMachineCount":1,
"RiskName":"Redis security baseline check",
"LowWarningCount":0,
"CheckCount":1,
"RiskId":3,
"Level":"high",
"MediumWarningCount":0,
"TypeAlias":"Database",
"LastFoundTime":"2019-04-10 08:31:32"
},
{
"SubTypeAlias":"Linux weak password",
"HighWarningCount":1,
"WarningMachineCount":1,
"RiskName":"Linux weak password",
"LowWarningCount":0,
"CheckCount":1,
"RiskId":19,
"Level":"high",
"MediumWarningCount":0,
"TypeAlias":"Weak password",
"LastFoundTime":"2019-04-10 08:31:32"
},
{
"SubTypeAlias":"Anonymous FTP logon",
"HighWarningCount":1,
"WarningMachineCount":1,
"RiskName":"Anonymous FTP logon",
"LowWarningCount":0,
"CheckCount":1,
"RiskId":12,
"Level":"high",
"MediumWarningCount":0,
"TypeAlias":"Weak password",
"LastFoundTime":"2019-04-10 08:31:32"
},
{
"SubTypeAlias":"Windows weak password",
"HighWarningCount":1,
"WarningMachineCount":1,
"RiskName":"Windows weak password",
"LowWarningCount":0,
"CheckCount":1,
"RiskId":13,
"Level":"high",
"MediumWarningCount":0,
"TypeAlias":"Weak password",
"LastFoundTime":"2019-04-10 06:58:58"
},
{
"SubTypeAlias":"Apache Tomcat security baseline check",
"HighWarningCount":0,
"WarningMachineCount":0,
"RiskName":"Apache Tomcat security baseline check",
"LowWarningCount":0,
"CheckCount":8,
"RiskId":23,
"Level":"medium",
"MediumWarningCount":0,
"TypeAlias":"Middleware",
"LastFoundTime":"2019-04-10 14:00:17"
},
{
"SubTypeAlias":"PostgreSQL weak password",
"HighWarningCount":0,
"WarningMachineCount":0,
"RiskName":"PostgreSQL weak password",
"LowWarningCount":0,
"CheckCount":1,
"RiskId":2,
"Level":"high",
"MediumWarningCount":0,
"TypeAlias":"Weak password",
"LastFoundTime":"2019-04-10 08:31:32"
},
{
"SubTypeAlias":"MySQL weak password",
"HighWarningCount":0,
"WarningMachineCount":0,
"RiskName":"MySQL weak password",
"LowWarningCount":0,
"CheckCount":1,
"RiskId":11,
"Level":"high",
"MediumWarningCount":0,
"TypeAlias":"Weak password",
"LastFoundTime":"2019-04-10 08:31:32"
},
{
"SubTypeAlias":"FTP weak password",
"HighWarningCount":0,
"WarningMachineCount":0,
"RiskName":"FTP weak password",
"LowWarningCount":0,
"CheckCount":1,
"RiskId":20,
"Level":"high",
"MediumWarningCount":0,
"TypeAlias":"Weak password",
"LastFoundTime":"2019-04-10 08:31:32"
},
{
"SubTypeAlias":"Microsoft SQL Server weak password",
"HighWarningCount":0,
"WarningMachineCount":0,
"RiskName":"Microsoft SQL Server weak password",
"LowWarningCount":0,
"CheckCount":1,
"RiskId":17,
"Level":"high",
"MediumWarningCount":0,
"TypeAlias":"Weak password",
"LastFoundTime":"2019-04-10 06:58:58"
},
{
"SubTypeAlias":"Memcached security baseline check",
"HighWarningCount":0,
"WarningMachineCount":0,
"RiskName":"Memcached security baseline check",
"LowWarningCount":0,
"CheckCount":2,
"RiskId":24,
"Level":"medium",
"MediumWarningCount":0,
"TypeAlias":"Database",
"LastFoundTime":"2019-04-10 06:52:05"
},
{
"SubTypeAlias":"CentOS Linux 6 security baseline check",
"HighWarningCount":0,
"WarningMachineCount":0,
"RiskName":"CentOS Linux 6 security baseline check",
"LowWarningCount":0,
"CheckCount":16,
"RiskId":42,
"Level":"high",
"MediumWarningCount":0,
"TypeAlias":"System",
"LastFoundTime":"2019-02-19 14:59:17"
},
{
"SubTypeAlias":"CentOS Linux 6 security standard compliance (Level-2 classified security protection)",
"HighWarningCount":0,
"WarningMachineCount":0,
"RiskName":"CentOS Linux 6 security standard compliance (Level-2 classified security protection)",
"LowWarningCount":0,
"CheckCount":12,
"RiskId":49,
"Level":"medium",
"MediumWarningCount":0,
"TypeAlias":"System",
"LastFoundTime":"2019-02-19 14:59:17"
},
{
"SubTypeAlias":"CentOS Linux 6 security standard compliance (Level-3 classified security protection)",
"HighWarningCount":0,
"WarningMachineCount":0,
"RiskName":"CentOS Linux 6 security standard compliance (Level-3 classified security protection)",
"LowWarningCount":0,
"CheckCount":15,
"RiskId":50,
"Level":"medium",
"MediumWarningCount":0,
"TypeAlias":"System",
"LastFoundTime":"2019-02-19 14:59:17"
},
{
"SubTypeAlias":"Linux Ubuntu security standard compliance (Level-2 classified security protection)",
"HighWarningCount":0,
"WarningMachineCount":0,
"RiskName":"Linux Ubuntu security standard compliance (Level-2 classified security protection)",
"LowWarningCount":0,
"CheckCount":14,
"RiskId":55,
"Level":"medium",
"MediumWarningCount":0,
"TypeAlias":"System",
"LastFoundTime":"2019-02-19 12:57:23"
},
{
"SubTypeAlias":"Linux Ubuntu security standard compliance (Level-3 classified security protection)",
"HighWarningCount":0,
"WarningMachineCount":0,
"RiskName":"Linux Ubuntu security standard compliance (Level-3 classified security protection)",
"LowWarningCount":0,
"CheckCount":15,
"RiskId":56,
"Level":"medium",
"MediumWarningCount":0,
"TypeAlias":"System",
"LastFoundTime":"2019-02-19 12:57:23"
},
{
"SubTypeAlias":"Linux Ubuntu security baseline check",
"HighWarningCount":0,
"WarningMachineCount":0,
"RiskName":"Linux Ubuntu security baseline check",
"LowWarningCount":0,
"CheckCount":16,
"RiskId":54,
"Level":"high",
"MediumWarningCount":0,
"TypeAlias":"System",
"LastFoundTime":"2019-02-19 12:57:23"
},
{
"SubTypeAlias":"Windows 2012 R2 security baseline check",
"HighWarningCount":0,
"WarningMachineCount":0,
"RiskName":"Windows 2012 R2 security baseline check",
"LowWarningCount":0,
"CheckCount":12,
"RiskId":51,
"Level":"high",
"MediumWarningCount":0,
"TypeAlias":"System",
"LastFoundTime":"2019-02-19 12:44:58"
}
],
"PageSize":20,
"RequestId":"DFA6CDC5-E826-4D18-A499-BEF9DA31F1AD",
"CurrentPage":1
}
Error codes
For more information about error codes, visit API Error Center.