Von English mit KI übersetzt ·
Zwei Möglichkeiten.Wenn kein User Befehle senden soll, entfernen Sie für User auf dem Reiter Zugriffsrechte das Häkchen bei iot_rpc.send.basic.Wenn es nur um die Fremdfirmen geht, nehmen Sie sie in eine Gruppe auf (Schlüssel etwa contractors) und fügen Sie eine Zugriffsrichtlinie vom Typ Deny hinzu: Aktionen iot_rpc.send.basic, iot_rpc.send.privileged und iot_device.attributes.write, Bedingung subject.roles contains contractors. Ein Deny hat Vorrang vor jedem Permit. Richtlinien erfordern die Rolle Owner. Aktivieren Sie zuerst den Schattenmodus und beobachten Sie das Entscheidungsprotokoll einige Tage, bevor Sie die Richtlinie erzwingen.
Two ways.
If no User should send commands, untick iot_rpc.send.basic for User on the Access Rights tab.
If it’s only the contractors, put them in a group (key contractors, say) and add a Deny access policy: actions iot_rpc.send.basic, iot_rpc.send.privileged and iot_device.attributes.write, condition subject.roles contains contractors. A deny wins over any permit. Policies need the Owner role. Turn on shadow mode first and watch the decision log for a few days before you enforce it.

