Era.Common.NetworkMessage.ConsoleApi.Policies.RpcCreateRulesRequest

Description

Updates policy with rules created from logs.

Properties

Name JsonSchemaType Description
computerUuids array of references to Era.Common.DataDefinition.Common.Uuid UUIDs of the computers to which the policy or policies should be assigned (added) after creation or update.
createRulesConfig reference to Era.Common.DataDefinition.Policy.CreateRules Configuration for creating rules from logs.
dynamicGroupUuids array of references to Era.Common.DataDefinition.Common.Uuid UUIDs of the dynamic groups to which the policy or policies should be assigned (added) after creation or update.
policyuuid reference to Era.Common.DataDefinition.Common.Uuid UUID of the policy that will be updated with rules. Zeroed UUID ('00000000-0000-0000-0000-000000000000') will prompt the mechanism to create a policy or policies automatically depending on configuration. Returned static object indentification points to the latest policy that was updated or created so latest version guard can be stored if needed.
staticGroupUuids array of references to Era.Common.DataDefinition.Common.Uuid UUIDs of the static groups to which the policy or policies should be assigned (added) after creation or update.
staticObjectData reference to Era.Common.DataDefinition.StaticObject.StaticObjectData Description field will be set to created rules or policies.

Dual message (request/response)

Era.Common.NetworkMessage.ConsoleApi.Policies.RpcCreateRulesResponse

Referenced in messages

No references.

JsonSchema

{
    "title": "Era.Common.NetworkMessage.ConsoleApi.Policies.RpcCreateRulesRequest",
    "type": "object",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "additionalProperties": false,
    "required": [
        "Era.Common.NetworkMessage.ConsoleApi.Policies.RpcCreateRulesRequest"
    ],
    "properties": {
        "Era.Common.NetworkMessage.ConsoleApi.Policies.RpcCreateRulesRequest": {
            "$ref": "#/definitions/RpcCreateRulesRequest"
        }
    },
    "definitions": {
        "RpcCreateRulesRequest": {
            "additionalProperties": false,
            "required": [
                "createRulesConfig",
                "policyuuid"
            ],
            "type": "object",
            "properties": {
                "computerUuids": {
                    "type": "array",
                    "items": [
                        {
                            "$ref": "Era.Common.DataDefinition.Common.Uuid#/definitions/Uuid"
                        }
                    ]
                },
                "createRulesConfig": {
                    "$ref": "Era.Common.DataDefinition.Policy.CreateRules#/definitions/CreateRules"
                },
                "dynamicGroupUuids": {
                    "type": "array",
                    "items": [
                        {
                            "$ref": "Era.Common.DataDefinition.Common.Uuid#/definitions/Uuid"
                        }
                    ]
                },
                "policyuuid": {
                    "$ref": "Era.Common.DataDefinition.Common.Uuid#/definitions/Uuid"
                },
                "staticGroupUuids": {
                    "type": "array",
                    "items": [
                        {
                            "$ref": "Era.Common.DataDefinition.Common.Uuid#/definitions/Uuid"
                        }
                    ]
                },
                "staticObjectData": {
                    "$ref": "Era.Common.DataDefinition.StaticObject.StaticObjectData#/definitions/StaticObjectData"
                }
            }
        }
    }
}