query policyTerminalServerPolicy ( $accountId:ID! $terminalServerPolicyInput:TerminalServerPolicyInput) {
	policy ( accountId:$accountId ) {
		terminalServer {
			policy ( input:$terminalServerPolicyInput   ) {
				enabled
				rules {
					audit {
						updatedTime
	updatedBy {
		__typename
		... on AdminRef {
			id
			name
		}
		... on ApiKeyRef {
			id
			name
		}
	}
					}
					rule {
	id {
		id
		status
		description
		firstSignal
		lastSignal
		engineType
		vendor
		producer
		producerName
		connectionType
		indication
		queryName
		source
		criticality
		ticket
		research
		siteName
		storyDuration
		analystFeedback {
			verdict
			severity
			threatClassification
			additionalInfo
			threatType {
				name
				recommendedAction
				details
			}
		}
		site {
			id
			name
		}
		user {
			id
			name
		}
		similarStoriesData {
			storyId
			threatTypeName
			verdict
			threatClassification
			similarityPercentage
			indication
		}
		networkIncidentTimeline {
			description
			created
			validated
			eventType
			incidentId
			networkEventSource
			eventIds
			acknowledged
			linkId
			linkName
			linkConfigPrecedence
			linkStatus
			linkConfigBandwidth
			deviceConfigHaRole
			deviceHaRoleState
			socketSerialId
			bgpConnection {
				connectionName
				peerIp
				peerAsn
				catoIp
				catoAsn
			}
			linkQualityIssue {
				issueType
				direction
				current
				threshold
			}
		}
		bgpConnection {
			connectionName
			peerIp
			peerAsn
			catoIp
			catoAsn
		}
		ilmmDetails {
			linkDetails {
				description
				linkId
				ispLinkId
				comments
				onboardingStatus
				activeLicense
			}
			ispDetails {
				name
				description
				ispAccountId
				supportEmail
				supportPhone
				countryCode
				loaFile {
					fileName
					fileHash
					uploadedAt
				}
			}
			contacts {
				name
				phone
				email
			}
		}
	}
						name
						description
						index
						section {
	id {
		id
		status
		description
		firstSignal
		lastSignal
		engineType
		vendor
		producer
		producerName
		connectionType
		indication
		queryName
		source
		criticality
		ticket
		research
		siteName
		storyDuration
		analystFeedback {
			verdict
			severity
			threatClassification
			additionalInfo
			threatType {
				name
				recommendedAction
				details
			}
		}
		site {
			id
			name
		}
		user {
			id
			name
		}
		similarStoriesData {
			storyId
			threatTypeName
			verdict
			threatClassification
			similarityPercentage
			indication
		}
		networkIncidentTimeline {
			description
			created
			validated
			eventType
			incidentId
			networkEventSource
			eventIds
			acknowledged
			linkId
			linkName
			linkConfigPrecedence
			linkStatus
			linkConfigBandwidth
			deviceConfigHaRole
			deviceHaRoleState
			socketSerialId
			bgpConnection {
				connectionName
				peerIp
				peerAsn
				catoIp
				catoAsn
			}
			linkQualityIssue {
				issueType
				direction
				current
				threshold
			}
		}
		bgpConnection {
			connectionName
			peerIp
			peerAsn
			catoIp
			catoAsn
		}
		ilmmDetails {
			linkDetails {
				description
				linkId
				ispLinkId
				comments
				onboardingStatus
				activeLicense
			}
			ispDetails {
				name
				description
				ispAccountId
				supportEmail
				supportPhone
				countryCode
				loaFile {
					fileName
					fileHash
					uploadedAt
				}
			}
			contacts {
				name
				phone
				email
			}
		}
	}
							name
						}
						enabled
						allowedHostIP {
	id {
		id
		status
		description
		firstSignal
		lastSignal
		engineType
		vendor
		producer
		producerName
		connectionType
		indication
		queryName
		source
		criticality
		ticket
		research
		siteName
		storyDuration
		analystFeedback {
			verdict
			severity
			threatClassification
			additionalInfo
			threatType {
				name
				recommendedAction
				details
			}
		}
		site {
			id
			name
		}
		user {
			id
			name
		}
		similarStoriesData {
			storyId
			threatTypeName
			verdict
			threatClassification
			similarityPercentage
			indication
		}
		networkIncidentTimeline {
			description
			created
			validated
			eventType
			incidentId
			networkEventSource
			eventIds
			acknowledged
			linkId
			linkName
			linkConfigPrecedence
			linkStatus
			linkConfigBandwidth
			deviceConfigHaRole
			deviceHaRoleState
			socketSerialId
			bgpConnection {
				connectionName
				peerIp
				peerAsn
				catoIp
				catoAsn
			}
			linkQualityIssue {
				issueType
				direction
				current
				threshold
			}
		}
		bgpConnection {
			connectionName
			peerIp
			peerAsn
			catoIp
			catoAsn
		}
		ilmmDetails {
			linkDetails {
				description
				linkId
				ispLinkId
				comments
				onboardingStatus
				activeLicense
			}
			ispDetails {
				name
				description
				ispAccountId
				supportEmail
				supportPhone
				countryCode
				loaFile {
					fileName
					fileHash
					uploadedAt
				}
			}
			contacts {
				name
				phone
				email
			}
		}
	}
							name
						}
						excludeTraffic {
	id {
		id
		status
		description
		firstSignal
		lastSignal
		engineType
		vendor
		producer
		producerName
		connectionType
		indication
		queryName
		source
		criticality
		ticket
		research
		siteName
		storyDuration
		analystFeedback {
			verdict
			severity
			threatClassification
			additionalInfo
			threatType {
				name
				recommendedAction
				details
			}
		}
		site {
			id
			name
		}
		user {
			id
			name
		}
		similarStoriesData {
			storyId
			threatTypeName
			verdict
			threatClassification
			similarityPercentage
			indication
		}
		networkIncidentTimeline {
			description
			created
			validated
			eventType
			incidentId
			networkEventSource
			eventIds
			acknowledged
			linkId
			linkName
			linkConfigPrecedence
			linkStatus
			linkConfigBandwidth
			deviceConfigHaRole
			deviceHaRoleState
			socketSerialId
			bgpConnection {
				connectionName
				peerIp
				peerAsn
				catoIp
				catoAsn
			}
			linkQualityIssue {
				issueType
				direction
				current
				threshold
			}
		}
		bgpConnection {
			connectionName
			peerIp
			peerAsn
			catoIp
			catoAsn
		}
		ilmmDetails {
			linkDetails {
				description
				linkId
				ispLinkId
				comments
				onboardingStatus
				activeLicense
			}
			ispDetails {
				name
				description
				ispAccountId
				supportEmail
				supportPhone
				countryCode
				loaFile {
					fileName
					fileHash
					uploadedAt
				}
			}
			contacts {
				name
				phone
				email
			}
		}
	}
							name
						}
					}
					properties
				}
				sections {
					audit {
						updatedTime
	updatedBy {
		__typename
		... on AdminRef {
			id
			name
		}
		... on ApiKeyRef {
			id
			name
		}
	}
					}
					section {
	id {
		id
		status
		description
		firstSignal
		lastSignal
		engineType
		vendor
		producer
		producerName
		connectionType
		indication
		queryName
		source
		criticality
		ticket
		research
		siteName
		storyDuration
		analystFeedback {
			verdict
			severity
			threatClassification
			additionalInfo
			threatType {
				name
				recommendedAction
				details
			}
		}
		site {
			id
			name
		}
		user {
			id
			name
		}
		similarStoriesData {
			storyId
			threatTypeName
			verdict
			threatClassification
			similarityPercentage
			indication
		}
		networkIncidentTimeline {
			description
			created
			validated
			eventType
			incidentId
			networkEventSource
			eventIds
			acknowledged
			linkId
			linkName
			linkConfigPrecedence
			linkStatus
			linkConfigBandwidth
			deviceConfigHaRole
			deviceHaRoleState
			socketSerialId
			bgpConnection {
				connectionName
				peerIp
				peerAsn
				catoIp
				catoAsn
			}
			linkQualityIssue {
				issueType
				direction
				current
				threshold
			}
		}
		bgpConnection {
			connectionName
			peerIp
			peerAsn
			catoIp
			catoAsn
		}
		ilmmDetails {
			linkDetails {
				description
				linkId
				ispLinkId
				comments
				onboardingStatus
				activeLicense
			}
			ispDetails {
				name
				description
				ispAccountId
				supportEmail
				supportPhone
				countryCode
				loaFile {
					fileName
					fileHash
					uploadedAt
				}
			}
			contacts {
				name
				phone
				email
			}
		}
	}
						name
					}
					properties
				}
				audit {
					publishedTime
					publishedBy
				}
				revision {
	id {
		id
		status
		description
		firstSignal
		lastSignal
		engineType
		vendor
		producer
		producerName
		connectionType
		indication
		queryName
		source
		criticality
		ticket
		research
		siteName
		storyDuration
		analystFeedback {
			verdict
			severity
			threatClassification
			additionalInfo
			threatType {
				name
				recommendedAction
				details
			}
		}
		site {
			id
			name
		}
		user {
			id
			name
		}
		similarStoriesData {
			storyId
			threatTypeName
			verdict
			threatClassification
			similarityPercentage
			indication
		}
		networkIncidentTimeline {
			description
			created
			validated
			eventType
			incidentId
			networkEventSource
			eventIds
			acknowledged
			linkId
			linkName
			linkConfigPrecedence
			linkStatus
			linkConfigBandwidth
			deviceConfigHaRole
			deviceHaRoleState
			socketSerialId
			bgpConnection {
				connectionName
				peerIp
				peerAsn
				catoIp
				catoAsn
			}
			linkQualityIssue {
				issueType
				direction
				current
				threshold
			}
		}
		bgpConnection {
			connectionName
			peerIp
			peerAsn
			catoIp
			catoAsn
		}
		ilmmDetails {
			linkDetails {
				description
				linkId
				ispLinkId
				comments
				onboardingStatus
				activeLicense
			}
			ispDetails {
				name
				description
				ispAccountId
				supportEmail
				supportPhone
				countryCode
				loaFile {
					fileName
					fileHash
					uploadedAt
				}
			}
			contacts {
				name
				phone
				email
			}
		}
	}
					name
					description
					changes
					createdTime
					updatedTime
				}
			}
		}
	}	
}