Created
August 24, 2021 16:19
-
-
Save klauer/3d435ac9e09aa2fba89a8c8cf5c4d947 to your computer and use it in GitHub Desktop.
whatrecord-parsed kfe.pvlist in JSON
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"filename": "whatrecord/tests/kfe.pvlist", | |
"evaluation_order": "ALLOW, DENY", | |
"rules": [ | |
{ | |
"context": [ | |
[ | |
"whatrecord/tests/kfe.pvlist", | |
9 | |
] | |
], | |
"pattern": "[A-Z][A-Z][0-9]K[01234]:.*", | |
"command": "ALLOW", | |
"header": "Allow K beamline devices w/ naming conventions\nstarting w/ 2 char device code and device number,\nfollowed by K0, K1, K2, ...", | |
"metadata": {} | |
}, | |
{ | |
"context": [ | |
[ | |
"whatrecord/tests/kfe.pvlist", | |
10 | |
] | |
], | |
"pattern": "[A-Z][A-Z][A-Z]:KFE:.*", | |
"command": "ALLOW", | |
"header": "", | |
"metadata": {} | |
}, | |
{ | |
"context": [ | |
[ | |
"whatrecord/tests/kfe.pvlist", | |
13 | |
] | |
], | |
"pattern": "[A-Z][A-Z][A-Z]:RIX:.*", | |
"command": "ALLOW", | |
"header": "Some RIX devices temporarily on KFE subnet", | |
"metadata": {} | |
}, | |
{ | |
"context": [ | |
[ | |
"whatrecord/tests/kfe.pvlist", | |
16 | |
] | |
], | |
"pattern": "[A-Z][A-Z][0-9]K[01234]:.*:ArrayData", | |
"command": "DENY", | |
"header": "Deny KFE camera images", | |
"metadata": {} | |
}, | |
{ | |
"context": [ | |
[ | |
"whatrecord/tests/kfe.pvlist", | |
17 | |
] | |
], | |
"pattern": "[A-Z][A-Z][A-Z]:KFE:.*:ArrayData", | |
"command": "DENY", | |
"header": "", | |
"metadata": {} | |
}, | |
{ | |
"context": [ | |
[ | |
"whatrecord/tests/kfe.pvlist", | |
22 | |
] | |
], | |
"pattern": "K[01234]S[0-9]+:.*", | |
"command": "ALLOW", | |
"header": "Allow devices w/ stand naming convention\nstarting w/ line code K0, K1, K2, ...\nfollowed by stand number, S0, S3, S3A, S10, ...", | |
"metadata": {} | |
}, | |
{ | |
"context": [ | |
[ | |
"whatrecord/tests/kfe.pvlist", | |
25 | |
] | |
], | |
"pattern": "RTDSK0:.*", | |
"command": "ALLOW", | |
"header": "Special case names", | |
"metadata": {} | |
}, | |
{ | |
"context": [ | |
[ | |
"whatrecord/tests/kfe.pvlist", | |
26 | |
] | |
], | |
"pattern": "PCPM3B:.*", | |
"command": "ALLOW", | |
"header": "", | |
"metadata": {} | |
}, | |
{ | |
"context": [ | |
[ | |
"whatrecord/tests/kfe.pvlist", | |
27 | |
] | |
], | |
"pattern": "PMPS.*", | |
"command": "ALLOW", | |
"header": "", | |
"metadata": {} | |
}, | |
{ | |
"context": [ | |
[ | |
"whatrecord/tests/kfe.pvlist", | |
30 | |
] | |
], | |
"pattern": "ARCH:.*", | |
"command": "ALLOW", | |
"header": "Special case - ioc-archstats runs here", | |
"metadata": {} | |
}, | |
{ | |
"context": [ | |
[ | |
"whatrecord/tests/kfe.pvlist", | |
33 | |
] | |
], | |
"pattern": "PLC:KFE:VAC:.*", | |
"command": "ALLOW", | |
"header": "Special case - vacuum system overrides, etc", | |
"metadata": {} | |
}, | |
{ | |
"context": [ | |
[ | |
"whatrecord/tests/kfe.pvlist", | |
34 | |
] | |
], | |
"pattern": "RIX:FEE:VAC:.*", | |
"command": "ALLOW", | |
"header": "", | |
"metadata": {} | |
}, | |
{ | |
"context": [ | |
[ | |
"whatrecord/tests/kfe.pvlist", | |
35 | |
] | |
], | |
"pattern": "RIX:HUT:VAC:.*", | |
"command": "ALLOW", | |
"header": "", | |
"metadata": {} | |
}, | |
{ | |
"context": [ | |
[ | |
"whatrecord/tests/kfe.pvlist", | |
38 | |
] | |
], | |
"pattern": "PLC:KFE:.*", | |
"command": "ALLOW", | |
"header": "PMPS FFO/Arbiter Permissions", | |
"metadata": {} | |
}, | |
{ | |
"context": [ | |
[ | |
"whatrecord/tests/kfe.pvlist", | |
39 | |
] | |
], | |
"pattern": "PLC:RIX:.*", | |
"command": "ALLOW", | |
"header": "", | |
"metadata": {} | |
}, | |
{ | |
"context": [ | |
[ | |
"whatrecord/tests/kfe.pvlist", | |
42 | |
] | |
], | |
"pattern": "KFE:.*", | |
"command": "ALLOW", | |
"header": "Allow read only access to KFE:.*", | |
"metadata": {} | |
}, | |
{ | |
"context": [ | |
[ | |
"whatrecord/tests/kfe.pvlist", | |
44 | |
] | |
], | |
"pattern": "KFE:.*", | |
"command": "ALLOW", | |
"header": "Allow R/W access for INSTR to KFE:.*", | |
"metadata": {} | |
}, | |
{ | |
"context": [ | |
[ | |
"whatrecord/tests/kfe.pvlist", | |
46 | |
] | |
], | |
"pattern": "PCPM3B:.*", | |
"command": "ALLOW", | |
"header": "", | |
"metadata": {} | |
}, | |
{ | |
"context": [ | |
[ | |
"whatrecord/tests/kfe.pvlist", | |
48 | |
] | |
], | |
"pattern": "AT1K0:.*", | |
"command": "ALLOW", | |
"header": "", | |
"metadata": {} | |
}, | |
{ | |
"context": [ | |
[ | |
"whatrecord/tests/kfe.pvlist", | |
49 | |
] | |
], | |
"pattern": "EM1K0:.*", | |
"command": "ALLOW", | |
"header": "", | |
"metadata": {} | |
}, | |
{ | |
"context": [ | |
[ | |
"whatrecord/tests/kfe.pvlist", | |
50 | |
] | |
], | |
"pattern": "EM2K0:.*", | |
"command": "ALLOW", | |
"header": "", | |
"metadata": {} | |
}, | |
{ | |
"context": [ | |
[ | |
"whatrecord/tests/kfe.pvlist", | |
51 | |
] | |
], | |
"pattern": "IM1K0:.*", | |
"command": "ALLOW", | |
"header": "", | |
"metadata": {} | |
}, | |
{ | |
"context": [ | |
[ | |
"whatrecord/tests/kfe.pvlist", | |
52 | |
] | |
], | |
"pattern": "IM2K0:.*", | |
"command": "ALLOW", | |
"header": "", | |
"metadata": {} | |
}, | |
{ | |
"context": [ | |
[ | |
"whatrecord/tests/kfe.pvlist", | |
53 | |
] | |
], | |
"pattern": "PA1K0:.*", | |
"command": "ALLOW", | |
"header": "", | |
"metadata": {} | |
}, | |
{ | |
"context": [ | |
[ | |
"whatrecord/tests/kfe.pvlist", | |
54 | |
] | |
], | |
"pattern": "PC1K0:.*", | |
"command": "ALLOW", | |
"header": "", | |
"metadata": {} | |
}, | |
{ | |
"context": [ | |
[ | |
"whatrecord/tests/kfe.pvlist", | |
55 | |
] | |
], | |
"pattern": "PF1K0:.*", | |
"command": "ALLOW", | |
"header": "", | |
"metadata": {} | |
}, | |
{ | |
"context": [ | |
[ | |
"whatrecord/tests/kfe.pvlist", | |
56 | |
] | |
], | |
"pattern": "RTDSK0:.*", | |
"command": "ALLOW", | |
"header": "", | |
"metadata": {} | |
}, | |
{ | |
"context": [ | |
[ | |
"whatrecord/tests/kfe.pvlist", | |
57 | |
] | |
], | |
"pattern": "SL1K0:.*", | |
"command": "ALLOW", | |
"header": "", | |
"metadata": {} | |
}, | |
{ | |
"context": [ | |
[ | |
"whatrecord/tests/kfe.pvlist", | |
58 | |
] | |
], | |
"pattern": "SL2K0:.*", | |
"command": "ALLOW", | |
"header": "", | |
"metadata": {} | |
}, | |
{ | |
"context": [ | |
[ | |
"whatrecord/tests/kfe.pvlist", | |
59 | |
] | |
], | |
"pattern": "ST1K1:.*", | |
"command": "ALLOW", | |
"header": "", | |
"metadata": {} | |
}, | |
{ | |
"context": [ | |
[ | |
"whatrecord/tests/kfe.pvlist", | |
60 | |
] | |
], | |
"pattern": "TV2K0:.*", | |
"command": "ALLOW", | |
"header": "", | |
"metadata": {} | |
}, | |
{ | |
"context": [ | |
[ | |
"whatrecord/tests/kfe.pvlist", | |
61 | |
] | |
], | |
"pattern": "TV3K0:.*", | |
"command": "ALLOW", | |
"header": "", | |
"metadata": {} | |
}, | |
{ | |
"context": [ | |
[ | |
"whatrecord/tests/kfe.pvlist", | |
63 | |
] | |
], | |
"pattern": "IM1K1:.*", | |
"command": "ALLOW", | |
"header": "", | |
"metadata": {} | |
}, | |
{ | |
"context": [ | |
[ | |
"whatrecord/tests/kfe.pvlist", | |
64 | |
] | |
], | |
"pattern": "IM2K1:.*", | |
"command": "ALLOW", | |
"header": "", | |
"metadata": {} | |
}, | |
{ | |
"context": [ | |
[ | |
"whatrecord/tests/kfe.pvlist", | |
65 | |
] | |
], | |
"pattern": "MR1K1:.*", | |
"command": "ALLOW", | |
"header": "", | |
"metadata": {} | |
}, | |
{ | |
"context": [ | |
[ | |
"whatrecord/tests/kfe.pvlist", | |
66 | |
] | |
], | |
"pattern": "MR2K1:.*", | |
"command": "ALLOW", | |
"header": "", | |
"metadata": {} | |
}, | |
{ | |
"context": [ | |
[ | |
"whatrecord/tests/kfe.pvlist", | |
67 | |
] | |
], | |
"pattern": "PC1K1:.*", | |
"command": "ALLOW", | |
"header": "", | |
"metadata": {} | |
}, | |
{ | |
"context": [ | |
[ | |
"whatrecord/tests/kfe.pvlist", | |
68 | |
] | |
], | |
"pattern": "SP1K1:.*", | |
"command": "ALLOW", | |
"header": "", | |
"metadata": {} | |
}, | |
{ | |
"context": [ | |
[ | |
"whatrecord/tests/kfe.pvlist", | |
69 | |
] | |
], | |
"pattern": "TV1K1:.*", | |
"command": "ALLOW", | |
"header": "", | |
"metadata": {} | |
}, | |
{ | |
"context": [ | |
[ | |
"whatrecord/tests/kfe.pvlist", | |
71 | |
] | |
], | |
"pattern": "AL1K2:.*", | |
"command": "ALLOW", | |
"header": "", | |
"metadata": {} | |
}, | |
{ | |
"context": [ | |
[ | |
"whatrecord/tests/kfe.pvlist", | |
72 | |
] | |
], | |
"pattern": "IM1K2:.*", | |
"command": "ALLOW", | |
"header": "", | |
"metadata": {} | |
}, | |
{ | |
"context": [ | |
[ | |
"whatrecord/tests/kfe.pvlist", | |
73 | |
] | |
], | |
"pattern": "IM2K2:.*", | |
"command": "ALLOW", | |
"header": "", | |
"metadata": {} | |
}, | |
{ | |
"context": [ | |
[ | |
"whatrecord/tests/kfe.pvlist", | |
74 | |
] | |
], | |
"pattern": "IM3K2:.*", | |
"command": "ALLOW", | |
"header": "", | |
"metadata": {} | |
}, | |
{ | |
"context": [ | |
[ | |
"whatrecord/tests/kfe.pvlist", | |
75 | |
] | |
], | |
"pattern": "IM4K2:.*", | |
"command": "ALLOW", | |
"header": "", | |
"metadata": {} | |
}, | |
{ | |
"context": [ | |
[ | |
"whatrecord/tests/kfe.pvlist", | |
76 | |
] | |
], | |
"pattern": "IM5K2:.*", | |
"command": "ALLOW", | |
"header": "", | |
"metadata": {} | |
}, | |
{ | |
"context": [ | |
[ | |
"whatrecord/tests/kfe.pvlist", | |
77 | |
] | |
], | |
"pattern": "LI2K2:.*", | |
"command": "ALLOW", | |
"header": "", | |
"metadata": {} | |
}, | |
{ | |
"context": [ | |
[ | |
"whatrecord/tests/kfe.pvlist", | |
78 | |
] | |
], | |
"pattern": "PF1K2:.*", | |
"command": "ALLOW", | |
"header": "", | |
"metadata": {} | |
}, | |
{ | |
"context": [ | |
[ | |
"whatrecord/tests/kfe.pvlist", | |
79 | |
] | |
], | |
"pattern": "MR1K2:.*", | |
"command": "ALLOW", | |
"header": "", | |
"metadata": {} | |
}, | |
{ | |
"context": [ | |
[ | |
"whatrecord/tests/kfe.pvlist", | |
80 | |
] | |
], | |
"pattern": "SL1K2:.*", | |
"command": "ALLOW", | |
"header": "", | |
"metadata": {} | |
}, | |
{ | |
"context": [ | |
[ | |
"whatrecord/tests/kfe.pvlist", | |
81 | |
] | |
], | |
"pattern": "ST1K2:.*", | |
"command": "ALLOW", | |
"header": "", | |
"metadata": {} | |
}, | |
{ | |
"context": [ | |
[ | |
"whatrecord/tests/kfe.pvlist", | |
82 | |
] | |
], | |
"pattern": "TV1K2:.*", | |
"command": "ALLOW", | |
"header": "", | |
"metadata": {} | |
}, | |
{ | |
"context": [ | |
[ | |
"whatrecord/tests/kfe.pvlist", | |
83 | |
] | |
], | |
"pattern": "TM1K2:.*", | |
"command": "ALLOW", | |
"header": "", | |
"metadata": {} | |
}, | |
{ | |
"context": [ | |
[ | |
"whatrecord/tests/kfe.pvlist", | |
84 | |
] | |
], | |
"pattern": "TM2K2:.*", | |
"command": "ALLOW", | |
"header": "", | |
"metadata": {} | |
}, | |
{ | |
"context": [ | |
[ | |
"whatrecord/tests/kfe.pvlist", | |
86 | |
] | |
], | |
"pattern": "MR1K3:.*", | |
"command": "ALLOW", | |
"header": "", | |
"metadata": {} | |
}, | |
{ | |
"context": [ | |
[ | |
"whatrecord/tests/kfe.pvlist", | |
87 | |
] | |
], | |
"pattern": "MR2K3:.*", | |
"command": "ALLOW", | |
"header": "", | |
"metadata": {} | |
}, | |
{ | |
"context": [ | |
[ | |
"whatrecord/tests/kfe.pvlist", | |
89 | |
] | |
], | |
"pattern": "AT1K4:.*", | |
"command": "ALLOW", | |
"header": "", | |
"metadata": {} | |
}, | |
{ | |
"context": [ | |
[ | |
"whatrecord/tests/kfe.pvlist", | |
90 | |
] | |
], | |
"pattern": "AL1K4:.*", | |
"command": "ALLOW", | |
"header": "", | |
"metadata": {} | |
}, | |
{ | |
"context": [ | |
[ | |
"whatrecord/tests/kfe.pvlist", | |
91 | |
] | |
], | |
"pattern": "IM1K4:.*", | |
"command": "ALLOW", | |
"header": "", | |
"metadata": {} | |
}, | |
{ | |
"context": [ | |
[ | |
"whatrecord/tests/kfe.pvlist", | |
92 | |
] | |
], | |
"pattern": "IM2K4:.*", | |
"command": "ALLOW", | |
"header": "", | |
"metadata": {} | |
}, | |
{ | |
"context": [ | |
[ | |
"whatrecord/tests/kfe.pvlist", | |
93 | |
] | |
], | |
"pattern": "MR1K4:.*", | |
"command": "ALLOW", | |
"header": "", | |
"metadata": {} | |
}, | |
{ | |
"context": [ | |
[ | |
"whatrecord/tests/kfe.pvlist", | |
94 | |
] | |
], | |
"pattern": "MR2K4:.*", | |
"command": "ALLOW", | |
"header": "", | |
"metadata": {} | |
}, | |
{ | |
"context": [ | |
[ | |
"whatrecord/tests/kfe.pvlist", | |
95 | |
] | |
], | |
"pattern": "MR3K4:.*", | |
"command": "ALLOW", | |
"header": "", | |
"metadata": {} | |
}, | |
{ | |
"context": [ | |
[ | |
"whatrecord/tests/kfe.pvlist", | |
96 | |
] | |
], | |
"pattern": "ST1K4:.*", | |
"command": "ALLOW", | |
"header": "", | |
"metadata": {} | |
}, | |
{ | |
"context": [ | |
[ | |
"whatrecord/tests/kfe.pvlist", | |
98 | |
] | |
], | |
"pattern": ".*FFO.*", | |
"command": "ALLOW", | |
"header": "", | |
"metadata": {} | |
}, | |
{ | |
"context": [ | |
[ | |
"whatrecord/tests/kfe.pvlist", | |
101 | |
] | |
], | |
"pattern": "SL1K2:EXIT:CAM:.*", | |
"command": "DENY", | |
"header": "Deny RIX PVs w/ same naming convention as kfe", | |
"metadata": {} | |
}, | |
{ | |
"context": [ | |
[ | |
"whatrecord/tests/kfe.pvlist", | |
104 | |
] | |
], | |
"pattern": "PMPS:KFE:BeamParamCntl.*", | |
"command": "ALLOW", | |
"header": "Allow write access to PMPS Configuration Params from SX control rooms:", | |
"metadata": {} | |
}, | |
{ | |
"context": [ | |
[ | |
"whatrecord/tests/kfe.pvlist", | |
107 | |
] | |
], | |
"pattern": "EM2K0:XGMD:SHV:.*", | |
"command": "ALLOW", | |
"header": "Allow write access to XGMD HV control from soft xray control rooms and ACR", | |
"metadata": {} | |
}, | |
{ | |
"context": [ | |
[ | |
"whatrecord/tests/kfe.pvlist", | |
113 | |
] | |
], | |
"pattern": "SXR.*", | |
"command": "ALLOW", | |
"header": "", | |
"metadata": {} | |
}, | |
{ | |
"context": [ | |
[ | |
"whatrecord/tests/kfe.pvlist", | |
114 | |
] | |
], | |
"pattern": ".*LJE.*", | |
"command": "ALLOW", | |
"header": "", | |
"metadata": {} | |
}, | |
{ | |
"context": [ | |
[ | |
"whatrecord/tests/kfe.pvlist", | |
115 | |
] | |
], | |
"pattern": "HX2:SB1:IPM.*", | |
"command": "ALLOW", | |
"header": "", | |
"metadata": {} | |
}, | |
{ | |
"context": [ | |
[ | |
"whatrecord/tests/kfe.pvlist", | |
116 | |
] | |
], | |
"pattern": "SXR:YAG:EVR:01.*", | |
"command": "ALLOW", | |
"header": "", | |
"metadata": {} | |
}, | |
{ | |
"context": [ | |
[ | |
"whatrecord/tests/kfe.pvlist", | |
117 | |
] | |
], | |
"pattern": "SXR:YAG:IOC:01.*", | |
"command": "ALLOW", | |
"header": "", | |
"metadata": {} | |
}, | |
{ | |
"context": [ | |
[ | |
"whatrecord/tests/kfe.pvlist", | |
118 | |
] | |
], | |
"pattern": "SXR:YAG:CVV:01.*", | |
"command": "ALLOW", | |
"header": "", | |
"metadata": {} | |
}, | |
{ | |
"context": [ | |
[ | |
"whatrecord/tests/kfe.pvlist", | |
119 | |
] | |
], | |
"pattern": "HX2:SB1:IPM.*", | |
"command": "ALLOW", | |
"header": "", | |
"metadata": {} | |
}, | |
{ | |
"context": [ | |
[ | |
"whatrecord/tests/kfe.pvlist", | |
122 | |
] | |
], | |
"pattern": "SXR:GMD:BLD:.*", | |
"command": "DENY", | |
"header": "GMD pv's handled by sxr-gmd gateway", | |
"metadata": {} | |
}, | |
{ | |
"context": [ | |
[ | |
"whatrecord/tests/kfe.pvlist", | |
125 | |
] | |
], | |
"pattern": "SXR:.*IMAGE.*", | |
"command": "DENY", | |
"header": "camera images handled by sxr-cam gateway", | |
"metadata": {} | |
}, | |
{ | |
"context": [ | |
[ | |
"whatrecord/tests/kfe.pvlist", | |
126 | |
] | |
], | |
"pattern": "SXR:.*Image.*", | |
"command": "DENY", | |
"header": "", | |
"metadata": {} | |
}, | |
{ | |
"context": [ | |
[ | |
"whatrecord/tests/kfe.pvlist", | |
127 | |
] | |
], | |
"pattern": "SXR:.*PROJ.*", | |
"command": "DENY", | |
"header": "", | |
"metadata": {} | |
}, | |
{ | |
"context": [ | |
[ | |
"whatrecord/tests/kfe.pvlist", | |
128 | |
] | |
], | |
"pattern": "SXR:.*HPrj.*", | |
"command": "DENY", | |
"header": "", | |
"metadata": {} | |
}, | |
{ | |
"context": [ | |
[ | |
"whatrecord/tests/kfe.pvlist", | |
136 | |
] | |
], | |
"pattern": "NET:CAG:KFE.*", | |
"command": "ALLOW", | |
"header": "Keep this as the last pattern please\nAdd write permission for gateway diagnostic pvs\nTo reread config file:\n\tcaput NET:CAG:KFE:newAsFlag 1", | |
"metadata": {} | |
} | |
], | |
"hash": "aa190fb3c70acbe3ec1d909714d51139f46416c862662b87939c780cb816c6e2", | |
"header": "" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment