GUI editor to tame mod_security rules

⌈⌋ ⎇ branch:  modseccfg


Artifact [8a6b03fcfc]

Artifact 8a6b03fcfc0b6c84a7845cc980f23e5b0e0178fe5337efef6fc6e90aae5097f8:

  • File test/secdirectives.out — part of check-in [cb3a619fe0] at 2020-12-01 20:49:54 on branch trunk — publish data test (mostly vhost/secrule extraction) (user: mario size: 1891)

{
    "fn": "/home/mario/projects/modseccfg/test/secdirectives.inp",
    "t": "cfg",
    "name": "",
    "logs": [],
    "cfg": {
        "secauditengine": "RelevantOnly",
        "secauditlogtype": "Concurrent",
        "secruleinheritance": "On",
        "secruleengine": "DetectionOnly",
        "secdebugloglevel": "8",
        "secuploadfilemode": "octal_mode",
        "secpdfprotect": "Off",
        "sechashengine": "On",
        "sechashkey": "RemoteIP"
    },
    "rulestate": {
        "123": "\u274c",
        "9001110": "\u274c"
    },
    "ruledecl": {
        "5999": {
            "id": 5999,
            "chained_to": 0,
            "msg": "@SecAction {'tx.crs_exclusions_xenforo': '1', 'tx.block_spammer_ip': '1', 'tx.do_reput_block': '1', 'tx.crs_exclusions_dokuwiki': '1', 'tx.block_suspicious_ip': '1', 'tx.crs_exclusions_drupal': '1', 'tx.crs_exclusions_nextcloud': '1', 'tx.crs_exclusions_wordpress': '1'}",
            "flags": [
                "pass",
                "nolog",
                "noauditlog",
                "t:none"
            ],
            "params": {},
            "tags": [],
            "tag_primary": "",
            "ctl": {
                "ruleRemoveById": "900960"
            },
            "setvar": {
                "tx.crs_exclusions_xenforo": "1",
                "tx.block_spammer_ip": "1",
                "tx.do_reput_block": "1",
                "tx.crs_exclusions_dokuwiki": "1",
                "tx.block_suspicious_ip": "1",
                "tx.crs_exclusions_drupal": "1",
                "tx.crs_exclusions_nextcloud": "1",
                "tx.crs_exclusions_wordpress": "1"
            },
            "vars": "@SecAction",
            "pattern": "setvar:",
            "hidden": false,
            "wrap": false
        }
    },
    "update": {},
    "warn": "",
    "linemap": {
        "11": 5999
    },
    "wrap": []
}