Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Situation Awareness
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive
Help Center/ Host Security Service/ User Guide/ Risk Management/ Baseline Inspection/ Viewing and Processing Baseline Check Results

Viewing and Processing Baseline Check Results

Updated on 2025-01-21 GMT+08:00

This topic provides suggestions on how to fix baseline configuration risks on the server.

Constraints

Only enterprise edition, premium edition, web tamper protection edition, and container edition are supported.

Detection Description

The MySQL baseline detection of Linux OS is based on the MySQL 5 security configuration specifications. If MySQL 8 is installed on your server, the following check items are not displayed in the detection results, because they are discarded in that version. The detection results are displayed only on the server whose MySQL version is 5.

  • Rule: Do not set old_passwords to 1.
  • Rule: Set secure_auth to 1 or ON.
  • Rule: Do not set skip_secure_auth.
  • Rule: Set log_warnings to 2.
  • Rule: Configure the MySQL binlog clearing policy.
  • Rule: The sql_mode parameter contains NO_AUTO_CREATE_USER.
  • Rule: Use the MySQL audit plug-in.

Viewing Baseline Check Overview Information

  1. Log in to the management console.
  2. In the upper left corner of the page, select a region, click , and choose Security & Compliance > HSS.
  3. In the navigation pane on the left, choose Risk Management > Baseline Checks.

    NOTE:

    If your servers are managed by enterprise projects, you can select an enterprise project to view or operate the asset and scan information.

  4. Click different tabs on the displayed page to check detected unsafe configurations. Figure 1 lists the corresponding parameters.

    To view the check results of servers under different manual baseline check policies, you can switch between baseline check policies.
    Figure 1 Baseline check overview
    Table 1 Baseline check overview

    Parameter

    Description

    Baseline check policy

    Available baseline check policies that have been added. You can select, create, edit, and delete these policies.

    Scanned servers

    Total number of detected servers.

    Security baselines

    Number of baselines executed during the server detection.

    Baseline check items

    Total number of checked server configuration items.

    Safe settings rate

    Percentage of configuration items that passed the baseline check to the total number of check items. Failed items are displayed by risk level.

    Top 5 servers with unsafe settings

    Statistics on servers with server configuration risks.

    The top 5 servers with the highest risks are preferentially sorted. If no high-risk settings exist, the servers are sorted into medium-risk and low-risk ones in sequence.

    Servers with weak passwords

    Total number of detected servers, as well as the numbers of servers with weak passwords, those without weak passwords, and those with weak password detection disabled.

    Top 5 servers with weak passwords

    Statistics on the top 5 servers with most weak password risks.

    Unsafe configuration

    Alarms generated for servers with configuration risks and the risk statistics.

    Password complexity policies

    Statistics on servers with passwords that do not meet the complexity requirements in the baseline.

    Common weak passwords

    Statistics on servers with weak passwords and accounts.

Viewing and Processing Configuration Check Results

  1. Click the Unsafe Configurations tab to view the risk items. For more information, see Table 2.

    Figure 2 Viewing unsafe configuration details
    Table 2 Parameter description

    Parameter

    Description

    Risk Level

    Level of a detection result.

    • High
    • Low
    • Medium
    • Secure

    Baseline Name

    Name of the baseline that is checked.

    Type

    Policy type of the baseline that has been checked.

    • Cloud security practices
    • DJCP MLPS
    • General security standard

    Check Item

    Total number of configuration items that are checked.

    Risky Item

    Total number of the risky configurations.

    Affected Servers

    Total number of servers affected by the detected risks in a baseline.

    Last Scanned

    Time when the last detection was performed.

    Description

    Description of a baseline.

  2. Click the target baseline name in the list to view the baseline description, affected servers, and details about all check items.

    Figure 3 Viewing baseline check details

  3. Handle risk items.

    • Ignoring risks

      Click Ignore in the Operation column of the target check item to ignore a check item. Select multiple check items and click Ignore to ignore them in batches.

      Figure 4 Ignoring risks
    • Fixing risks
      1. Click View Details in the Operation column of the target risk item to view the check item details.
      2. View the content in the Audit Description, Suggestion, and Affected Servers. Rectify the unsafe configurations.
        NOTE:
        • Currently, one-click fixing is supported for some EulerOS baseline configurations and CentOS 8 baseline configurations. You can simply click Fix in the Operation column of the target EulerOS or CentOS check item to fix the unsafe configurations. If some parameters need to be configured during restoration, retain the default values.
        • You are advised to fix the settings with high severity immediately and fix those with medium or low severity.
      3. After the repair is complete, click Verify on the Affected Servers tab page to verify the result.
        If a failed check item has been fixed, you can update its status through verification.
        NOTE:
        • Currently, baseline checks are not supported for Windows OSs.
        • The agent status of the target server must be online.
        • Only one risk item can be verified at a time. Other risk items can be verified only after the risk items are verified.
        • Baseline checks are supported for the following Linux OSs: Apache 2, Docker, MongoDB, Redis, MySQL 5, Nginx, Tomcat, SSH, vsftp, CentOS 7, CentOS 8, EulerOS, Debian 9, Debian 10, Debian 11, Red Hat 6, Red Hat 7, Red Hat 8, Ubuntu 12, Ubuntu 14, Ubuntu 16, Ubuntu 18, SUSE 12, SUSE 15, HCE 1.1, and HCE 2.0.
      4. Click OK to start the verification.
      5. Return to the check item list page and view the status of the risk item.

        The status changes to Verifying. The system starts automatic verification. After the verification is complete, check the status. If a check item failed to be fixed, click View Cause to view the cause. Then, fix it again.

Viewing and Processing the Password Complexity Policy Detection Result

  1. Click the Password Complexity Policy Detection tab to view the risk statistical items and handling suggestions. For more information, see Table 3.

    Figure 5 Viewing password complexity policy detection details
    Table 3 Parameter description

    Parameter

    Description

    Server Name

    Name and public/private IP address of the detected server.

    Password Length

    Whether the password length policy of the target server meets the requirements.

    • Passed
    • Failed

    Uppercase Letters

    Whether the uppercase letter policy used for passwords on the target server meets the requirements.

    • Passed
    • Failed

    Lowercase Letters

    Whether the lowercase letter policy used for passwords on the target server meets the requirements.

    • Passed
    • Failed

    Digits

    Whether the numeric policy used for passwords on the target server meets the requirements.

    • Passed
    • Failed

    Special Characters

    Whether the special character policy used for passwords on the target server meets the requirements.

    • Passed
    • Failed

    Last Scanned

    Time when the last scan completed.

    Suggestion

    Suggestion for the password complexity policy of the target server.

  2. Handle password complexity policy check results.

    • Modifying the password complexity policy
      1. Modify the password complexity policy on the server based on the Suggestion column in the check result.
      2. Save the modification. Click Scan in the upper part of the Baseline Checks page to verify the modification.

        If you do not perform a manual verification, HSS will automatically check the settings at 00:00:00 the next day.

    • Ignoring password complexity policy check results

      You can view the ignored detection results on the Ignored tab page.

      • Ignoring a single result

        In the Operation column of a server scan result, click Ignore.

      • Batch ignoring records

        Select scan results and click Ignore in the upper left corner of the list. Up to 200 results can be ignored at a time.

        Figure 6 Ignoring multiple results
      • Ignoring all results

        Click Ignore in the upper left corner of the list. Up to 1000 password complexity policy check results can be ignored at a time.

        Figure 7 Ignoring all results

Viewing and Processing Common Weak Password Detection Results

  1. Click the Common Weak Password Detection tab to view the statistics of risky weak password accounts on the server. For more information, see Viewing common weak password detection.

    Figure 8 Viewing common weak password detection
    Table 4 Parameter description

    Parameter

    Description

    Server Name

    Name and public/private IP address of the scanned server.

    Account Name

    Accounts with weak passwords that are detected on the target server.

    Account Type

    Type of an account.

    Last Scanned

    Time when the last scan completed.

    Usage Duration (Days)

    Period for using a weak password.

  2. Log in to the server and change the weak password.

    NOTE:
    • To enhance server security, you are advised to modify the accounts with weak passwords in a timely manner, such as SSH accounts.
    • To protect internal data of your server, you are advised to modify software accounts that use weak passwords, such as MySQL accounts and FTP accounts.
    • A password should contain more than eight characters, including uppercase letters, lowercase letters, digits, and special characters.

  3. After the weak password is changed, perform a manual check in the upper part of the Baseline Checks page to verify the result.

    If you do not perform a manual verification, HSS will automatically check the settings at 00:00:00 the next day.

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback