#######################################################################################
#
# Copyright (c) Huawei Technologies Co., Ltd. 2019. All rights reserved.
# security-tool licensed under the Mulan PSL v2.
# You can use this software according to the terms and conditions of the Mulan PSL v2.
# You may obtain a copy of Mulan PSL v2 at:
#     http://license.coscl.org.cn/MulanPSL
# THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
# PURPOSE.
# See the Mulan PSL v2 for more details.
# Description: Configuration file for the FusionOS-security service.
#
#######################################################################################

#######################################################################################
#
# Security Hardening Control File
#
# This file controls which security hardening profiles are enabled or rolled back.
# After changing any value, run the following command to apply the action:
#
#   systemctl restart FusionOS-security.service
#
# --- Variable States ---
#
#   1: APPLY hardening. The rules for this profile will be enforced on the next run.
#      (The flag will be automatically reset to 0 upon completion).
#
#   0: INACTIVE / ALREADY APPLIED. No action will be taken for this profile.
#
#  -1: ROLL BACK hardening. The changes made by this profile will be reverted.
#      (The flag will be automatically reset to 0 upon completion).
#
#######################################################################################

# --- Base Hardening Profile (from security.conf) ---
# Controls the default hardening policies.
FUSIONOS_SECURITY=1

# --- Extra Hardening Profile (from extra-security.conf) ---
# Controls extra hardening policies.
EXTRA_SECURITY=0

# --- User-Defined Hardening Profile (from usr-security.conf) ---
# Controls your custom hardening policies.
USR_SECURITY=0
