OBJECT

PolicyObj

link GraphQL Schema definition

  • type PolicyObj {
  • snapshotFid: String!
  • # Timestamp in ms.
  • snapshotTimestamp: Long!
  • # Root file result.
  • rootFileResult: FileResult!
  • # The same snapshot may be returned for different policy object queries at
  • # different time points since snapshot results are pulled forward if no new
  • # snapshots have come up from CDM. The daily change values will be
  • # different for these different time points.
  • #
  • # This time_context field is used by the graphql layer to make sure that
  • # Apollo cache on the UI can differentiate between the policy object at
  • # different time points.
  • timeContext: String!
  • osType: DataGovOsType!
  • shareType: DataGovShareType!
  • # Risk level of the policy object.
  • riskLevel: RiskLevelType!
  • # Analysis status of the policy object.
  • analysisStatus: AnalysisStatus!
  • # Sensitive File count for various risk levels.
  • sensitiveFiles: SensitiveFiles
  • # Sensitive hits accumulated across different workloads for the user.
  • totalSensitiveHits: SummaryHits
  • # Analyzer Hits count for various risk levels.
  • analyzerHits: AnalyzerHits
  • # User access risk reasons.
  • accessRiskReasons: [RiskReason!]!
  • # User count for various risk levels.
  • userCounts: PrincipalCounts
  • # Sensitive hits for various risk levels.
  • riskHits: SensitiveHits
  • # Specifies whether the object has user access enabled or not.
  • isUserAccessEnabledObject: Boolean!
  • # Change in the user count for various risk levels.
  • deltaUserCounts: PrincipalCounts
  • # Specifies whether the object has insights or not.
  • hasInsights: Boolean!
  • # Unused sensitive file count for various risk levels.
  • unusedSensitiveFiles: SensitiveFiles
  • # Specifies whether the user activity for the object is enabled.
  • isUserActivityEnabled: Boolean!
  • # Specifies the data type level results.
  • dataTypeResults: [DataTypeResult!]!
  • # Specifies the metadata of the asset.
  • assetMetadata: AssetMetadata
  • # Specifies the object type of the asset.
  • objectType: DataGovObjectType!
  • # Specifies the scan status of the asset.
  • scanStatus: ScanStatus!
  • # Specifies the sensitive files count summary for MIP Labels.
  • mipLabelsSummary: [MipLabelSummary!]!
  • # Signifies the violation severity of the asset.
  • violationSeverity: ViolationSeverity!
  • # Signifies the file exposure summary of the asset.
  • exposureSummary: [ExposureSummary!]!
  • id: String!
  • # Arguments
  • # first: Returns the first n elements from the list.
  • # after: Returns the elements in the list that occur after the
  • # specified cursor.
  • # last: Returns the last n elements from the list.
  • # before: Returns the elements in the list that occur before the
  • # specified cursor.
  • # filter:
  • # sort:
  • # stdPath:
  • # timezone:
  • folderChildConnection(
  • first: Int,
  • after: String,
  • last: Int,
  • before: String,
  • filter: BrowseDirectoryFiltersInput,
  • sort: FileResultSortInput,
  • stdPath: String!,
  • timezone: String!
  • ): FileResultConnection!
  • # Arguments
  • # first: Returns the first n elements from the list.
  • # after: Returns the elements in the list that occur after the
  • # specified cursor.
  • # last: Returns the last n elements from the list.
  • # before: Returns the elements in the list that occur before the
  • # specified cursor.
  • # filter:
  • # sort:
  • # timezone:
  • fileResultConnection(
  • first: Int,
  • after: String,
  • last: Int,
  • before: String,
  • filter: ListFileResultFiltersInput,
  • sort: FileResultSortInput,
  • timezone: String!
  • ): FileResultConnection!
  • # Arguments
  • # stdPath:
  • whitelistedAnalyzerList(stdPath: String!): [WhitelistedAnalyzer!]!
  • policySummaries: [ClassificationPolicySummary!]!
  • objectStatus: ObjectStatus!
  • # Arguments
  • # stdPath:
  • # fileMode: FileMode represents the type of object at the path
  • # (File/Directory/Symlink).
  • allAnalyzerMappings(
  • stdPath: String!,
  • fileMode: DataGovFileMode
  • ): [AnalyzerMapping!]!
  • snappable: HierarchyObject
  • }