Skip to content

Custom Guidelines

Riccardo Germenia edited this page Oct 6, 2026 · 1 revision

Custom Guidelines

TLSAssistant supports the usage of custom guidelines through the --custom_guidelines file.json flag. This allows users to define different set of requirements for the compliance analysis. The json file has to follow this template:

{

    "guideline_name": {
        "Category1": {
            "requirement1": {
                "level": {level},
                "condition": {conditions} 
            }
        },
        "Category2": {
            "requirement1": {
                "level": {level},
            },
            "requirement2": {
                "level": {level},
                "condition": {conditions} 
            }
        }
    },
    "guideline_name2": {
        "Category1": {
            "requirement1": {
                "level": {level},
                "condition": {conditions} 
            }
        }
    }
}

The level field can have the following values: must, recommend, optional, not recommended, must not. For a list of valid conditions please refer to the TLS Compliance Dataset Wiki. For the list of valid categories please refer to the sheets_mapping inside the utils.py file.

Clone this wiki locally