Skip to content

Host Rule Configuration

Introduction

host_rule.data records the domain names for each product.

Configuration

Config Item Description
Version String
Verson of config file
DefaultProduct String
Default product name.
Hosts Struct
Host list for each HostTag
Hosts{k} Struct
HostTag
Hosts{v} String
Host list for HostTag
HostTags Struct
HostTag list for each product
HostTags{k} Struct
Product name
HostTags{v} Struct
HostTag list for product

Example

{
    "Version": "20190101000000",
    "DefaultProduct": null,
    "Hosts": {
        "exampleTag":[
            "example.org"
        ]
    },
    "HostTags": {
        "example_product":[
            "exampleTag"
        ]
    }
}