mutation policyApplicationControlUpdateRule ( $accountId:ID! $applicationControlPolicyMutationInput:ApplicationControlPolicyMutationInput $applicationControlUpdateRuleInput:ApplicationControlUpdateRuleInput!) {
	policy ( accountId:$accountId ) {
		applicationControl ( input:$applicationControlPolicyMutationInput  )  {
			updateRule ( input:$applicationControlUpdateRuleInput   ) {
				rule {
					audit {
						updatedTime
						updatedBy
					}
					rule {
						id
						name
						description
						index
						section {
							id
							name
						}
						enabled
						ruleType
						applicationRule {
							application {
								application {
									id
									name
								}
								customApp {
									id
									name
								}
								appCategory {
									id
									name
								}
								customCategory {
									id
									name
								}
								sanctionedAppsCategory {
									id
									name
								}
								applicationType
							}
							applicationActivitySatisfy
							applicationActivity {
								activity {
									id
									name
								}
								field {
									id
									name
								}
								operator
								value
								valueSet {
									id
									name
								}
							}
							applicationContext {
								applicationTenant {
									operator
									value
									valueSet {
										id
										name
									}
								}
							}
							accessMethod {
								accessMethod
								operator
								value
								valueSet {
									id
									name
								}
							}
							source {
								country {
									id
									name
								}
								host {
									id
									name
								}
								site {
									id
									name
								}
								subnet
								ip
								ipRange {
									from
									to
								}
								globalIpRange {
									id
									name
								}
								networkInterface {
									id
									name
								}
								siteNetworkSubnet {
									id
									name
								}
								floatingSubnet {
									id
									name
								}
								user {
									id
									name
								}
								usersGroup {
									id
									name
								}
								group {
									id
									name
								}
								systemGroup {
									id
									name
								}
							}
							device {
								id
								name
							}
							action
							tracking {
								event {
									enabled
								}
								alert {
									enabled
									frequency
									subscriptionGroup {
										id
										name
									}
									webhook {
										id
										name
									}
									mailingList {
										id
										name
									}
								}
							}
							schedule {
								activeOn
								customTimeframe {
									from
									to
								}
								customRecurring {
									from
									to
									days
								}
							}
							severity
							applicationCriteriaSatisfy
							applicationCriteria {
								attributes {
									complianceAttributes {
										iso27001
										sox
										hippa
										soc1
										soc2
										soc3
										isae3402
										pciDss
									}
									securityAttributes {
										mfa
										encryptionAtRest
										auditTrail
										rbac
										rememberPassword
										sso
										trustedCertificate
										tlsEnforcement
										httpSecurityHeaders
									}
								}
								originCountry {
									id
									name
								}
								risk {
									risk
									riskOperator
								}
							}
						}
						dataRule {
							application {
								application {
									id
									name
								}
								customApp {
									id
									name
								}
								appCategory {
									id
									name
								}
								customCategory {
									id
									name
								}
								sanctionedAppsCategory {
									id
									name
								}
								applicationType
							}
							applicationContext {
								applicationTenant {
									operator
									value
									valueSet {
										id
										name
									}
								}
							}
							applicationActivitySatisfy
							applicationActivity {
								activity {
									id
									name
								}
								field {
									id
									name
								}
								operator
								value
								valueSet {
									id
									name
								}
							}
							accessMethod {
								accessMethod
								operator
								value
								valueSet {
									id
									name
								}
							}
							source {
								country {
									id
									name
								}
								host {
									id
									name
								}
								site {
									id
									name
								}
								subnet
								ip
								ipRange {
									from
									to
								}
								globalIpRange {
									id
									name
								}
								networkInterface {
									id
									name
								}
								siteNetworkSubnet {
									id
									name
								}
								floatingSubnet {
									id
									name
								}
								user {
									id
									name
								}
								usersGroup {
									id
									name
								}
								group {
									id
									name
								}
								systemGroup {
									id
									name
								}
							}
							device {
								id
								name
							}
							action
							tracking {
								event {
									enabled
								}
								alert {
									enabled
									frequency
									subscriptionGroup {
										id
										name
									}
									webhook {
										id
										name
									}
									mailingList {
										id
										name
									}
								}
							}
							schedule {
								activeOn
								customTimeframe {
									from
									to
								}
								customRecurring {
									from
									to
									days
								}
							}
							severity
							fileAttributeSatisfy
							fileAttribute {
								fileAttribute
								operator
								value
								contentTypeValues {
									id
									name
								}
								contentTypeGroupValues {
									id
									name
								}
							}
							dlpProfile {
								contentProfile {
									id
									name
								}
								edmProfile {
									id
									name
								}
							}
						}
						fileRule {
							application {
								application {
									id
									name
								}
								customApp {
									id
									name
								}
								appCategory {
									id
									name
								}
								customCategory {
									id
									name
								}
								sanctionedAppsCategory {
									id
									name
								}
								applicationType
							}
							applicationActivitySatisfy
							applicationActivity {
								activity {
									id
									name
								}
								field {
									id
									name
								}
								operator
								value
								valueSet {
									id
									name
								}
							}
							accessMethod {
								accessMethod
								operator
								value
								valueSet {
									id
									name
								}
							}
							source {
								country {
									id
									name
								}
								host {
									id
									name
								}
								site {
									id
									name
								}
								subnet
								ip
								ipRange {
									from
									to
								}
								globalIpRange {
									id
									name
								}
								networkInterface {
									id
									name
								}
								siteNetworkSubnet {
									id
									name
								}
								floatingSubnet {
									id
									name
								}
								user {
									id
									name
								}
								usersGroup {
									id
									name
								}
								group {
									id
									name
								}
								systemGroup {
									id
									name
								}
							}
							device {
								id
								name
							}
							action
							tracking {
								event {
									enabled
								}
								alert {
									enabled
									frequency
									subscriptionGroup {
										id
										name
									}
									webhook {
										id
										name
									}
									mailingList {
										id
										name
									}
								}
							}
							schedule {
								activeOn
								customTimeframe {
									from
									to
								}
								customRecurring {
									from
									to
									days
								}
							}
							severity
							fileAttributeSatisfy
							fileAttribute {
								fileAttribute
								operator
								value
								contentTypeValues {
									id
									name
								}
								contentTypeGroupValues {
									id
									name
								}
							}
						}
					}
					properties
				}
				status
				errors {
					errorMessage
					errorCode
				}
			}
		}
	}	
}