1description: >
2    Interface to query intrusion detector status.
3
4properties:
5    - name: Status
6      type: enum[self.Status]
7      default: "Normal"
8      description: >
9          Status string of chassis intrusion detector. The value is defined in
10          chassis redfish schema. Can be "Normal", "HardwareIntrusion" or
11          "TamperingDetected".
12    - name: Rearm
13      type: enum[self.RearmMode]
14      default: "Automatic"
15      description: >
16          Mode string of chassis intrusion detector. The value is defined in
17          chassis redfish schema. Can be "Automatic" or "Manual".
18
19enumerations:
20    - name: RearmMode
21      description: >
22          Methods to rearm the chassis intrusion status.
23      values:
24          - name: "Automatic"
25            description: >
26                Automatic Rearm method.
27          - name: "Manual"
28            description: >
29                Manual Rearm method.
30    - name: Status
31      description: >
32          The physical security state of the chassis.
33      values:
34          - name: "Normal"
35            description: >
36                No physical security condition is detected at this time.
37          - name: "HardwareIntrusion"
38            description: >
39                Any mechanism protecting the chassis's internal hardwares from
40                being accessed is detected to be in an insecure state.
41          - name: "TamperingDetected"
42            description: >
43                Physical tampering is detected.
44
45associations:
46    - name: monitoring
47      description: >
48          One chassis intrusion sensor needs to implement the 'monitoring'
49          association to provide links to the inventory items that it is
50          monitoring the security state against intrusion events.
51      reverse_name: monitored_by
52      required_endpoint_interfaces:
53          - xyz.openbmc_project.Inventory.Item
54