mutation policyApplicationControlDiscardPolicyRevision ( $accountId:ID! $applicationControlPolicyMutationInput:ApplicationControlPolicyMutationInput $policyDiscardRevisionInput:PolicyDiscardRevisionInput) {
	policy ( accountId:$accountId ) {
		applicationControl ( input:$applicationControlPolicyMutationInput  )  {
			discardPolicyRevision ( input:$policyDiscardRevisionInput   ) {
				policy {
					enabled
					rules {
						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
					}
					sections {
						audit {
							updatedTime
							updatedBy
						}
						section {
							id
							name
						}
						properties
					}
					audit {
						publishedTime
						publishedBy
					}
					revision {
						id
						name
						description
						changes
						createdTime
						updatedTime
					}
					additionalAttributes {
						dataControlEnabled
					}
				}
				status
				errors {
					errorMessage
					errorCode
				}
			}
		}
	}	
}