Debian Codegraph @

src/security/core/tests/common/etc/default_governance.xml

raw
1 <?xml version="1.0" encoding="utf-8"?>
2 <dds xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3 xsi:noNamespaceSchemaLocation="https://www.omg.org/spec/DDS-SECURITY/20170901/omg_shared_ca_governance.xsd">
4 <domain_access_rules>
5 <domain_rule>
6 <domains>
7 <!-- All domains -->
8 <id_range>
9 <min>0</min>
10 <max>230</max>
11 </id_range>
12 </domains>
13
14 <!-- DomainParticipant that cann not authenticate or fail the authentication should be
15 allowed to join the domain and see any any discovery data that are configured as "unprotected"
16 and topics that are configured as "unprotected" -->
17 <allow_unauthenticated_participants>false</allow_unauthenticated_participants>
18
19 <!-- Only and any authenticated DomainParticipant should be allowed to join the domain and
20 see the discovery data without checking access control -->
21 <enable_join_access_control>true</enable_join_access_control>
22
23 <!-- Discovery information should be protected with encryption followed by MAC (Message Authentication Codes) -->
24 <discovery_protection_kind>ENCRYPT</discovery_protection_kind>
25
26 <!-- Liveliness messages are also encrypted -->
27 <liveliness_protection_kind>ENCRYPT</liveliness_protection_kind>
28
29 <!-- Whole RTPS message is protected -->
30 <rtps_protection_kind>ENCRYPT</rtps_protection_kind>
31
32 <topic_access_rules>
33 <topic_rule>
34 <!-- All (non-builtin) topics -->
35 <topic_expression>*</topic_expression>
36
37 <!-- The discovery information on specific Topics should be sent
38 using the secure (protected) discovery writers -->
39 <enable_discovery_protection>true</enable_discovery_protection>
40
41 <!-- Liveliness QoS data is protected -->
42 <enable_liveliness_protection>true</enable_liveliness_protection>
43
44 <!-- The read access to all topics should be open to all. -->
45 <enable_read_access_control>true</enable_read_access_control>
46
47 <!-- The write access to all topics should be open to all. -->
48 <enable_write_access_control>true</enable_write_access_control>
49
50 <!-- Whole RTPS sub-message is protected. This includes metadata information
51 like sequence numbers, heartbeats, key hashes, gaps,
52 acknowledgment messages, etc. It also includes th possible payload. -->
53 <metadata_protection_kind>ENCRYPT</metadata_protection_kind>
54
55 <!-- The payload data sent on the Topic (serialized application level data) should be
56 protected with Encrypt then MAC. -->
57 <data_protection_kind>ENCRYPT</data_protection_kind>
58 </topic_rule>
59 </topic_access_rules>
60 </domain_rule>
61 </domain_access_rules>
62 </dds>