Skip to content

Commit 6a12d74

Browse files
committed
SEC-2914 CRL example - restrict monitoring DP permissions
Feedback #752 (comment)
1 parent 2ad7b8e commit 6a12d74

1 file changed

Lines changed: 24 additions & 8 deletions

File tree

  • examples/connext_secure/certificate_revocation_list/security/xml
Lines changed: 24 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,50 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22

33
<dds xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4-
xsi:noNamespaceSchemaLocation="http://community.rti.com/schema/7.3.0/dds_security_permissions.xsd">
4+
xsi:noNamespaceSchemaLocation="http://community.rti.com/schema/7.7.0/dds_security_permissions.xsd">
55
<permissions>
66
<grant name="CrlParticipantA">
77
<subject_name>C = US, ST = CA, L = Santa Clara, O = Real Time Innovations, emailAddress = ecdsa01ParticipantA@rti.com, CN = Crl Participant A</subject_name>
88
<validity>
99
<!-- Format is CCYY-MM-DDThh:mm:ss[Z|(+|-)hh:mm] in GMT -->
10-
<not_before>2014-06-01T13:00:00</not_before>
11-
<not_after>2037-06-01T13:00:00</not_after>
10+
<not_before>2026-01-01T13:00:00</not_before>
11+
<not_after>2046-01-01T13:00:00</not_after>
1212
</validity>
1313
<default>ALLOW</default>
1414
</grant>
1515
<grant name="CrlParticipantB">
1616
<subject_name>C = US, ST = CA, L = Santa Clara, O = Real Time Innovations, emailAddress = ecdsa01ParticipantB@rti.com, CN = Crl Participant B</subject_name>
1717
<validity>
1818
<!-- Format is CCYY-MM-DDThh:mm:ss[Z|(+|-)hh:mm] in GMT -->
19-
<not_before>2014-06-01T13:00:00</not_before>
20-
<not_after>2037-06-01T13:00:00</not_after>
19+
<not_before>2026-01-01T13:00:00</not_before>
20+
<not_after>2046-01-01T13:00:00</not_after>
2121
</validity>
2222
<default>ALLOW</default>
2323
</grant>
2424
<grant name="CrlParticipantM">
2525
<subject_name>C = US, ST = CA, L = Santa Clara, O = Real Time Innovations, emailAddress = ecdsa01ParticipantM@rti.com, CN = Crl Participant M</subject_name>
2626
<validity>
2727
<!-- Format is CCYY-MM-DDThh:mm:ss[Z|(+|-)hh:mm] in GMT -->
28-
<not_before>2014-06-01T13:00:00</not_before>
29-
<not_after>2037-06-01T13:00:00</not_after>
28+
<not_before>2026-01-01T13:00:00</not_before>
29+
<not_after>2046-01-01T13:00:00</not_after>
3030
</validity>
31-
<default>ALLOW</default>
31+
<allow_rule>
32+
<domains>
33+
<id_range>
34+
<!--
35+
The default domain id for observability is 101.
36+
However, the user can change the domain id used for
37+
observability. We use a range here so that there is no
38+
need to modify the Permissions Document in that
39+
scenario.
40+
-->
41+
<min>0</min>
42+
</id_range>
43+
<tag>RTI_o11y</tag>
44+
</domains>
45+
<subscribe_monitoring>ALL</subscribe_monitoring>
46+
</allow_rule>
47+
<default>DENY</default>
3248
</grant>
3349
</permissions>
3450
</dds>

0 commit comments

Comments
 (0)