IDS.xml 1.02 KB
Newer Older
1 2 3 4 5 6
<model>
    <mount>//OPNsense/IDS</mount>
    <description>
        OPNsense IDS
    </description>
    <items>
7 8 9 10 11 12 13 14 15 16 17 18
        <rules>
            <rule type="ArrayField">
                <sid type="IntegerField">
                    <ValidationMessage>sid should be a number</ValidationMessage>
                    <Required>Y</Required>
                </sid>
                <enabled type="BooleanField">
                    <default>1</default>
                    <Required>Y</Required>
                </enabled>
            </rule>
        </rules>
19 20 21 22 23
        <general>
            <enabled type="BooleanField">
                <default>0</default>
                <Required>Y</Required>
            </enabled>
24 25 26
            <interfaces type="InterfaceField">
                <Required>Y</Required>
                <default>lan</default>
27
                <multiple>Y</multiple>
28 29 30 31
                <filters>
                    <enable>/^(?!0).*$/</enable>
                </filters>
            </interfaces>
32
        </general>
33 34
    </items>
</model>