Documentation
¶
Index ¶
- type Account
- type AppAsset
- type AppAssetOwner
- type AuthUser
- type BulkAutoLinkByEmailParams
- type ClaimNextSyncJobByLaneParams
- type CompleteManualSyncJobFailureParams
- type CompleteManualSyncJobSuccessParams
- type CompleteScheduledSyncJobFailureParams
- type CompleteScheduledSyncJobSuccessParams
- type ConnectedAppReadModelsV
- type ConnectorConfig
- type ConnectorSecret
- type ConnectorSourceState
- type CountAppAssetGovernanceBySourceAndQueryAndStateParams
- type CountAppAssetGovernanceGroupedByStateParams
- type CountAppAssetGovernanceGroupedByStateRow
- type CountAppAssetsBySourceAndQueryAndKindParams
- type CountAppAssetsBySourcesAndQueryAndKindParams
- type CountConfiguredNonHumanHighRiskCredentialAttributionRow
- type CountConfiguredNonHumanPrincipalOwnerCoverageRow
- type CountCredentialArtifactsBySourceAndQueryAndFiltersParams
- type CountCredentialArtifactsBySourcesAndQueryAndFiltersParams
- type CountGitHubUsersBySourceAndQueryParams
- type CountGoogleWorkspaceGroupsBySourceAndQueryParams
- type CountIdentitiesInventoryByFiltersParams
- type CountLinkedSourceAccountsBySourceParams
- type CountNonHumanPrincipalsByFiltersParams
- type CountOktaAccountsByQueryAndStateParams
- type CountOktaAppAssignedAccountsByQueryParams
- type CountOktaAppsFilteredParams
- type CountSaaSAppsByFiltersParams
- type CountSaaSAppsGroupedByManagedStateRow
- type CountSaaSAppsGroupedByRiskLevelRow
- type CountSourceAccountsBySourceAndQueryAndStateParams
- type CountSourceAccountsBySourceAndQueryParams
- type CountSourceAccountsBySourceParams
- type CountUnlinkedSourceAccountsBySourceAndQueryParams
- type CountUnlinkedSourceAccountsBySourceParams
- type CreateAuthUserParams
- type CreateIdentityParams
- type CreateSyncJobParams
- type CreateSyncRunParams
- type CredentialArtifact
- type CredentialAuditEvent
- type DBTX
- type DeactivateRulesNotInKeysParams
- type DiscoveryAppReadModelsV
- type Entitlement
- type ExpireAppAssetOwnersNotSeenInRunBySourceParams
- type ExpireAppAssetsNotSeenInRunBySourceParams
- type ExpireCredentialArtifactsNotSeenInRunBySourceParams
- type ExpireEntitlementsNotSeenInRunBySourceParams
- type ExpireSaaSAppEventsNotSeenInRunBySourceParams
- type ExpireSaaSAppSourcesNotSeenInRunBySourceParams
- type ExpireSourceAccountsNotSeenInRunParams
- type FailSyncRunParams
- type GetActiveSyncJobByScopeParams
- type GetAppAssetBySourceAndKindAndExternalIDParams
- type GetAppAssetPostureByIDRow
- type GetCredentialArtifactByIDParams
- type GetCredentialArtifactByIDRow
- type GetIdentityBySourceAndExternalIDParams
- type GetIdentitySummaryByIDRow
- type GetLatestSaaSDiscoveryObservedAtBySourceParams
- type GetOktaAppAssignmentForOktaAccountByOktaAppExternalIDParams
- type GetOktaAppAssignmentForOktaAccountByOktaAppExternalIDRow
- type GetOktaAppByExternalIDWithIntegrationRow
- type GetRuleAttestationParams
- type GetRuleOverrideParams
- type GetRuleWithCurrentResultByRulesetKeyAndRuleKeyParams
- type GetRuleWithCurrentResultByRulesetKeyAndRuleKeyRow
- type GetRulesetOverrideParams
- type GetRulesetPostureCountsParams
- type GetRulesetPostureCountsRow
- type GetSaaSAppByIDRow
- type GetSaaSAppReplacementCandidateByIDRow
- type GetSyncRunRollupsForSourcesParams
- type GetSyncRunRollupsForSourcesRow
- type GovernanceSubjectOverride
- type Identity
- type IdentityAccount
- type IdentitySourceSetting
- type InsertNonHumanAccessEventParams
- type InsertRuleEvaluationParams
- type InsertSaaSAppReviewDecisionParams
- type IntegrationOktaAppMap
- type ListActiveRulesWithCurrentResultsByRulesetKeyParams
- type ListActiveRulesWithCurrentResultsByRulesetKeyRow
- type ListAppAssetDiscoveryEventsBySourceAppIDParams
- type ListAppAssetDiscoverySourcesBySourceAppIDParams
- type ListAppAssetDiscoverySourcesBySourceAppIDRow
- type ListAppAssetGovernancePageBySourceAndQueryAndStateParams
- type ListAppAssetGovernancePageBySourceAndQueryAndStateRow
- type ListAppAssetsPageBySourceAndQueryAndKindParams
- type ListAppAssetsPageBySourcesAndQueryAndKindParams
- type ListCredentialArtifactCountsByAssetRefParams
- type ListCredentialArtifactCountsByAssetRefRow
- type ListCredentialArtifactsForAssetRefParams
- type ListCredentialArtifactsForAssetRefRow
- type ListCredentialArtifactsPageBySourceAndQueryAndFiltersParams
- type ListCredentialArtifactsPageBySourceAndQueryAndFiltersRow
- type ListCredentialArtifactsPageBySourcesAndQueryAndFiltersParams
- type ListCredentialArtifactsPageBySourcesAndQueryAndFiltersRow
- type ListCredentialAuditEventsForCredentialParams
- type ListCredentialAuditEventsForTargetParams
- type ListDashboardPrivilegedAccessBucketsParams
- type ListDashboardPrivilegedAccessBucketsRow
- type ListDashboardSourceAccountSummariesParams
- type ListDashboardSourceAccountSummariesRow
- type ListEntitlementAccessBySourceAndResourceRefParams
- type ListEntitlementAccessBySourceAndResourceRefRow
- type ListEntitlementsForAccountIDsRow
- type ListEntitlementsForAccountRow
- type ListGitHubUsersPageBySourceAndQueryParams
- type ListGitHubUsersPageBySourceAndQueryRow
- type ListGoogleWorkspaceGroupMemberCountsByGroupExternalIDsRow
- type ListGoogleWorkspaceGroupsPageBySourceAndQueryParams
- type ListIdentitiesInventoryPageByFiltersParams
- type ListIdentitiesInventoryPageByFiltersRow
- type ListIdentityAccountAttributesRow
- type ListIdentitySourceSummariesRow
- type ListLatestSuccessfulSyncRunsBySourceRow
- type ListMappedOktaDiscoveryAppsBySourceRow
- type ListNonHumanPrincipalAssetsByRefRow
- type ListNonHumanPrincipalCredentialsByRefRow
- type ListNonHumanPrincipalsPageByFiltersParams
- type ListNonHumanPrincipalsPageByFiltersRow
- type ListNormalizedEntitlementAssignmentsV1Row
- type ListNormalizedEntitlementAssignmentsV2Row
- type ListNormalizedIdentitiesV1Row
- type ListNormalizedIdentitiesV2Row
- type ListOktaAccountsForCommandRow
- type ListOktaAccountsPageByQueryAndStateParams
- type ListOktaAppAssignedAccountsPageByQueryParams
- type ListOktaAppAssignedAccountsPageByQueryRow
- type ListOktaAppAssignmentsForOktaAccountRow
- type ListOktaAppGrantingGroupsForOktaAccountByOktaAppExternalIDParams
- type ListOktaAppGrantingGroupsForOktaAccountByOktaAppExternalIDRow
- type ListOktaAppGrantingGroupsForOktaAccountsParams
- type ListOktaAppGrantingGroupsForOktaAccountsRow
- type ListOktaAppGroupAssignmentsByAppIDsRow
- type ListOktaAppsForCommandRow
- type ListOktaAppsPageByQueryParams
- type ListOktaAppsPageByQueryRow
- type ListOktaAppsPageFilteredParams
- type ListOktaAppsPageFilteredRow
- type ListOktaAppsPageParams
- type ListOktaAppsPageRow
- type ListRecentFinishedSyncRunsBySourceParams
- type ListRecentFinishedSyncRunsBySourceRow
- type ListRecentFinishedSyncRunsForSourcesParams
- type ListRecentFinishedSyncRunsForSourcesRow
- type ListRecentNonSuccessSyncRunsBySourceParams
- type ListRecentNonSuccessSyncRunsBySourceRow
- type ListSaaSAppEventsBySaaSAppIDParams
- type ListSaaSAppHotspotsParams
- type ListSaaSAppHotspotsRow
- type ListSaaSAppIDsFromSourcesSeenInRunBySourceParams
- type ListSaaSAppReviewDecisionsBySaaSAppIDParams
- type ListSaaSAppReviewDecisionsBySaaSAppIDRow
- type ListSaaSAppsPageByFiltersParams
- type ListSaaSAppsPageByFiltersRow
- type ListSourceAccountsPageBySourceAndQueryAndStateParams
- type ListSourceAccountsPageBySourceAndQueryParams
- type ListSourceAccountsPageBySourceAndQueryRow
- type ListSourceAccountsPageBySourceAndQueryWithEntitlementCountsParams
- type ListSourceAccountsPageBySourceAndQueryWithEntitlementCountsRow
- type ListTopActorsForSaaSAppByIDParams
- type ListTopActorsForSaaSAppByIDRow
- type ListUnlinkedAccountsPageParams
- type ListUnlinkedSourceAccountsPageBySourceAndQueryParams
- type MarkSyncJobRunningParams
- type MarkSyncRunSuccessParams
- type NonHumanAccessEvent
- type NonHumanAppAssetCredentialRefsV
- type NonHumanPrincipal
- type NonHumanPrincipalAssetLinksV
- type NonHumanPrincipalProjectionV
- type NonHumanPrincipalReadModelsV
- type OktaApp
- type OktaAppGroupAssignment
- type OktaGroup
- type OktaUserAppAssignment
- type OktaUserGroup
- type PromoteAppAssetOwnersSeenInRunBySourceParams
- type PromoteAppAssetsSeenInRunBySourceParams
- type PromoteCredentialArtifactsSeenInRunBySourceParams
- type PromoteEntitlementsSeenInRunBySourceParams
- type PromoteSaaSAppEventsSeenInRunBySourceParams
- type PromoteSaaSAppSourcesSeenInRunBySourceParams
- type PromoteSourceAccountsSeenInRunParams
- type Queries
- func (q *Queries) AcquireAdvisoryLock(ctx context.Context, dollar_1 int64) error
- func (q *Queries) BulkAutoLinkByEmail(ctx context.Context, arg BulkAutoLinkByEmailParams) (int64, error)
- func (q *Queries) ClaimNextSyncJobByLane(ctx context.Context, arg ClaimNextSyncJobByLaneParams) (SyncJob, error)
- func (q *Queries) CompleteManualSyncJobFailure(ctx context.Context, arg CompleteManualSyncJobFailureParams) (int64, error)
- func (q *Queries) CompleteManualSyncJobSuccess(ctx context.Context, arg CompleteManualSyncJobSuccessParams) (int64, error)
- func (q *Queries) CompleteScheduledSyncJobFailure(ctx context.Context, arg CompleteScheduledSyncJobFailureParams) (int64, error)
- func (q *Queries) CompleteScheduledSyncJobSuccess(ctx context.Context, arg CompleteScheduledSyncJobSuccessParams) (int64, error)
- func (q *Queries) CountAppAssetGovernanceBySourceAndQueryAndState(ctx context.Context, arg CountAppAssetGovernanceBySourceAndQueryAndStateParams) (int64, error)
- func (q *Queries) CountAppAssetGovernanceGroupedByState(ctx context.Context, arg CountAppAssetGovernanceGroupedByStateParams) ([]CountAppAssetGovernanceGroupedByStateRow, error)
- func (q *Queries) CountAppAssetsBySourceAndQueryAndKind(ctx context.Context, arg CountAppAssetsBySourceAndQueryAndKindParams) (int64, error)
- func (q *Queries) CountAppAssetsBySourcesAndQueryAndKind(ctx context.Context, arg CountAppAssetsBySourcesAndQueryAndKindParams) (int64, error)
- func (q *Queries) CountAuthAdmins(ctx context.Context) (int64, error)
- func (q *Queries) CountAuthUsers(ctx context.Context) (int64, error)
- func (q *Queries) CountConfiguredNonHumanHighRiskCredentialAttribution(ctx context.Context) (CountConfiguredNonHumanHighRiskCredentialAttributionRow, error)
- func (q *Queries) CountConfiguredNonHumanPrincipalOwnerCoverage(ctx context.Context) (CountConfiguredNonHumanPrincipalOwnerCoverageRow, error)
- func (q *Queries) CountConnectedOktaApps(ctx context.Context) (int64, error)
- func (q *Queries) CountCredentialArtifactsBySourceAndQueryAndFilters(ctx context.Context, ...) (int64, error)
- func (q *Queries) CountCredentialArtifactsBySourcesAndQueryAndFilters(ctx context.Context, ...) (int64, error)
- func (q *Queries) CountGitHubUsersBySourceAndQuery(ctx context.Context, arg CountGitHubUsersBySourceAndQueryParams) (int64, error)
- func (q *Queries) CountGoogleWorkspaceGroupsBySourceAndQuery(ctx context.Context, arg CountGoogleWorkspaceGroupsBySourceAndQueryParams) (int64, error)
- func (q *Queries) CountIdentitiesInventoryByFilters(ctx context.Context, arg CountIdentitiesInventoryByFiltersParams) (int64, error)
- func (q *Queries) CountLinkedSourceAccountsBySource(ctx context.Context, arg CountLinkedSourceAccountsBySourceParams) (int64, error)
- func (q *Queries) CountNonHumanAccessWeeklyAdminReviewSessions(ctx context.Context, since pgtype.Timestamptz) (int64, error)
- func (q *Queries) CountNonHumanPrincipalsByFilters(ctx context.Context, arg CountNonHumanPrincipalsByFiltersParams) (int64, error)
- func (q *Queries) CountOktaAccounts(ctx context.Context) (int64, error)
- func (q *Queries) CountOktaAccountsByQueryAndState(ctx context.Context, arg CountOktaAccountsByQueryAndStateParams) (int64, error)
- func (q *Queries) CountOktaAppAssignedAccountsByQuery(ctx context.Context, arg CountOktaAppAssignedAccountsByQueryParams) (int64, error)
- func (q *Queries) CountOktaApps(ctx context.Context) (int64, error)
- func (q *Queries) CountOktaAppsByQuery(ctx context.Context, query string) (int64, error)
- func (q *Queries) CountOktaAppsFiltered(ctx context.Context, arg CountOktaAppsFilteredParams) (int64, error)
- func (q *Queries) CountSaaSAppsByFilters(ctx context.Context, arg CountSaaSAppsByFiltersParams) (int64, error)
- func (q *Queries) CountSaaSAppsGroupedByManagedState(ctx context.Context) ([]CountSaaSAppsGroupedByManagedStateRow, error)
- func (q *Queries) CountSaaSAppsGroupedByRiskLevel(ctx context.Context) ([]CountSaaSAppsGroupedByRiskLevelRow, error)
- func (q *Queries) CountSourceAccountsBySource(ctx context.Context, arg CountSourceAccountsBySourceParams) (int64, error)
- func (q *Queries) CountSourceAccountsBySourceAndQuery(ctx context.Context, arg CountSourceAccountsBySourceAndQueryParams) (int64, error)
- func (q *Queries) CountSourceAccountsBySourceAndQueryAndState(ctx context.Context, arg CountSourceAccountsBySourceAndQueryAndStateParams) (int64, error)
- func (q *Queries) CountUnlinkedAccounts(ctx context.Context) (int64, error)
- func (q *Queries) CountUnlinkedSourceAccountsBySource(ctx context.Context, arg CountUnlinkedSourceAccountsBySourceParams) (int64, error)
- func (q *Queries) CountUnlinkedSourceAccountsBySourceAndQuery(ctx context.Context, arg CountUnlinkedSourceAccountsBySourceAndQueryParams) (int64, error)
- func (q *Queries) CreateAuthUser(ctx context.Context, arg CreateAuthUserParams) (AuthUser, error)
- func (q *Queries) CreateIdentity(ctx context.Context, arg CreateIdentityParams) (Identity, error)
- func (q *Queries) CreateSyncJob(ctx context.Context, arg CreateSyncJobParams) (SyncJob, error)
- func (q *Queries) CreateSyncRun(ctx context.Context, arg CreateSyncRunParams) (int64, error)
- func (q *Queries) DeactivateRulesNotInKeys(ctx context.Context, arg DeactivateRulesNotInKeysParams) error
- func (q *Queries) DeleteAuthUser(ctx context.Context, id int64) error
- func (q *Queries) DeleteConnectorSecretsByKind(ctx context.Context, kind string) (int64, error)
- func (q *Queries) DeleteConnectorSourceStateAll(ctx context.Context) error
- func (q *Queries) DeleteIntegrationOktaAppMap(ctx context.Context, integrationKind string) error
- func (q *Queries) ExpireAppAssetOwnersNotSeenInRunBySource(ctx context.Context, arg ExpireAppAssetOwnersNotSeenInRunBySourceParams) (int64, error)
- func (q *Queries) ExpireAppAssetsNotSeenInRunBySource(ctx context.Context, arg ExpireAppAssetsNotSeenInRunBySourceParams) (int64, error)
- func (q *Queries) ExpireCredentialArtifactsNotSeenInRunBySource(ctx context.Context, arg ExpireCredentialArtifactsNotSeenInRunBySourceParams) (int64, error)
- func (q *Queries) ExpireEntitlementsNotSeenInRunBySource(ctx context.Context, arg ExpireEntitlementsNotSeenInRunBySourceParams) (int64, error)
- func (q *Queries) ExpireOktaAccountsNotSeenInRun(ctx context.Context, expiredRunID pgtype.Int8) (int64, error)
- func (q *Queries) ExpireOktaAppAssignmentsNotSeenInRun(ctx context.Context, expiredRunID pgtype.Int8) (int64, error)
- func (q *Queries) ExpireOktaAppGroupAssignmentsNotSeenInRun(ctx context.Context, expiredRunID pgtype.Int8) (int64, error)
- func (q *Queries) ExpireOktaAppsNotSeenInRun(ctx context.Context, expiredRunID pgtype.Int8) (int64, error)
- func (q *Queries) ExpireOktaGroupMembershipsNotSeenInRun(ctx context.Context, expiredRunID pgtype.Int8) (int64, error)
- func (q *Queries) ExpireOktaGroupsNotSeenInRun(ctx context.Context, expiredRunID pgtype.Int8) (int64, error)
- func (q *Queries) ExpireSaaSAppEventsNotSeenInRunBySource(ctx context.Context, arg ExpireSaaSAppEventsNotSeenInRunBySourceParams) (int64, error)
- func (q *Queries) ExpireSaaSAppSourcesNotSeenInRunBySource(ctx context.Context, arg ExpireSaaSAppSourcesNotSeenInRunBySourceParams) (int64, error)
- func (q *Queries) ExpireSourceAccountsNotSeenInRun(ctx context.Context, arg ExpireSourceAccountsNotSeenInRunParams) (int64, error)
- func (q *Queries) FailSyncRun(ctx context.Context, arg FailSyncRunParams) error
- func (q *Queries) GetActiveSyncJobByScope(ctx context.Context, arg GetActiveSyncJobByScopeParams) (SyncJob, error)
- func (q *Queries) GetAppAssetByID(ctx context.Context, id int64) (AppAsset, error)
- func (q *Queries) GetAppAssetBySourceAndKindAndExternalID(ctx context.Context, arg GetAppAssetBySourceAndKindAndExternalIDParams) (AppAsset, error)
- func (q *Queries) GetAppAssetPostureByID(ctx context.Context, id int64) (GetAppAssetPostureByIDRow, error)
- func (q *Queries) GetAuthUser(ctx context.Context, id int64) (AuthUser, error)
- func (q *Queries) GetAuthUserByEmail(ctx context.Context, btrim string) (AuthUser, error)
- func (q *Queries) GetAuthUserForUpdate(ctx context.Context, id int64) (AuthUser, error)
- func (q *Queries) GetConnectorConfig(ctx context.Context, kind string) (ConnectorConfig, error)
- func (q *Queries) GetCredentialArtifactByID(ctx context.Context, arg GetCredentialArtifactByIDParams) (GetCredentialArtifactByIDRow, error)
- func (q *Queries) GetIdentityAccountLinkByAccountID(ctx context.Context, accountID int64) (IdentityAccount, error)
- func (q *Queries) GetIdentityBySourceAndExternalID(ctx context.Context, arg GetIdentityBySourceAndExternalIDParams) (Identity, error)
- func (q *Queries) GetIdentitySummaryByID(ctx context.Context, id int64) (GetIdentitySummaryByIDRow, error)
- func (q *Queries) GetLatestSaaSDiscoveryObservedAtBySource(ctx context.Context, arg GetLatestSaaSDiscoveryObservedAtBySourceParams) (pgtype.Timestamptz, error)
- func (q *Queries) GetNonHumanPrincipalByRef(ctx context.Context, principalRef string) (NonHumanPrincipalReadModelsV, error)
- func (q *Queries) GetOktaAccount(ctx context.Context, id int64) (Account, error)
- func (q *Queries) GetOktaAppAssignmentForOktaAccountByOktaAppExternalID(ctx context.Context, ...) (GetOktaAppAssignmentForOktaAccountByOktaAppExternalIDRow, error)
- func (q *Queries) GetOktaAppByExternalIDWithIntegration(ctx context.Context, externalID string) (GetOktaAppByExternalIDWithIntegrationRow, error)
- func (q *Queries) GetPreferredIdentityByPrimaryEmail(ctx context.Context, primaryEmail string) (Identity, error)
- func (q *Queries) GetRuleAttestation(ctx context.Context, arg GetRuleAttestationParams) (RuleAttestation, error)
- func (q *Queries) GetRuleOverride(ctx context.Context, arg GetRuleOverrideParams) (RuleOverride, error)
- func (q *Queries) GetRuleWithCurrentResultByRulesetKeyAndRuleKey(ctx context.Context, arg GetRuleWithCurrentResultByRulesetKeyAndRuleKeyParams) (GetRuleWithCurrentResultByRulesetKeyAndRuleKeyRow, error)
- func (q *Queries) GetRulesetByKey(ctx context.Context, key string) (Ruleset, error)
- func (q *Queries) GetRulesetOverride(ctx context.Context, arg GetRulesetOverrideParams) (RulesetOverride, error)
- func (q *Queries) GetRulesetPostureCounts(ctx context.Context, arg GetRulesetPostureCountsParams) (GetRulesetPostureCountsRow, error)
- func (q *Queries) GetSaaSAppByID(ctx context.Context, id int64) (GetSaaSAppByIDRow, error)
- func (q *Queries) GetSaaSAppReplacementCandidateByID(ctx context.Context, id int64) (GetSaaSAppReplacementCandidateByIDRow, error)
- func (q *Queries) GetSourceAccount(ctx context.Context, id int64) (Account, error)
- func (q *Queries) GetSyncRunRollupsForSources(ctx context.Context, arg GetSyncRunRollupsForSourcesParams) ([]GetSyncRunRollupsForSourcesRow, error)
- func (q *Queries) InsertNonHumanAccessEvent(ctx context.Context, arg InsertNonHumanAccessEventParams) error
- func (q *Queries) InsertRuleEvaluation(ctx context.Context, arg InsertRuleEvaluationParams) (RuleEvaluation, error)
- func (q *Queries) InsertSaaSAppReviewDecision(ctx context.Context, arg InsertSaaSAppReviewDecisionParams) error
- func (q *Queries) ListActiveAuthAdminsForUpdate(ctx context.Context) ([]int64, error)
- func (q *Queries) ListActiveRulesByRulesetID(ctx context.Context, rulesetID int64) ([]Rule, error)
- func (q *Queries) ListActiveRulesWithCurrentResultsByRulesetKey(ctx context.Context, arg ListActiveRulesWithCurrentResultsByRulesetKeyParams) ([]ListActiveRulesWithCurrentResultsByRulesetKeyRow, error)
- func (q *Queries) ListAppAssetDiscoveryEventsBySourceAppID(ctx context.Context, arg ListAppAssetDiscoveryEventsBySourceAppIDParams) ([]SaasAppEvent, error)
- func (q *Queries) ListAppAssetDiscoverySourcesBySourceAppID(ctx context.Context, arg ListAppAssetDiscoverySourcesBySourceAppIDParams) ([]ListAppAssetDiscoverySourcesBySourceAppIDRow, error)
- func (q *Queries) ListAppAssetGovernancePageBySourceAndQueryAndState(ctx context.Context, ...) ([]ListAppAssetGovernancePageBySourceAndQueryAndStateRow, error)
- func (q *Queries) ListAppAssetOwnersByAssetID(ctx context.Context, appAssetID int64) ([]AppAssetOwner, error)
- func (q *Queries) ListAppAssetOwnersByAssetIDs(ctx context.Context, assetIds []int64) ([]AppAssetOwner, error)
- func (q *Queries) ListAppAssetsPageBySourceAndQueryAndKind(ctx context.Context, arg ListAppAssetsPageBySourceAndQueryAndKindParams) ([]AppAsset, error)
- func (q *Queries) ListAppAssetsPageBySourcesAndQueryAndKind(ctx context.Context, arg ListAppAssetsPageBySourcesAndQueryAndKindParams) ([]AppAsset, error)
- func (q *Queries) ListAuthUsers(ctx context.Context) ([]AuthUser, error)
- func (q *Queries) ListAuthoritativeSources(ctx context.Context) ([]IdentitySourceSetting, error)
- func (q *Queries) ListConnectorConfigs(ctx context.Context) ([]ConnectorConfig, error)
- func (q *Queries) ListConnectorConfigsForUpdate(ctx context.Context) ([]ConnectorConfig, error)
- func (q *Queries) ListConnectorSecrets(ctx context.Context) ([]ConnectorSecret, error)
- func (q *Queries) ListConnectorSecretsByKind(ctx context.Context, kind string) ([]ConnectorSecret, error)
- func (q *Queries) ListCredentialArtifactCountsByAssetRef(ctx context.Context, arg ListCredentialArtifactCountsByAssetRefParams) ([]ListCredentialArtifactCountsByAssetRefRow, error)
- func (q *Queries) ListCredentialArtifactsForAssetRef(ctx context.Context, arg ListCredentialArtifactsForAssetRefParams) ([]ListCredentialArtifactsForAssetRefRow, error)
- func (q *Queries) ListCredentialArtifactsPageBySourceAndQueryAndFilters(ctx context.Context, ...) ([]ListCredentialArtifactsPageBySourceAndQueryAndFiltersRow, error)
- func (q *Queries) ListCredentialArtifactsPageBySourcesAndQueryAndFilters(ctx context.Context, ...) ([]ListCredentialArtifactsPageBySourcesAndQueryAndFiltersRow, error)
- func (q *Queries) ListCredentialAuditEventsForCredential(ctx context.Context, arg ListCredentialAuditEventsForCredentialParams) ([]CredentialAuditEvent, error)
- func (q *Queries) ListCredentialAuditEventsForTarget(ctx context.Context, arg ListCredentialAuditEventsForTargetParams) ([]CredentialAuditEvent, error)
- func (q *Queries) ListDashboardPrivilegedAccessBuckets(ctx context.Context, arg ListDashboardPrivilegedAccessBucketsParams) ([]ListDashboardPrivilegedAccessBucketsRow, error)
- func (q *Queries) ListDashboardSourceAccountSummaries(ctx context.Context, arg ListDashboardSourceAccountSummariesParams) ([]ListDashboardSourceAccountSummariesRow, error)
- func (q *Queries) ListDistinctOktaAppStatuses(ctx context.Context) ([]string, error)
- func (q *Queries) ListEntitlementAccessBySourceAndResourceRef(ctx context.Context, arg ListEntitlementAccessBySourceAndResourceRefParams) ([]ListEntitlementAccessBySourceAndResourceRefRow, error)
- func (q *Queries) ListEntitlementsForAccount(ctx context.Context, appUserID int64) ([]ListEntitlementsForAccountRow, error)
- func (q *Queries) ListEntitlementsForAccountIDs(ctx context.Context, accountIds []int64) ([]ListEntitlementsForAccountIDsRow, error)
- func (q *Queries) ListEntraDiscoveryAppIDsWithManagedAssetsBySource(ctx context.Context, sourceName string) ([]int64, error)
- func (q *Queries) ListGitHubUsersPageBySourceAndQuery(ctx context.Context, arg ListGitHubUsersPageBySourceAndQueryParams) ([]ListGitHubUsersPageBySourceAndQueryRow, error)
- func (q *Queries) ListGoogleWorkspaceGroupMemberCountsByGroupExternalIDs(ctx context.Context, groupExternalIds []string) ([]ListGoogleWorkspaceGroupMemberCountsByGroupExternalIDsRow, error)
- func (q *Queries) ListGoogleWorkspaceGroupsPageBySourceAndQuery(ctx context.Context, arg ListGoogleWorkspaceGroupsPageBySourceAndQueryParams) ([]Account, error)
- func (q *Queries) ListIdentitiesInventoryPageByFilters(ctx context.Context, arg ListIdentitiesInventoryPageByFiltersParams) ([]ListIdentitiesInventoryPageByFiltersRow, error)
- func (q *Queries) ListIdentityAccountAttributes(ctx context.Context) ([]ListIdentityAccountAttributesRow, error)
- func (q *Queries) ListIdentitySourceSettings(ctx context.Context) ([]IdentitySourceSetting, error)
- func (q *Queries) ListIdentitySourceSummaries(ctx context.Context, identityID int64) ([]ListIdentitySourceSummariesRow, error)
- func (q *Queries) ListLatestSuccessfulSyncRunsBySource(ctx context.Context) ([]ListLatestSuccessfulSyncRunsBySourceRow, error)
- func (q *Queries) ListLinkedAccountsForIdentity(ctx context.Context, identityID int64) ([]Account, error)
- func (q *Queries) ListMappedOktaDiscoveryAppsBySource(ctx context.Context, sourceName string) ([]ListMappedOktaDiscoveryAppsBySourceRow, error)
- func (q *Queries) ListNonHumanPrincipalAssetsByRef(ctx context.Context, principalRef string) ([]ListNonHumanPrincipalAssetsByRefRow, error)
- func (q *Queries) ListNonHumanPrincipalCredentialsByRef(ctx context.Context, principalRef string) ([]ListNonHumanPrincipalCredentialsByRefRow, error)
- func (q *Queries) ListNonHumanPrincipalsPageByFilters(ctx context.Context, arg ListNonHumanPrincipalsPageByFiltersParams) ([]ListNonHumanPrincipalsPageByFiltersRow, error)
- func (q *Queries) ListNormalizedEntitlementAssignmentsV1(ctx context.Context) ([]ListNormalizedEntitlementAssignmentsV1Row, error)
- func (q *Queries) ListNormalizedEntitlementAssignmentsV2(ctx context.Context) ([]ListNormalizedEntitlementAssignmentsV2Row, error)
- func (q *Queries) ListNormalizedIdentitiesV1(ctx context.Context) ([]ListNormalizedIdentitiesV1Row, error)
- func (q *Queries) ListNormalizedIdentitiesV2(ctx context.Context) ([]ListNormalizedIdentitiesV2Row, error)
- func (q *Queries) ListOktaAccountsForCommand(ctx context.Context) ([]ListOktaAccountsForCommandRow, error)
- func (q *Queries) ListOktaAccountsPageByQueryAndState(ctx context.Context, arg ListOktaAccountsPageByQueryAndStateParams) ([]Account, error)
- func (q *Queries) ListOktaAppAssignedAccountsPageByQuery(ctx context.Context, arg ListOktaAppAssignedAccountsPageByQueryParams) ([]ListOktaAppAssignedAccountsPageByQueryRow, error)
- func (q *Queries) ListOktaAppAssignmentsForOktaAccount(ctx context.Context, oktaUserAccountID int64) ([]ListOktaAppAssignmentsForOktaAccountRow, error)
- func (q *Queries) ListOktaAppGrantingGroupsForOktaAccountByOktaAppExternalID(ctx context.Context, ...) ([]ListOktaAppGrantingGroupsForOktaAccountByOktaAppExternalIDRow, error)
- func (q *Queries) ListOktaAppGrantingGroupsForOktaAccounts(ctx context.Context, arg ListOktaAppGrantingGroupsForOktaAccountsParams) ([]ListOktaAppGrantingGroupsForOktaAccountsRow, error)
- func (q *Queries) ListOktaAppGroupAssignmentsByAppIDs(ctx context.Context, dollar_1 []int64) ([]ListOktaAppGroupAssignmentsByAppIDsRow, error)
- func (q *Queries) ListOktaAppsForCommand(ctx context.Context) ([]ListOktaAppsForCommandRow, error)
- func (q *Queries) ListOktaAppsPage(ctx context.Context, arg ListOktaAppsPageParams) ([]ListOktaAppsPageRow, error)
- func (q *Queries) ListOktaAppsPageByQuery(ctx context.Context, arg ListOktaAppsPageByQueryParams) ([]ListOktaAppsPageByQueryRow, error)
- func (q *Queries) ListOktaAppsPageFiltered(ctx context.Context, arg ListOktaAppsPageFilteredParams) ([]ListOktaAppsPageFilteredRow, error)
- func (q *Queries) ListOktaGroupsForOktaAccount(ctx context.Context, oktaUserAccountID int64) ([]OktaGroup, error)
- func (q *Queries) ListRecentFinishedSyncRunsBySource(ctx context.Context, arg ListRecentFinishedSyncRunsBySourceParams) ([]ListRecentFinishedSyncRunsBySourceRow, error)
- func (q *Queries) ListRecentFinishedSyncRunsForSources(ctx context.Context, arg ListRecentFinishedSyncRunsForSourcesParams) ([]ListRecentFinishedSyncRunsForSourcesRow, error)
- func (q *Queries) ListRecentNonSuccessSyncRunsBySource(ctx context.Context, arg ListRecentNonSuccessSyncRunsBySourceParams) ([]ListRecentNonSuccessSyncRunsBySourceRow, error)
- func (q *Queries) ListRulesets(ctx context.Context) ([]Ruleset, error)
- func (q *Queries) ListSaaSAppEventsBySaaSAppID(ctx context.Context, arg ListSaaSAppEventsBySaaSAppIDParams) ([]SaasAppEvent, error)
- func (q *Queries) ListSaaSAppHotspots(ctx context.Context, arg ListSaaSAppHotspotsParams) ([]ListSaaSAppHotspotsRow, error)
- func (q *Queries) ListSaaSAppIDsFromSourcesSeenInRunBySource(ctx context.Context, arg ListSaaSAppIDsFromSourcesSeenInRunBySourceParams) ([]int64, error)
- func (q *Queries) ListSaaSAppReviewDecisionsBySaaSAppID(ctx context.Context, arg ListSaaSAppReviewDecisionsBySaaSAppIDParams) ([]ListSaaSAppReviewDecisionsBySaaSAppIDRow, error)
- func (q *Queries) ListSaaSAppSourcesBySaaSAppID(ctx context.Context, saasAppID int64) ([]SaasAppSource, error)
- func (q *Queries) ListSaaSAppsPageByFilters(ctx context.Context, arg ListSaaSAppsPageByFiltersParams) ([]ListSaaSAppsPageByFiltersRow, error)
- func (q *Queries) ListSourceAccountsPageBySourceAndQuery(ctx context.Context, arg ListSourceAccountsPageBySourceAndQueryParams) ([]ListSourceAccountsPageBySourceAndQueryRow, error)
- func (q *Queries) ListSourceAccountsPageBySourceAndQueryAndState(ctx context.Context, arg ListSourceAccountsPageBySourceAndQueryAndStateParams) ([]Account, error)
- func (q *Queries) ListSourceAccountsPageBySourceAndQueryWithEntitlementCounts(ctx context.Context, ...) ([]ListSourceAccountsPageBySourceAndQueryWithEntitlementCountsRow, error)
- func (q *Queries) ListTopActorsForSaaSAppByID(ctx context.Context, arg ListTopActorsForSaaSAppByIDParams) ([]ListTopActorsForSaaSAppByIDRow, error)
- func (q *Queries) ListUnlinkedAccountsPage(ctx context.Context, arg ListUnlinkedAccountsPageParams) ([]Account, error)
- func (q *Queries) ListUnlinkedSourceAccountsPageBySourceAndQuery(ctx context.Context, arg ListUnlinkedSourceAccountsPageBySourceAndQueryParams) ([]Account, error)
- func (q *Queries) MarkSyncJobRunning(ctx context.Context, arg MarkSyncJobRunningParams) (SyncJob, error)
- func (q *Queries) MarkSyncRunSuccess(ctx context.Context, arg MarkSyncRunSuccessParams) error
- func (q *Queries) PromoteAppAssetOwnersSeenInRunBySource(ctx context.Context, arg PromoteAppAssetOwnersSeenInRunBySourceParams) (int64, error)
- func (q *Queries) PromoteAppAssetsSeenInRunBySource(ctx context.Context, arg PromoteAppAssetsSeenInRunBySourceParams) (int64, error)
- func (q *Queries) PromoteCredentialArtifactsSeenInRunBySource(ctx context.Context, arg PromoteCredentialArtifactsSeenInRunBySourceParams) (int64, error)
- func (q *Queries) PromoteEntitlementsSeenInRunBySource(ctx context.Context, arg PromoteEntitlementsSeenInRunBySourceParams) (int64, error)
- func (q *Queries) PromoteOktaAccountsSeenInRun(ctx context.Context, lastObservedRunID pgtype.Int8) (int64, error)
- func (q *Queries) PromoteOktaAppAssignmentsSeenInRun(ctx context.Context, lastObservedRunID pgtype.Int8) (int64, error)
- func (q *Queries) PromoteOktaAppGroupAssignmentsSeenInRun(ctx context.Context, lastObservedRunID pgtype.Int8) (int64, error)
- func (q *Queries) PromoteOktaAppsSeenInRun(ctx context.Context, lastObservedRunID pgtype.Int8) (int64, error)
- func (q *Queries) PromoteOktaGroupMembershipsSeenInRun(ctx context.Context, lastObservedRunID pgtype.Int8) (int64, error)
- func (q *Queries) PromoteOktaGroupsSeenInRun(ctx context.Context, lastObservedRunID pgtype.Int8) (int64, error)
- func (q *Queries) PromoteSaaSAppEventsSeenInRunBySource(ctx context.Context, arg PromoteSaaSAppEventsSeenInRunBySourceParams) (int64, error)
- func (q *Queries) PromoteSaaSAppSourcesSeenInRunBySource(ctx context.Context, arg PromoteSaaSAppSourcesSeenInRunBySourceParams) (int64, error)
- func (q *Queries) PromoteSourceAccountsSeenInRun(ctx context.Context, arg PromoteSourceAccountsSeenInRunParams) (int64, error)
- func (q *Queries) PromoteSyncJobForManualRequest(ctx context.Context, id pgtype.UUID) (SyncJob, error)
- func (q *Queries) ReclaimRunningSyncRunsBySource(ctx context.Context, arg ReclaimRunningSyncRunsBySourceParams) (int64, error)
- func (q *Queries) RecomputePrimarySaaSAppBindingsForAll(ctx context.Context) (int64, error)
- func (q *Queries) RefreshAllAppAssetReadModels(ctx context.Context) (int64, error)
- func (q *Queries) RefreshAllNonHumanPrincipalReadModels(ctx context.Context) (int64, error)
- func (q *Queries) RefreshAllNonHumanPrincipalReadModelsSafely(ctx context.Context) (int64, error)
- func (q *Queries) RefreshAllSaaSAppReadModels(ctx context.Context) (int64, error)
- func (q *Queries) RefreshAppAssetReadModelsBySource(ctx context.Context, arg RefreshAppAssetReadModelsBySourceParams) (int64, error)
- func (q *Queries) RefreshNonHumanPrincipalReadModelsBySource(ctx context.Context, arg RefreshNonHumanPrincipalReadModelsBySourceParams) (int64, error)
- func (q *Queries) RefreshNonHumanPrincipalReadModelsBySourceSafely(ctx context.Context, arg RefreshNonHumanPrincipalReadModelsBySourceParams) (int64, error)
- func (q *Queries) RefreshSaaSAppReadModelsBySource(ctx context.Context, arg RefreshSaaSAppReadModelsBySourceParams) (int64, error)
- func (q *Queries) ReleaseAdvisoryLock(ctx context.Context, dollar_1 int64) error
- func (q *Queries) ReleaseSyncLockLease(ctx context.Context, arg ReleaseSyncLockLeaseParams) error
- func (q *Queries) RenewSyncJobLease(ctx context.Context, arg RenewSyncJobLeaseParams) (pgtype.Timestamptz, error)
- func (q *Queries) RenewSyncLockLease(ctx context.Context, arg RenewSyncLockLeaseParams) (pgtype.Timestamptz, error)
- func (q *Queries) RequeueStaleSyncJobsByLane(ctx context.Context, lane string) (int64, error)
- func (q *Queries) SearchAppAssetsForCommand(ctx context.Context, arg SearchAppAssetsForCommandParams) ([]SearchAppAssetsForCommandRow, error)
- func (q *Queries) SearchDiscoveryAppsForCommand(ctx context.Context, arg SearchDiscoveryAppsForCommandParams) ([]SearchDiscoveryAppsForCommandRow, error)
- func (q *Queries) SearchIdentitiesForCommand(ctx context.Context, arg SearchIdentitiesForCommandParams) ([]SearchIdentitiesForCommandRow, error)
- func (q *Queries) SearchManagedReplacementSaaSApps(ctx context.Context, arg SearchManagedReplacementSaaSAppsParams) ([]SearchManagedReplacementSaaSAppsRow, error)
- func (q *Queries) SearchOktaAppsForCommand(ctx context.Context, arg SearchOktaAppsForCommandParams) ([]SearchOktaAppsForCommandRow, error)
- func (q *Queries) StoredReadModelsNeedRebuild(ctx context.Context) (bool, error)
- func (q *Queries) SummarizeIdentitiesInventoryByFilters(ctx context.Context, arg SummarizeIdentitiesInventoryByFiltersParams) (SummarizeIdentitiesInventoryByFiltersRow, error)
- func (q *Queries) TryAcquireAdvisoryLock(ctx context.Context, dollar_1 int64) (bool, error)
- func (q *Queries) TryAcquireSyncLockLease(ctx context.Context, arg TryAcquireSyncLockLeaseParams) (SyncLock, error)
- func (q *Queries) UpdateAuthUserLoginMeta(ctx context.Context, arg UpdateAuthUserLoginMetaParams) error
- func (q *Queries) UpdateAuthUserPasswordHash(ctx context.Context, arg UpdateAuthUserPasswordHashParams) error
- func (q *Queries) UpdateAuthUserRole(ctx context.Context, arg UpdateAuthUserRoleParams) error
- func (q *Queries) UpdateConnectorConfig(ctx context.Context, arg UpdateConnectorConfigParams) (ConnectorConfig, error)
- func (q *Queries) UpdateConnectorConfigEnabled(ctx context.Context, arg UpdateConnectorConfigEnabledParams) (ConnectorConfig, error)
- func (q *Queries) UpdateIdentityAttributes(ctx context.Context, arg UpdateIdentityAttributesParams) error
- func (q *Queries) UpsertAppAssetGovernance(ctx context.Context, arg UpsertAppAssetGovernanceParams) (GovernanceSubjectOverride, error)
- func (q *Queries) UpsertAppAssetOwnersBulkBySource(ctx context.Context, arg UpsertAppAssetOwnersBulkBySourceParams) (int64, error)
- func (q *Queries) UpsertAppAssetsBulkBySource(ctx context.Context, arg UpsertAppAssetsBulkBySourceParams) (int64, error)
- func (q *Queries) UpsertConnectorSecret(ctx context.Context, arg UpsertConnectorSecretParams) (ConnectorSecret, error)
- func (q *Queries) UpsertConnectorSourceState(ctx context.Context, arg UpsertConnectorSourceStateParams) error
- func (q *Queries) UpsertCredentialArtifactsBulkBySource(ctx context.Context, arg UpsertCredentialArtifactsBulkBySourceParams) (int64, error)
- func (q *Queries) UpsertCredentialAuditEventsBulkBySource(ctx context.Context, arg UpsertCredentialAuditEventsBulkBySourceParams) (int64, error)
- func (q *Queries) UpsertEntitlementsBulkBySource(ctx context.Context, arg UpsertEntitlementsBulkBySourceParams) (int64, error)
- func (q *Queries) UpsertIdentityAccountLink(ctx context.Context, arg UpsertIdentityAccountLinkParams) (IdentityAccount, error)
- func (q *Queries) UpsertIdentitySourceSetting(ctx context.Context, arg UpsertIdentitySourceSettingParams) (IdentitySourceSetting, error)
- func (q *Queries) UpsertIntegrationOktaAppMap(ctx context.Context, arg UpsertIntegrationOktaAppMapParams) error
- func (q *Queries) UpsertOktaAccountsBulk(ctx context.Context, arg UpsertOktaAccountsBulkParams) (int64, error)
- func (q *Queries) UpsertOktaAppAssignmentsBulkByOktaAccountExternalIDs(ctx context.Context, ...) (int64, error)
- func (q *Queries) UpsertOktaAppGroupAssignmentsBulkByExternalIDs(ctx context.Context, arg UpsertOktaAppGroupAssignmentsBulkByExternalIDsParams) (int64, error)
- func (q *Queries) UpsertOktaAppsBulk(ctx context.Context, arg UpsertOktaAppsBulkParams) (int64, error)
- func (q *Queries) UpsertOktaGroupMembershipsBulkByOktaAccountExternalIDs(ctx context.Context, ...) (int64, error)
- func (q *Queries) UpsertOktaGroupsBulk(ctx context.Context, arg UpsertOktaGroupsBulkParams) (int64, error)
- func (q *Queries) UpsertRule(ctx context.Context, arg UpsertRuleParams) (Rule, error)
- func (q *Queries) UpsertRuleAttestation(ctx context.Context, arg UpsertRuleAttestationParams) (RuleAttestation, error)
- func (q *Queries) UpsertRuleOverride(ctx context.Context, arg UpsertRuleOverrideParams) (RuleOverride, error)
- func (q *Queries) UpsertRuleResultCurrent(ctx context.Context, arg UpsertRuleResultCurrentParams) (RuleResultsCurrent, error)
- func (q *Queries) UpsertRuleset(ctx context.Context, arg UpsertRulesetParams) (Ruleset, error)
- func (q *Queries) UpsertRulesetOverride(ctx context.Context, arg UpsertRulesetOverrideParams) (RulesetOverride, error)
- func (q *Queries) UpsertSaaSAppBinding(ctx context.Context, arg UpsertSaaSAppBindingParams) error
- func (q *Queries) UpsertSaaSAppEventsBulkBySource(ctx context.Context, arg UpsertSaaSAppEventsBulkBySourceParams) (int64, error)
- func (q *Queries) UpsertSaaSAppReviewGovernance(ctx context.Context, arg UpsertSaaSAppReviewGovernanceParams) (GovernanceSubjectOverride, error)
- func (q *Queries) UpsertSaaSAppSourcesBulkBySource(ctx context.Context, arg UpsertSaaSAppSourcesBulkBySourceParams) (int64, error)
- func (q *Queries) UpsertSaaSAppsBulk(ctx context.Context, arg UpsertSaaSAppsBulkParams) (int64, error)
- func (q *Queries) UpsertSourceAccountsBulkBySource(ctx context.Context, arg UpsertSourceAccountsBulkBySourceParams) (int64, error)
- func (q *Queries) WithTx(tx pgx.Tx) *Queries
- type ReclaimRunningSyncRunsBySourceParams
- type RefreshAppAssetReadModelsBySourceParams
- type RefreshNonHumanPrincipalReadModelsBySourceParams
- type RefreshSaaSAppReadModelsBySourceParams
- type ReleaseSyncLockLeaseParams
- type RenewSyncJobLeaseParams
- type RenewSyncLockLeaseParams
- type Rule
- type RuleAttestation
- type RuleEvaluation
- type RuleOverride
- type RuleResultsCurrent
- type Ruleset
- type RulesetOverride
- type SaasApp
- type SaasAppBinding
- type SaasAppEvent
- type SaasAppReviewDecision
- type SaasAppSource
- type SearchAppAssetsForCommandParams
- type SearchAppAssetsForCommandRow
- type SearchDiscoveryAppsForCommandParams
- type SearchDiscoveryAppsForCommandRow
- type SearchIdentitiesForCommandParams
- type SearchIdentitiesForCommandRow
- type SearchManagedReplacementSaaSAppsParams
- type SearchManagedReplacementSaaSAppsRow
- type SearchOktaAppsForCommandParams
- type SearchOktaAppsForCommandRow
- type Session
- type SummarizeIdentitiesInventoryByFiltersParams
- type SummarizeIdentitiesInventoryByFiltersRow
- type SyncJob
- type SyncLock
- type SyncRun
- type TryAcquireSyncLockLeaseParams
- type UpdateAuthUserLoginMetaParams
- type UpdateAuthUserPasswordHashParams
- type UpdateAuthUserRoleParams
- type UpdateConnectorConfigEnabledParams
- type UpdateConnectorConfigParams
- type UpdateIdentityAttributesParams
- type UpsertAppAssetGovernanceParams
- type UpsertAppAssetOwnersBulkBySourceParams
- type UpsertAppAssetsBulkBySourceParams
- type UpsertConnectorSecretParams
- type UpsertConnectorSourceStateParams
- type UpsertCredentialArtifactsBulkBySourceParams
- type UpsertCredentialAuditEventsBulkBySourceParams
- type UpsertEntitlementsBulkBySourceParams
- type UpsertIdentityAccountLinkParams
- type UpsertIdentitySourceSettingParams
- type UpsertIntegrationOktaAppMapParams
- type UpsertOktaAccountsBulkParams
- type UpsertOktaAppAssignmentsBulkByOktaAccountExternalIDsParams
- type UpsertOktaAppGroupAssignmentsBulkByExternalIDsParams
- type UpsertOktaAppsBulkParams
- type UpsertOktaGroupMembershipsBulkByOktaAccountExternalIDsParams
- type UpsertOktaGroupsBulkParams
- type UpsertRuleAttestationParams
- type UpsertRuleOverrideParams
- type UpsertRuleParams
- type UpsertRuleResultCurrentParams
- type UpsertRulesetOverrideParams
- type UpsertRulesetParams
- type UpsertSaaSAppBindingParams
- type UpsertSaaSAppEventsBulkBySourceParams
- type UpsertSaaSAppReviewGovernanceParams
- type UpsertSaaSAppSourcesBulkBySourceParams
- type UpsertSaaSAppsBulkParams
- type UpsertSourceAccountsBulkBySourceParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Account ¶ added in v0.3.0
type Account struct {
ID int64 `json:"id"`
SourceKind string `json:"source_kind"`
SourceName string `json:"source_name"`
ExternalID string `json:"external_id"`
Email string `json:"email"`
DisplayName string `json:"display_name"`
RawJson []byte `json:"raw_json"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
UpdatedAt pgtype.Timestamptz `json:"updated_at"`
LastLoginAt pgtype.Timestamptz `json:"last_login_at"`
LastLoginIp string `json:"last_login_ip"`
LastLoginRegion string `json:"last_login_region"`
SeenInRunID pgtype.Int8 `json:"seen_in_run_id"`
SeenAt pgtype.Timestamptz `json:"seen_at"`
LastObservedRunID pgtype.Int8 `json:"last_observed_run_id"`
LastObservedAt pgtype.Timestamptz `json:"last_observed_at"`
ExpiredAt pgtype.Timestamptz `json:"expired_at"`
ExpiredRunID pgtype.Int8 `json:"expired_run_id"`
Status string `json:"status"`
AccountKind string `json:"account_kind"`
EntityCategory string `json:"entity_category"`
}
type AppAsset ¶ added in v0.3.0
type AppAsset struct {
ID int64 `json:"id"`
SourceKind string `json:"source_kind"`
SourceName string `json:"source_name"`
AssetKind string `json:"asset_kind"`
ExternalID string `json:"external_id"`
ParentExternalID string `json:"parent_external_id"`
DisplayName string `json:"display_name"`
Status string `json:"status"`
CreatedAtSource pgtype.Timestamptz `json:"created_at_source"`
UpdatedAtSource pgtype.Timestamptz `json:"updated_at_source"`
RawJson []byte `json:"raw_json"`
SeenInRunID pgtype.Int8 `json:"seen_in_run_id"`
SeenAt pgtype.Timestamptz `json:"seen_at"`
LastObservedRunID pgtype.Int8 `json:"last_observed_run_id"`
LastObservedAt pgtype.Timestamptz `json:"last_observed_at"`
ExpiredAt pgtype.Timestamptz `json:"expired_at"`
ExpiredRunID pgtype.Int8 `json:"expired_run_id"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
UpdatedAt pgtype.Timestamptz `json:"updated_at"`
OwnerCount int64 `json:"owner_count"`
GrantCount int64 `json:"grant_count"`
ActorCount int64 `json:"actor_count"`
DiscoverySourceCount int64 `json:"discovery_source_count"`
DiscoveryEventCount30d int64 `json:"discovery_event_count_30d"`
EvidenceLastSeenAt pgtype.Timestamptz `json:"evidence_last_seen_at"`
ProjectionRefreshedAt pgtype.Timestamptz `json:"projection_refreshed_at"`
}
type AppAssetOwner ¶ added in v0.3.0
type AppAssetOwner struct {
ID int64 `json:"id"`
AppAssetID int64 `json:"app_asset_id"`
OwnerKind string `json:"owner_kind"`
OwnerExternalID string `json:"owner_external_id"`
OwnerDisplayName string `json:"owner_display_name"`
OwnerEmail string `json:"owner_email"`
RawJson []byte `json:"raw_json"`
SeenInRunID pgtype.Int8 `json:"seen_in_run_id"`
SeenAt pgtype.Timestamptz `json:"seen_at"`
LastObservedRunID pgtype.Int8 `json:"last_observed_run_id"`
LastObservedAt pgtype.Timestamptz `json:"last_observed_at"`
ExpiredAt pgtype.Timestamptz `json:"expired_at"`
ExpiredRunID pgtype.Int8 `json:"expired_run_id"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
UpdatedAt pgtype.Timestamptz `json:"updated_at"`
}
type AuthUser ¶ added in v0.2.0
type AuthUser struct {
ID int64 `json:"id"`
Email string `json:"email"`
PasswordHash string `json:"password_hash"`
Role string `json:"role"`
IsActive bool `json:"is_active"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
UpdatedAt pgtype.Timestamptz `json:"updated_at"`
LastLoginAt pgtype.Timestamptz `json:"last_login_at"`
LastLoginIp string `json:"last_login_ip"`
}
type ClaimNextSyncJobByLaneParams ¶ added in v0.4.8
type CompleteManualSyncJobFailureParams ¶ added in v0.4.8
type CompleteManualSyncJobSuccessParams ¶ added in v0.4.8
type CompleteScheduledSyncJobFailureParams ¶ added in v0.4.8
type CompleteScheduledSyncJobSuccessParams ¶ added in v0.4.8
type ConnectedAppReadModelsV ¶ added in v0.4.11
type ConnectedAppReadModelsV struct {
ID int64 `json:"id"`
SourceKind string `json:"source_kind"`
SourceName string `json:"source_name"`
AssetKind string `json:"asset_kind"`
ExternalID string `json:"external_id"`
ParentExternalID string `json:"parent_external_id"`
DisplayName string `json:"display_name"`
Status string `json:"status"`
CreatedAtSource pgtype.Timestamptz `json:"created_at_source"`
UpdatedAtSource pgtype.Timestamptz `json:"updated_at_source"`
RawJson []byte `json:"raw_json"`
SeenInRunID pgtype.Int8 `json:"seen_in_run_id"`
SeenAt pgtype.Timestamptz `json:"seen_at"`
LastObservedRunID pgtype.Int8 `json:"last_observed_run_id"`
LastObservedAt pgtype.Timestamptz `json:"last_observed_at"`
ExpiredAt pgtype.Timestamptz `json:"expired_at"`
ExpiredRunID pgtype.Int8 `json:"expired_run_id"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
UpdatedAt pgtype.Timestamptz `json:"updated_at"`
GovernanceState string `json:"governance_state"`
TicketRef string `json:"ticket_ref"`
Notes string `json:"notes"`
GovernanceOwnerIdentityID int64 `json:"governance_owner_identity_id"`
GovernanceOwnerDisplayName string `json:"governance_owner_display_name"`
GovernanceOwnerPrimaryEmail string `json:"governance_owner_primary_email"`
GovernanceOwnerKind string `json:"governance_owner_kind"`
OwnerCount int64 `json:"owner_count"`
GrantCount int64 `json:"grant_count"`
ActorCount int64 `json:"actor_count"`
DiscoverySourceCount int64 `json:"discovery_source_count"`
DiscoveryEventCount30d int64 `json:"discovery_event_count_30d"`
EvidenceLastSeenAt pgtype.Timestamptz `json:"evidence_last_seen_at"`
SuggestedBusinessCriticality string `json:"suggested_business_criticality"`
SuggestedDataClassification string `json:"suggested_data_classification"`
EffectiveBusinessCriticality string `json:"effective_business_criticality"`
EffectiveDataClassification string `json:"effective_data_classification"`
EvidenceSignalCount int32 `json:"evidence_signal_count"`
EvidenceFreshness string `json:"evidence_freshness"`
EvidenceConfidence string `json:"evidence_confidence"`
EvidenceConfidenceReason string `json:"evidence_confidence_reason"`
}
type ConnectorConfig ¶
type ConnectorConfig struct {
Kind string `json:"kind"`
Enabled bool `json:"enabled"`
Config []byte `json:"config"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
UpdatedAt pgtype.Timestamptz `json:"updated_at"`
}
type ConnectorSecret ¶ added in v0.4.10
type ConnectorSecret struct {
Kind string `json:"kind"`
SecretName string `json:"secret_name"`
Ciphertext []byte `json:"ciphertext"`
Nonce []byte `json:"nonce"`
Version int16 `json:"version"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
UpdatedAt pgtype.Timestamptz `json:"updated_at"`
}
type ConnectorSourceState ¶ added in v0.4.11
type ConnectorSourceState struct {
SourceKind string `json:"source_kind"`
SourceName string `json:"source_name"`
Enabled bool `json:"enabled"`
Configured bool `json:"configured"`
DiscoveryEnabled bool `json:"discovery_enabled"`
LastSuccessAt pgtype.Timestamptz `json:"last_success_at"`
FreshUntilAt pgtype.Timestamptz `json:"fresh_until_at"`
UpdatedAt pgtype.Timestamptz `json:"updated_at"`
}
type CountAppAssetGovernanceBySourceAndQueryAndStateParams ¶ added in v0.4.10
type CountAppAssetGovernanceGroupedByStateParams ¶ added in v0.4.10
type CountAppAssetGovernanceGroupedByStateRow ¶ added in v0.4.10
type CountAppAssetsBySourceAndQueryAndKindParams ¶ added in v0.3.0
type CountAppAssetsBySourcesAndQueryAndKindParams ¶ added in v0.4.9
type CountConfiguredNonHumanHighRiskCredentialAttributionRow ¶ added in v0.4.11
type CountConfiguredNonHumanPrincipalOwnerCoverageRow ¶ added in v0.4.11
type CountCredentialArtifactsBySourceAndQueryAndFiltersParams ¶ added in v0.3.0
type CountCredentialArtifactsBySourceAndQueryAndFiltersParams struct {
RiskLevel string `json:"risk_level"`
ExpiryState string `json:"expiry_state"`
EvaluatedAt pgtype.Timestamptz `json:"evaluated_at"`
ExpiresInDays int32 `json:"expires_in_days"`
Query string `json:"query"`
SourceKind string `json:"source_kind"`
SourceName string `json:"source_name"`
CredentialKind string `json:"credential_kind"`
Status string `json:"status"`
}
type CountCredentialArtifactsBySourcesAndQueryAndFiltersParams ¶ added in v0.4.9
type CountCredentialArtifactsBySourcesAndQueryAndFiltersParams struct {
RiskLevel string `json:"risk_level"`
ExpiryState string `json:"expiry_state"`
EvaluatedAt pgtype.Timestamptz `json:"evaluated_at"`
ExpiresInDays int32 `json:"expires_in_days"`
Query string `json:"query"`
ConfiguredSourceKinds []string `json:"configured_source_kinds"`
ConfiguredSourceNames []string `json:"configured_source_names"`
CredentialKind string `json:"credential_kind"`
Status string `json:"status"`
}
type CountGitHubUsersBySourceAndQueryParams ¶ added in v0.4.9
type CountGoogleWorkspaceGroupsBySourceAndQueryParams ¶ added in v0.4.7
type CountIdentitiesInventoryByFiltersParams ¶ added in v0.4.7
type CountIdentitiesInventoryByFiltersParams struct {
ManagedState string `json:"managed_state"`
PrivilegedOnly bool `json:"privileged_only"`
Status string `json:"status"`
ActivityState string `json:"activity_state"`
ConfiguredSourceKinds []string `json:"configured_source_kinds"`
ConfiguredSourceNames []string `json:"configured_source_names"`
SourceKind string `json:"source_kind"`
SourceName string `json:"source_name"`
Query string `json:"query"`
IdentityType string `json:"identity_type"`
}
type CountLinkedSourceAccountsBySourceParams ¶ added in v0.4.9
type CountNonHumanPrincipalsByFiltersParams ¶ added in v0.4.11
type CountNonHumanPrincipalsByFiltersParams struct {
Query string `json:"query"`
SourceKind string `json:"source_kind"`
SourceName string `json:"source_name"`
PrincipalType string `json:"principal_type"`
OwnerPresence string `json:"owner_presence"`
GovernanceState string `json:"governance_state"`
RiskLevel string `json:"risk_level"`
ActivityState string `json:"activity_state"`
FreshnessState string `json:"freshness_state"`
ConfiguredSourceKinds []string `json:"configured_source_kinds"`
ConfiguredSourceNames []string `json:"configured_source_names"`
}
type CountOktaAccountsByQueryAndStateParams ¶ added in v0.4.9
type CountOktaAppAssignedAccountsByQueryParams ¶ added in v0.4.9
type CountOktaAppsFilteredParams ¶ added in v0.4.11
type CountSaaSAppsByFiltersParams ¶ added in v0.4.0
type CountSaaSAppsGroupedByManagedStateRow ¶ added in v0.4.0
type CountSaaSAppsGroupedByRiskLevelRow ¶ added in v0.4.0
type CountSourceAccountsBySourceAndQueryAndStateParams ¶ added in v0.4.9
type CountSourceAccountsBySourceAndQueryParams ¶ added in v0.4.9
type CountSourceAccountsBySourceParams ¶ added in v0.4.9
type CountUnlinkedSourceAccountsBySourceAndQueryParams ¶ added in v0.4.9
type CountUnlinkedSourceAccountsBySourceParams ¶ added in v0.4.9
type CreateAuthUserParams ¶ added in v0.2.0
type CreateIdentityParams ¶ added in v0.3.0
type CreateSyncJobParams ¶ added in v0.4.8
type CreateSyncJobParams struct {
ID pgtype.UUID `json:"id"`
Lane string `json:"lane"`
ConnectorKind pgtype.Text `json:"connector_kind"`
SourceName pgtype.Text `json:"source_name"`
TriggerKind string `json:"trigger_kind"`
Status string `json:"status"`
AttemptCount int32 `json:"attempt_count"`
AvailableAt pgtype.Timestamptz `json:"available_at"`
RerunRequested bool `json:"rerun_requested"`
}
type CreateSyncRunParams ¶
type CredentialArtifact ¶ added in v0.3.0
type CredentialArtifact struct {
ID int64 `json:"id"`
SourceKind string `json:"source_kind"`
SourceName string `json:"source_name"`
AssetRefKind string `json:"asset_ref_kind"`
AssetRefExternalID string `json:"asset_ref_external_id"`
CredentialKind string `json:"credential_kind"`
ExternalID string `json:"external_id"`
DisplayName string `json:"display_name"`
Fingerprint string `json:"fingerprint"`
ScopeJson []byte `json:"scope_json"`
Status string `json:"status"`
CreatedAtSource pgtype.Timestamptz `json:"created_at_source"`
ExpiresAtSource pgtype.Timestamptz `json:"expires_at_source"`
LastUsedAtSource pgtype.Timestamptz `json:"last_used_at_source"`
CreatedByKind string `json:"created_by_kind"`
CreatedByExternalID string `json:"created_by_external_id"`
CreatedByDisplayName string `json:"created_by_display_name"`
ApprovedByKind string `json:"approved_by_kind"`
ApprovedByExternalID string `json:"approved_by_external_id"`
ApprovedByDisplayName string `json:"approved_by_display_name"`
RawJson []byte `json:"raw_json"`
SeenInRunID pgtype.Int8 `json:"seen_in_run_id"`
SeenAt pgtype.Timestamptz `json:"seen_at"`
LastObservedRunID pgtype.Int8 `json:"last_observed_run_id"`
LastObservedAt pgtype.Timestamptz `json:"last_observed_at"`
ExpiredAt pgtype.Timestamptz `json:"expired_at"`
ExpiredRunID pgtype.Int8 `json:"expired_run_id"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
UpdatedAt pgtype.Timestamptz `json:"updated_at"`
}
type CredentialAuditEvent ¶ added in v0.3.0
type CredentialAuditEvent struct {
ID int64 `json:"id"`
SourceKind string `json:"source_kind"`
SourceName string `json:"source_name"`
EventExternalID string `json:"event_external_id"`
EventType string `json:"event_type"`
EventTime pgtype.Timestamptz `json:"event_time"`
ActorKind string `json:"actor_kind"`
ActorExternalID string `json:"actor_external_id"`
ActorDisplayName string `json:"actor_display_name"`
TargetKind string `json:"target_kind"`
TargetExternalID string `json:"target_external_id"`
TargetDisplayName string `json:"target_display_name"`
CredentialKind string `json:"credential_kind"`
CredentialExternalID string `json:"credential_external_id"`
RawJson []byte `json:"raw_json"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
}
type DiscoveryAppReadModelsV ¶ added in v0.4.11
type DiscoveryAppReadModelsV struct {
ID int64 `json:"id"`
CanonicalKey string `json:"canonical_key"`
DisplayName string `json:"display_name"`
PrimaryDomain string `json:"primary_domain"`
VendorName string `json:"vendor_name"`
FirstSeenAt pgtype.Timestamptz `json:"first_seen_at"`
LastSeenAt pgtype.Timestamptz `json:"last_seen_at"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
UpdatedAt pgtype.Timestamptz `json:"updated_at"`
OwnerIdentityID int64 `json:"owner_identity_id"`
OwnerDisplayName string `json:"owner_display_name"`
OwnerPrimaryEmail string `json:"owner_primary_email"`
ReviewOwnerIdentityID int64 `json:"review_owner_identity_id"`
ReviewOwnerDisplayName string `json:"review_owner_display_name"`
ReviewOwnerPrimaryEmail string `json:"review_owner_primary_email"`
Actors30d int64 `json:"actors_30d"`
HasPrivilegedScope bool `json:"has_privileged_scope"`
HasConfidentialScope bool `json:"has_confidential_scope"`
BoundConnectorKind string `json:"bound_connector_kind"`
BoundConnectorSourceName string `json:"bound_connector_source_name"`
ConnectorEnabled bool `json:"connector_enabled"`
ConnectorConfigured bool `json:"connector_configured"`
LastSuccessAt pgtype.Timestamptz `json:"last_success_at"`
FreshUntilAt pgtype.Timestamptz `json:"fresh_until_at"`
SuggestedBusinessCriticality string `json:"suggested_business_criticality"`
SuggestedDataClassification string `json:"suggested_data_classification"`
EffectiveBusinessCriticality interface{} `json:"effective_business_criticality"`
EffectiveDataClassification interface{} `json:"effective_data_classification"`
GovernanceState string `json:"governance_state"`
ReviewDisposition string `json:"review_disposition"`
TicketRef string `json:"ticket_ref"`
Notes string `json:"notes"`
FollowUpDueDate pgtype.Date `json:"follow_up_due_date"`
IsFollowUpOverdue bool `json:"is_follow_up_overdue"`
ReplacementSaasAppID int64 `json:"replacement_saas_app_id"`
ReplacementDisplayName string `json:"replacement_display_name"`
ReplacementPrimaryDomain string `json:"replacement_primary_domain"`
ManagedState string `json:"managed_state"`
ManagedReason string `json:"managed_reason"`
RiskScore int32 `json:"risk_score"`
RiskLevel string `json:"risk_level"`
}
type Entitlement ¶
type Entitlement struct {
ID int64 `json:"id"`
AppUserID int64 `json:"app_user_id"`
Kind string `json:"kind"`
Resource string `json:"resource"`
Permission string `json:"permission"`
RawJson []byte `json:"raw_json"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
SeenInRunID pgtype.Int8 `json:"seen_in_run_id"`
SeenAt pgtype.Timestamptz `json:"seen_at"`
LastObservedRunID pgtype.Int8 `json:"last_observed_run_id"`
LastObservedAt pgtype.Timestamptz `json:"last_observed_at"`
ExpiredAt pgtype.Timestamptz `json:"expired_at"`
ExpiredRunID pgtype.Int8 `json:"expired_run_id"`
UpdatedAt pgtype.Timestamptz `json:"updated_at"`
}
type ExpireAppAssetOwnersNotSeenInRunBySourceParams ¶ added in v0.3.0
type ExpireAppAssetsNotSeenInRunBySourceParams ¶ added in v0.3.0
type ExpireCredentialArtifactsNotSeenInRunBySourceParams ¶ added in v0.3.0
type ExpireSaaSAppEventsNotSeenInRunBySourceParams ¶ added in v0.4.0
type ExpireSaaSAppSourcesNotSeenInRunBySourceParams ¶ added in v0.4.0
type ExpireSourceAccountsNotSeenInRunParams ¶ added in v0.4.9
type FailSyncRunParams ¶
type GetActiveSyncJobByScopeParams ¶ added in v0.4.8
type GetAppAssetBySourceAndKindAndExternalIDParams ¶ added in v0.3.0
type GetAppAssetPostureByIDRow ¶ added in v0.4.10
type GetAppAssetPostureByIDRow struct {
ID int64 `json:"id"`
SourceKind string `json:"source_kind"`
SourceName string `json:"source_name"`
AssetKind string `json:"asset_kind"`
ExternalID string `json:"external_id"`
ParentExternalID string `json:"parent_external_id"`
DisplayName string `json:"display_name"`
Status string `json:"status"`
CreatedAtSource pgtype.Timestamptz `json:"created_at_source"`
UpdatedAtSource pgtype.Timestamptz `json:"updated_at_source"`
RawJson []byte `json:"raw_json"`
SeenInRunID int64 `json:"seen_in_run_id"`
SeenAt pgtype.Timestamptz `json:"seen_at"`
LastObservedRunID int64 `json:"last_observed_run_id"`
LastObservedAt pgtype.Timestamptz `json:"last_observed_at"`
ExpiredAt pgtype.Timestamptz `json:"expired_at"`
ExpiredRunID int64 `json:"expired_run_id"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
UpdatedAt pgtype.Timestamptz `json:"updated_at"`
GovernanceState string `json:"governance_state"`
TicketRef string `json:"ticket_ref"`
Notes string `json:"notes"`
GovernanceOwnerIdentityID int64 `json:"governance_owner_identity_id"`
GovernanceOwnerDisplayName string `json:"governance_owner_display_name"`
GovernanceOwnerPrimaryEmail string `json:"governance_owner_primary_email"`
GovernanceOwnerKind string `json:"governance_owner_kind"`
OwnerCount int64 `json:"owner_count"`
GrantCount int64 `json:"grant_count"`
ActorCount int64 `json:"actor_count"`
DiscoverySourceCount int64 `json:"discovery_source_count"`
DiscoveryEventCount30d int64 `json:"discovery_event_count_30d"`
EvidenceLastSeenAt pgtype.Timestamptz `json:"evidence_last_seen_at"`
SuggestedBusinessCriticality string `json:"suggested_business_criticality"`
SuggestedDataClassification string `json:"suggested_data_classification"`
EffectiveBusinessCriticality string `json:"effective_business_criticality"`
EffectiveDataClassification string `json:"effective_data_classification"`
EvidenceFreshness string `json:"evidence_freshness"`
EvidenceConfidence string `json:"evidence_confidence"`
EvidenceConfidenceReason string `json:"evidence_confidence_reason"`
}
type GetCredentialArtifactByIDParams ¶ added in v0.4.10
type GetCredentialArtifactByIDParams struct {
EvaluatedAt pgtype.Timestamptz `json:"evaluated_at"`
ID int64 `json:"id"`
}
type GetCredentialArtifactByIDRow ¶ added in v0.4.10
type GetCredentialArtifactByIDRow struct {
ID int64 `json:"id"`
SourceKind string `json:"source_kind"`
SourceName string `json:"source_name"`
AssetRefKind string `json:"asset_ref_kind"`
AssetRefExternalID string `json:"asset_ref_external_id"`
CredentialKind string `json:"credential_kind"`
ExternalID string `json:"external_id"`
DisplayName string `json:"display_name"`
Fingerprint string `json:"fingerprint"`
ScopeJson []byte `json:"scope_json"`
Status string `json:"status"`
CreatedAtSource pgtype.Timestamptz `json:"created_at_source"`
ExpiresAtSource pgtype.Timestamptz `json:"expires_at_source"`
LastUsedAtSource pgtype.Timestamptz `json:"last_used_at_source"`
CreatedByKind string `json:"created_by_kind"`
CreatedByExternalID string `json:"created_by_external_id"`
CreatedByDisplayName string `json:"created_by_display_name"`
ApprovedByKind string `json:"approved_by_kind"`
ApprovedByExternalID string `json:"approved_by_external_id"`
ApprovedByDisplayName string `json:"approved_by_display_name"`
RawJson []byte `json:"raw_json"`
SeenInRunID pgtype.Int8 `json:"seen_in_run_id"`
SeenAt pgtype.Timestamptz `json:"seen_at"`
LastObservedRunID pgtype.Int8 `json:"last_observed_run_id"`
LastObservedAt pgtype.Timestamptz `json:"last_observed_at"`
ExpiredAt pgtype.Timestamptz `json:"expired_at"`
ExpiredRunID pgtype.Int8 `json:"expired_run_id"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
UpdatedAt pgtype.Timestamptz `json:"updated_at"`
RiskLevel string `json:"risk_level"`
}
type GetIdentityBySourceAndExternalIDParams ¶ added in v0.3.0
type GetIdentitySummaryByIDRow ¶ added in v0.3.0
type GetIdentitySummaryByIDRow struct {
ID int64 `json:"id"`
Kind string `json:"kind"`
DisplayName string `json:"display_name"`
PrimaryEmail string `json:"primary_email"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
UpdatedAt pgtype.Timestamptz `json:"updated_at"`
Managed bool `json:"managed"`
LinkedAccounts int64 `json:"linked_accounts"`
}
type GetLatestSaaSDiscoveryObservedAtBySourceParams ¶ added in v0.4.0
type GetOktaAppAssignmentForOktaAccountByOktaAppExternalIDParams ¶ added in v0.4.9
type GetOktaAppAssignmentForOktaAccountByOktaAppExternalIDRow ¶ added in v0.4.9
type GetOktaAppAssignmentForOktaAccountByOktaAppExternalIDRow struct {
OktaAccountID int64 `json:"okta_account_id"`
OktaAppID int64 `json:"okta_app_id"`
Scope string `json:"scope"`
ProfileJson []byte `json:"profile_json"`
AssignmentRawJson []byte `json:"assignment_raw_json"`
OktaAppExternalID string `json:"okta_app_external_id"`
AppLabel string `json:"app_label"`
AppName string `json:"app_name"`
AppStatus string `json:"app_status"`
AppSignOnMode string `json:"app_sign_on_mode"`
IntegrationKind string `json:"integration_kind"`
}
type GetOktaAppByExternalIDWithIntegrationRow ¶
type GetOktaAppByExternalIDWithIntegrationRow struct {
ID int64 `json:"id"`
ExternalID string `json:"external_id"`
Label string `json:"label"`
Name string `json:"name"`
Status string `json:"status"`
SignOnMode string `json:"sign_on_mode"`
RawJson []byte `json:"raw_json"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
UpdatedAt pgtype.Timestamptz `json:"updated_at"`
IntegrationKind string `json:"integration_kind"`
}
type GetRuleOverrideParams ¶
type GetRuleWithCurrentResultByRulesetKeyAndRuleKeyRow ¶
type GetRuleWithCurrentResultByRulesetKeyAndRuleKeyRow struct {
ID int64 `json:"id"`
RulesetID int64 `json:"ruleset_id"`
Key string `json:"key"`
Title string `json:"title"`
Summary string `json:"summary"`
Category string `json:"category"`
Severity string `json:"severity"`
MonitoringStatus string `json:"monitoring_status"`
MonitoringReason string `json:"monitoring_reason"`
RequiredData []byte `json:"required_data"`
ExpectedParams []byte `json:"expected_params"`
RuleVersion string `json:"rule_version"`
IsActive bool `json:"is_active"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
UpdatedAt pgtype.Timestamptz `json:"updated_at"`
DefinitionJson []byte `json:"definition_json"`
CurrentStatus string `json:"current_status"`
CurrentEvaluatedAt pgtype.Timestamptz `json:"current_evaluated_at"`
CurrentSyncRunID pgtype.Int8 `json:"current_sync_run_id"`
CurrentEvidenceSummary string `json:"current_evidence_summary"`
CurrentEvidenceJson []byte `json:"current_evidence_json"`
CurrentErrorKind string `json:"current_error_kind"`
}
type GetRulesetPostureCountsParams ¶ added in v0.2.1
type GetRulesetPostureCountsRow ¶ added in v0.2.1
type GetSaaSAppByIDRow ¶ added in v0.4.9
type GetSaaSAppByIDRow struct {
ID int64 `json:"id"`
CanonicalKey string `json:"canonical_key"`
DisplayName string `json:"display_name"`
PrimaryDomain string `json:"primary_domain"`
VendorName string `json:"vendor_name"`
ManagedState string `json:"managed_state"`
ManagedReason string `json:"managed_reason"`
BoundConnectorKind string `json:"bound_connector_kind"`
BoundConnectorSourceName string `json:"bound_connector_source_name"`
RiskScore int32 `json:"risk_score"`
RiskLevel string `json:"risk_level"`
SuggestedBusinessCriticality string `json:"suggested_business_criticality"`
SuggestedDataClassification string `json:"suggested_data_classification"`
FirstSeenAt pgtype.Timestamptz `json:"first_seen_at"`
LastSeenAt pgtype.Timestamptz `json:"last_seen_at"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
UpdatedAt pgtype.Timestamptz `json:"updated_at"`
OwnerIdentityID int64 `json:"owner_identity_id"`
OwnerDisplayName string `json:"owner_display_name"`
OwnerPrimaryEmail string `json:"owner_primary_email"`
ReviewOwnerIdentityID int64 `json:"review_owner_identity_id"`
ReviewOwnerDisplayName string `json:"review_owner_display_name"`
ReviewOwnerPrimaryEmail string `json:"review_owner_primary_email"`
ReviewDisposition string `json:"review_disposition"`
TicketRef string `json:"ticket_ref"`
Notes string `json:"notes"`
FollowUpDueDate pgtype.Date `json:"follow_up_due_date"`
IsFollowUpOverdue bool `json:"is_follow_up_overdue"`
ReplacementSaasAppID int64 `json:"replacement_saas_app_id"`
ReplacementDisplayName string `json:"replacement_display_name"`
ReplacementPrimaryDomain string `json:"replacement_primary_domain"`
}
type GetSaaSAppReplacementCandidateByIDRow ¶ added in v0.4.11
type GetSyncRunRollupsForSourcesParams ¶ added in v0.2.1
type GetSyncRunRollupsForSourcesRow ¶ added in v0.2.1
type GetSyncRunRollupsForSourcesRow struct {
SourceKind string `json:"source_kind"`
SourceName string `json:"source_name"`
LastRunID pgtype.Int8 `json:"last_run_id"`
LastRunStatus pgtype.Text `json:"last_run_status"`
LastRunStartedAt pgtype.Timestamptz `json:"last_run_started_at"`
LastRunFinishedAt pgtype.Timestamptz `json:"last_run_finished_at"`
LastRunErrorKind pgtype.Text `json:"last_run_error_kind"`
LastSuccessAt pgtype.Timestamptz `json:"last_success_at"`
RunningCount int64 `json:"running_count"`
OldestRunningStartedAt pgtype.Timestamptz `json:"oldest_running_started_at"`
FinishedCount7d int64 `json:"finished_count_7d"`
SuccessCount7d int64 `json:"success_count_7d"`
AvgSuccessDurationMs7d pgtype.Float8 `json:"avg_success_duration_ms_7d"`
}
type GovernanceSubjectOverride ¶ added in v0.4.10
type GovernanceSubjectOverride struct {
SubjectKind string `json:"subject_kind"`
SubjectID int64 `json:"subject_id"`
GovernanceState string `json:"governance_state"`
OwnerIdentityID pgtype.Int8 `json:"owner_identity_id"`
BusinessCriticality string `json:"business_criticality"`
DataClassification string `json:"data_classification"`
TicketRef string `json:"ticket_ref"`
Notes string `json:"notes"`
UpdatedByAuthUserID pgtype.Int8 `json:"updated_by_auth_user_id"`
UpdatedAt pgtype.Timestamptz `json:"updated_at"`
ReviewDisposition string `json:"review_disposition"`
ReviewOwnerIdentityID pgtype.Int8 `json:"review_owner_identity_id"`
FollowUpDueDate pgtype.Date `json:"follow_up_due_date"`
ReplacementSaasAppID pgtype.Int8 `json:"replacement_saas_app_id"`
}
type Identity ¶ added in v0.3.0
type Identity struct {
ID int64 `json:"id"`
Kind string `json:"kind"`
DisplayName string `json:"display_name"`
PrimaryEmail string `json:"primary_email"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
UpdatedAt pgtype.Timestamptz `json:"updated_at"`
}
type IdentityAccount ¶ added in v0.3.0
type IdentityAccount struct {
ID int64 `json:"id"`
IdentityID int64 `json:"identity_id"`
AccountID int64 `json:"account_id"`
LinkReason string `json:"link_reason"`
Confidence float32 `json:"confidence"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
UpdatedAt pgtype.Timestamptz `json:"updated_at"`
}
type IdentitySourceSetting ¶ added in v0.3.0
type IdentitySourceSetting struct {
SourceKind string `json:"source_kind"`
SourceName string `json:"source_name"`
IsAuthoritative bool `json:"is_authoritative"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
UpdatedAt pgtype.Timestamptz `json:"updated_at"`
}
type InsertNonHumanAccessEventParams ¶ added in v0.4.11
type InsertNonHumanAccessEventParams struct {
AuthUserID int64 `json:"auth_user_id"`
AuthUserRole string `json:"auth_user_role"`
EventKind string `json:"event_kind"`
PrincipalRef string `json:"principal_ref"`
TargetKind string `json:"target_kind"`
TargetRef string `json:"target_ref"`
FilterSignature string `json:"filter_signature"`
OccurredAt pgtype.Timestamptz `json:"occurred_at"`
}
type InsertRuleEvaluationParams ¶
type InsertRuleEvaluationParams struct {
RuleID int64 `json:"rule_id"`
ScopeKind string `json:"scope_kind"`
SourceKind string `json:"source_kind"`
SourceName string `json:"source_name"`
Status string `json:"status"`
SyncRunID pgtype.Int8 `json:"sync_run_id"`
EvaluatedAt pgtype.Timestamptz `json:"evaluated_at"`
EvidenceSummary string `json:"evidence_summary"`
EvidenceJson []byte `json:"evidence_json"`
AffectedResourceIds []string `json:"affected_resource_ids"`
ErrorKind string `json:"error_kind"`
}
type InsertSaaSAppReviewDecisionParams ¶ added in v0.4.11
type InsertSaaSAppReviewDecisionParams struct {
SaasAppID int64 `json:"saas_app_id"`
OwnerIdentityID pgtype.Int8 `json:"owner_identity_id"`
ReviewOwnerIdentityID pgtype.Int8 `json:"review_owner_identity_id"`
ReviewDisposition string `json:"review_disposition"`
TicketRef string `json:"ticket_ref"`
Notes string `json:"notes"`
FollowUpDueDate pgtype.Date `json:"follow_up_due_date"`
ReplacementSaasAppID pgtype.Int8 `json:"replacement_saas_app_id"`
ChangedByAuthUserID pgtype.Int8 `json:"changed_by_auth_user_id"`
}
type IntegrationOktaAppMap ¶
type IntegrationOktaAppMap struct {
IntegrationKind string `json:"integration_kind"`
OktaAppExternalID string `json:"okta_app_external_id"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
UpdatedAt pgtype.Timestamptz `json:"updated_at"`
}
type ListActiveRulesWithCurrentResultsByRulesetKeyRow ¶
type ListActiveRulesWithCurrentResultsByRulesetKeyRow struct {
ID int64 `json:"id"`
RulesetID int64 `json:"ruleset_id"`
Key string `json:"key"`
Title string `json:"title"`
Summary string `json:"summary"`
Category string `json:"category"`
Severity string `json:"severity"`
MonitoringStatus string `json:"monitoring_status"`
MonitoringReason string `json:"monitoring_reason"`
RequiredData []byte `json:"required_data"`
ExpectedParams []byte `json:"expected_params"`
RuleVersion string `json:"rule_version"`
IsActive bool `json:"is_active"`
DefinitionJson []byte `json:"definition_json"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
UpdatedAt pgtype.Timestamptz `json:"updated_at"`
CurrentStatus string `json:"current_status"`
CurrentEvaluatedAt pgtype.Timestamptz `json:"current_evaluated_at"`
CurrentSyncRunID pgtype.Int8 `json:"current_sync_run_id"`
CurrentEvidenceSummary string `json:"current_evidence_summary"`
CurrentErrorKind string `json:"current_error_kind"`
}
type ListAppAssetDiscoveryEventsBySourceAppIDParams ¶ added in v0.4.10
type ListAppAssetDiscoverySourcesBySourceAppIDParams ¶ added in v0.4.10
type ListAppAssetDiscoverySourcesBySourceAppIDRow ¶ added in v0.4.10
type ListAppAssetDiscoverySourcesBySourceAppIDRow struct {
ID int64 `json:"id"`
SaasAppID int64 `json:"saas_app_id"`
SourceKind string `json:"source_kind"`
SourceName string `json:"source_name"`
SourceAppID string `json:"source_app_id"`
SourceAppName string `json:"source_app_name"`
SourceAppDomain string `json:"source_app_domain"`
SeenInRunID pgtype.Int8 `json:"seen_in_run_id"`
SeenAt pgtype.Timestamptz `json:"seen_at"`
LastObservedRunID pgtype.Int8 `json:"last_observed_run_id"`
LastObservedAt pgtype.Timestamptz `json:"last_observed_at"`
ExpiredAt pgtype.Timestamptz `json:"expired_at"`
ExpiredRunID pgtype.Int8 `json:"expired_run_id"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
UpdatedAt pgtype.Timestamptz `json:"updated_at"`
CanonicalKey string `json:"canonical_key"`
DiscoveryDisplayName string `json:"discovery_display_name"`
DiscoveryPrimaryDomain string `json:"discovery_primary_domain"`
DiscoveryVendorName string `json:"discovery_vendor_name"`
DiscoveryManagedState string `json:"discovery_managed_state"`
DiscoveryRiskLevel string `json:"discovery_risk_level"`
}
type ListAppAssetGovernancePageBySourceAndQueryAndStateParams ¶ added in v0.4.10
type ListAppAssetGovernancePageBySourceAndQueryAndStateParams struct {
SourceKind string `json:"source_kind"`
SourceName string `json:"source_name"`
AssetKind string `json:"asset_kind"`
GovernanceState string `json:"governance_state"`
Query string `json:"query"`
PageOffset int32 `json:"page_offset"`
PageLimit int32 `json:"page_limit"`
}
type ListAppAssetGovernancePageBySourceAndQueryAndStateRow ¶ added in v0.4.10
type ListAppAssetGovernancePageBySourceAndQueryAndStateRow struct {
ID int64 `json:"id"`
SourceKind string `json:"source_kind"`
SourceName string `json:"source_name"`
AssetKind string `json:"asset_kind"`
ExternalID string `json:"external_id"`
ParentExternalID string `json:"parent_external_id"`
DisplayName string `json:"display_name"`
Status string `json:"status"`
CreatedAtSource pgtype.Timestamptz `json:"created_at_source"`
UpdatedAtSource pgtype.Timestamptz `json:"updated_at_source"`
RawJson []byte `json:"raw_json"`
SeenInRunID int64 `json:"seen_in_run_id"`
SeenAt pgtype.Timestamptz `json:"seen_at"`
LastObservedRunID int64 `json:"last_observed_run_id"`
LastObservedAt pgtype.Timestamptz `json:"last_observed_at"`
ExpiredAt pgtype.Timestamptz `json:"expired_at"`
ExpiredRunID int64 `json:"expired_run_id"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
UpdatedAt pgtype.Timestamptz `json:"updated_at"`
GovernanceState string `json:"governance_state"`
TicketRef string `json:"ticket_ref"`
Notes string `json:"notes"`
GovernanceOwnerIdentityID int64 `json:"governance_owner_identity_id"`
GovernanceOwnerDisplayName string `json:"governance_owner_display_name"`
GovernanceOwnerPrimaryEmail string `json:"governance_owner_primary_email"`
GovernanceOwnerKind string `json:"governance_owner_kind"`
OwnerCount int64 `json:"owner_count"`
GrantCount int64 `json:"grant_count"`
ActorCount int64 `json:"actor_count"`
DiscoverySourceCount int64 `json:"discovery_source_count"`
DiscoveryEventCount30d int64 `json:"discovery_event_count_30d"`
EvidenceLastSeenAt pgtype.Timestamptz `json:"evidence_last_seen_at"`
SuggestedBusinessCriticality string `json:"suggested_business_criticality"`
SuggestedDataClassification string `json:"suggested_data_classification"`
EffectiveBusinessCriticality string `json:"effective_business_criticality"`
EffectiveDataClassification string `json:"effective_data_classification"`
EvidenceFreshness string `json:"evidence_freshness"`
EvidenceConfidence string `json:"evidence_confidence"`
EvidenceConfidenceReason string `json:"evidence_confidence_reason"`
}
type ListAppAssetsPageBySourceAndQueryAndKindParams ¶ added in v0.3.0
type ListAppAssetsPageBySourcesAndQueryAndKindParams ¶ added in v0.4.9
type ListAppAssetsPageBySourcesAndQueryAndKindParams struct {
AssetKind string `json:"asset_kind"`
Query string `json:"query"`
PageOffset int32 `json:"page_offset"`
PageLimit int32 `json:"page_limit"`
ConfiguredSourceKinds []string `json:"configured_source_kinds"`
ConfiguredSourceNames []string `json:"configured_source_names"`
}
type ListCredentialArtifactCountsByAssetRefParams ¶ added in v0.3.0
type ListCredentialArtifactCountsByAssetRefRow ¶ added in v0.3.0
type ListCredentialArtifactsForAssetRefParams ¶ added in v0.3.0
type ListCredentialArtifactsForAssetRefRow ¶ added in v0.4.10
type ListCredentialArtifactsForAssetRefRow struct {
ID int64 `json:"id"`
SourceKind string `json:"source_kind"`
SourceName string `json:"source_name"`
AssetRefKind string `json:"asset_ref_kind"`
AssetRefExternalID string `json:"asset_ref_external_id"`
CredentialKind string `json:"credential_kind"`
ExternalID string `json:"external_id"`
DisplayName string `json:"display_name"`
Fingerprint string `json:"fingerprint"`
ScopeJson []byte `json:"scope_json"`
Status string `json:"status"`
CreatedAtSource pgtype.Timestamptz `json:"created_at_source"`
ExpiresAtSource pgtype.Timestamptz `json:"expires_at_source"`
LastUsedAtSource pgtype.Timestamptz `json:"last_used_at_source"`
CreatedByKind string `json:"created_by_kind"`
CreatedByExternalID string `json:"created_by_external_id"`
CreatedByDisplayName string `json:"created_by_display_name"`
ApprovedByKind string `json:"approved_by_kind"`
ApprovedByExternalID string `json:"approved_by_external_id"`
ApprovedByDisplayName string `json:"approved_by_display_name"`
RawJson []byte `json:"raw_json"`
SeenInRunID pgtype.Int8 `json:"seen_in_run_id"`
SeenAt pgtype.Timestamptz `json:"seen_at"`
LastObservedRunID pgtype.Int8 `json:"last_observed_run_id"`
LastObservedAt pgtype.Timestamptz `json:"last_observed_at"`
ExpiredAt pgtype.Timestamptz `json:"expired_at"`
ExpiredRunID pgtype.Int8 `json:"expired_run_id"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
UpdatedAt pgtype.Timestamptz `json:"updated_at"`
RiskLevel string `json:"risk_level"`
}
type ListCredentialArtifactsPageBySourceAndQueryAndFiltersParams ¶ added in v0.3.0
type ListCredentialArtifactsPageBySourceAndQueryAndFiltersParams struct {
RiskLevel string `json:"risk_level"`
ExpiryState string `json:"expiry_state"`
EvaluatedAt pgtype.Timestamptz `json:"evaluated_at"`
ExpiresInDays int32 `json:"expires_in_days"`
Query string `json:"query"`
PageOffset int32 `json:"page_offset"`
PageLimit int32 `json:"page_limit"`
SourceKind string `json:"source_kind"`
SourceName string `json:"source_name"`
CredentialKind string `json:"credential_kind"`
Status string `json:"status"`
}
type ListCredentialArtifactsPageBySourceAndQueryAndFiltersRow ¶ added in v0.4.10
type ListCredentialArtifactsPageBySourceAndQueryAndFiltersRow struct {
ID int64 `json:"id"`
SourceKind string `json:"source_kind"`
SourceName string `json:"source_name"`
AssetRefKind string `json:"asset_ref_kind"`
AssetRefExternalID string `json:"asset_ref_external_id"`
CredentialKind string `json:"credential_kind"`
ExternalID string `json:"external_id"`
DisplayName string `json:"display_name"`
Fingerprint string `json:"fingerprint"`
ScopeJson []byte `json:"scope_json"`
Status string `json:"status"`
CreatedAtSource pgtype.Timestamptz `json:"created_at_source"`
ExpiresAtSource pgtype.Timestamptz `json:"expires_at_source"`
LastUsedAtSource pgtype.Timestamptz `json:"last_used_at_source"`
CreatedByKind string `json:"created_by_kind"`
CreatedByExternalID string `json:"created_by_external_id"`
CreatedByDisplayName string `json:"created_by_display_name"`
ApprovedByKind string `json:"approved_by_kind"`
ApprovedByExternalID string `json:"approved_by_external_id"`
ApprovedByDisplayName string `json:"approved_by_display_name"`
RawJson []byte `json:"raw_json"`
SeenInRunID pgtype.Int8 `json:"seen_in_run_id"`
SeenAt pgtype.Timestamptz `json:"seen_at"`
LastObservedRunID pgtype.Int8 `json:"last_observed_run_id"`
LastObservedAt pgtype.Timestamptz `json:"last_observed_at"`
ExpiredAt pgtype.Timestamptz `json:"expired_at"`
ExpiredRunID pgtype.Int8 `json:"expired_run_id"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
UpdatedAt pgtype.Timestamptz `json:"updated_at"`
RiskLevel string `json:"risk_level"`
}
type ListCredentialArtifactsPageBySourcesAndQueryAndFiltersParams ¶ added in v0.4.9
type ListCredentialArtifactsPageBySourcesAndQueryAndFiltersParams struct {
RiskLevel string `json:"risk_level"`
ExpiryState string `json:"expiry_state"`
EvaluatedAt pgtype.Timestamptz `json:"evaluated_at"`
ExpiresInDays int32 `json:"expires_in_days"`
Query string `json:"query"`
PageOffset int32 `json:"page_offset"`
PageLimit int32 `json:"page_limit"`
ConfiguredSourceKinds []string `json:"configured_source_kinds"`
ConfiguredSourceNames []string `json:"configured_source_names"`
CredentialKind string `json:"credential_kind"`
Status string `json:"status"`
}
type ListCredentialArtifactsPageBySourcesAndQueryAndFiltersRow ¶ added in v0.4.10
type ListCredentialArtifactsPageBySourcesAndQueryAndFiltersRow struct {
ID int64 `json:"id"`
SourceKind string `json:"source_kind"`
SourceName string `json:"source_name"`
AssetRefKind string `json:"asset_ref_kind"`
AssetRefExternalID string `json:"asset_ref_external_id"`
CredentialKind string `json:"credential_kind"`
ExternalID string `json:"external_id"`
DisplayName string `json:"display_name"`
Fingerprint string `json:"fingerprint"`
ScopeJson []byte `json:"scope_json"`
Status string `json:"status"`
CreatedAtSource pgtype.Timestamptz `json:"created_at_source"`
ExpiresAtSource pgtype.Timestamptz `json:"expires_at_source"`
LastUsedAtSource pgtype.Timestamptz `json:"last_used_at_source"`
CreatedByKind string `json:"created_by_kind"`
CreatedByExternalID string `json:"created_by_external_id"`
CreatedByDisplayName string `json:"created_by_display_name"`
ApprovedByKind string `json:"approved_by_kind"`
ApprovedByExternalID string `json:"approved_by_external_id"`
ApprovedByDisplayName string `json:"approved_by_display_name"`
RawJson []byte `json:"raw_json"`
SeenInRunID pgtype.Int8 `json:"seen_in_run_id"`
SeenAt pgtype.Timestamptz `json:"seen_at"`
LastObservedRunID pgtype.Int8 `json:"last_observed_run_id"`
LastObservedAt pgtype.Timestamptz `json:"last_observed_at"`
ExpiredAt pgtype.Timestamptz `json:"expired_at"`
ExpiredRunID pgtype.Int8 `json:"expired_run_id"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
UpdatedAt pgtype.Timestamptz `json:"updated_at"`
RiskLevel string `json:"risk_level"`
}
type ListCredentialAuditEventsForCredentialParams ¶ added in v0.3.0
type ListCredentialAuditEventsForTargetParams ¶ added in v0.3.0
type ListDashboardPrivilegedAccessBucketsParams ¶ added in v0.5.0
type ListDashboardPrivilegedAccessBucketsRow ¶ added in v0.5.0
type ListDashboardPrivilegedAccessBucketsRow struct {
SourceKind string `json:"source_kind"`
SourceName string `json:"source_name"`
BucketKey string `json:"bucket_key"`
BucketLabel string `json:"bucket_label"`
Severity string `json:"severity"`
AffectedCount int64 `json:"affected_count"`
EntitlementCount int64 `json:"entitlement_count"`
}
type ListDashboardSourceAccountSummariesParams ¶ added in v0.5.0
type ListDashboardSourceAccountSummariesRow ¶ added in v0.5.0
type ListDashboardSourceAccountSummariesRow struct {
SourceKind string `json:"source_kind"`
SourceName string `json:"source_name"`
IdentityCount int64 `json:"identity_count"`
AccountCount int64 `json:"account_count"`
ManagedAccountCount int64 `json:"managed_account_count"`
UnmanagedAccountCount int64 `json:"unmanaged_account_count"`
}
type ListEntitlementAccessBySourceAndResourceRefRow ¶
type ListEntitlementAccessBySourceAndResourceRefRow struct {
EntitlementID int64 `json:"entitlement_id"`
EntitlementKind string `json:"entitlement_kind"`
EntitlementResource string `json:"entitlement_resource"`
EntitlementPermission string `json:"entitlement_permission"`
EntitlementRawJson []byte `json:"entitlement_raw_json"`
EntitlementCreatedAt pgtype.Timestamptz `json:"entitlement_created_at"`
EntitlementUpdatedAt pgtype.Timestamptz `json:"entitlement_updated_at"`
AccountID int64 `json:"account_id"`
AccountSourceKind string `json:"account_source_kind"`
AccountSourceName string `json:"account_source_name"`
AccountExternalID string `json:"account_external_id"`
AccountEmail string `json:"account_email"`
AccountDisplayName string `json:"account_display_name"`
AccountRawJson []byte `json:"account_raw_json"`
LinkReason pgtype.Text `json:"link_reason"`
IdentityID pgtype.Int8 `json:"identity_id"`
IdentityEmail pgtype.Text `json:"identity_email"`
IdentityDisplayName pgtype.Text `json:"identity_display_name"`
IdentityStatus pgtype.Text `json:"identity_status"`
}
type ListEntitlementsForAccountIDsRow ¶ added in v0.4.9
type ListEntitlementsForAccountIDsRow struct {
ID int64 `json:"id"`
AccountID int64 `json:"account_id"`
Kind string `json:"kind"`
Resource string `json:"resource"`
Permission string `json:"permission"`
RawJson []byte `json:"raw_json"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
SeenInRunID pgtype.Int8 `json:"seen_in_run_id"`
SeenAt pgtype.Timestamptz `json:"seen_at"`
LastObservedRunID pgtype.Int8 `json:"last_observed_run_id"`
LastObservedAt pgtype.Timestamptz `json:"last_observed_at"`
ExpiredAt pgtype.Timestamptz `json:"expired_at"`
ExpiredRunID pgtype.Int8 `json:"expired_run_id"`
UpdatedAt pgtype.Timestamptz `json:"updated_at"`
}
type ListEntitlementsForAccountRow ¶ added in v0.4.9
type ListEntitlementsForAccountRow struct {
ID int64 `json:"id"`
AccountID int64 `json:"account_id"`
Kind string `json:"kind"`
Resource string `json:"resource"`
Permission string `json:"permission"`
RawJson []byte `json:"raw_json"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
SeenInRunID pgtype.Int8 `json:"seen_in_run_id"`
SeenAt pgtype.Timestamptz `json:"seen_at"`
LastObservedRunID pgtype.Int8 `json:"last_observed_run_id"`
LastObservedAt pgtype.Timestamptz `json:"last_observed_at"`
ExpiredAt pgtype.Timestamptz `json:"expired_at"`
ExpiredRunID pgtype.Int8 `json:"expired_run_id"`
UpdatedAt pgtype.Timestamptz `json:"updated_at"`
}
type ListGitHubUsersPageBySourceAndQueryParams ¶ added in v0.4.9
type ListGitHubUsersPageBySourceAndQueryRow ¶ added in v0.4.9
type ListGitHubUsersPageBySourceAndQueryRow struct {
ID int64 `json:"id"`
SourceKind string `json:"source_kind"`
SourceName string `json:"source_name"`
ExternalID string `json:"external_id"`
Email string `json:"email"`
DisplayName string `json:"display_name"`
RawJson []byte `json:"raw_json"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
UpdatedAt pgtype.Timestamptz `json:"updated_at"`
LastLoginAt pgtype.Timestamptz `json:"last_login_at"`
LastLoginIp string `json:"last_login_ip"`
LastLoginRegion string `json:"last_login_region"`
SeenInRunID pgtype.Int8 `json:"seen_in_run_id"`
SeenAt pgtype.Timestamptz `json:"seen_at"`
LastObservedRunID pgtype.Int8 `json:"last_observed_run_id"`
LastObservedAt pgtype.Timestamptz `json:"last_observed_at"`
ExpiredAt pgtype.Timestamptz `json:"expired_at"`
ExpiredRunID pgtype.Int8 `json:"expired_run_id"`
Status string `json:"status"`
AccountKind string `json:"account_kind"`
EntityCategory string `json:"entity_category"`
IdentityID int64 `json:"identity_id"`
}
type ListGoogleWorkspaceGroupMemberCountsByGroupExternalIDsRow ¶ added in v0.4.7
type ListGoogleWorkspaceGroupsPageBySourceAndQueryParams ¶ added in v0.4.7
type ListIdentitiesInventoryPageByFiltersParams ¶ added in v0.4.7
type ListIdentitiesInventoryPageByFiltersParams struct {
ManagedState string `json:"managed_state"`
PrivilegedOnly bool `json:"privileged_only"`
Status string `json:"status"`
ActivityState string `json:"activity_state"`
SortBy string `json:"sort_by"`
SortDir string `json:"sort_dir"`
PageOffset int32 `json:"page_offset"`
PageLimit int32 `json:"page_limit"`
ConfiguredSourceKinds []string `json:"configured_source_kinds"`
ConfiguredSourceNames []string `json:"configured_source_names"`
SourceKind string `json:"source_kind"`
SourceName string `json:"source_name"`
Query string `json:"query"`
IdentityType string `json:"identity_type"`
}
type ListIdentitiesInventoryPageByFiltersRow ¶ added in v0.4.7
type ListIdentitiesInventoryPageByFiltersRow struct {
ID int64 `json:"id"`
DisplayName string `json:"display_name"`
PrimaryEmail string `json:"primary_email"`
IdentityType string `json:"identity_type"`
Managed bool `json:"managed"`
SourceKind string `json:"source_kind"`
SourceName string `json:"source_name"`
IntegrationCount int64 `json:"integration_count"`
PrivilegedRoles int64 `json:"privileged_roles"`
LastSeenAt pgtype.Timestamptz `json:"last_seen_at"`
FirstSeenAt pgtype.Timestamptz `json:"first_seen_at"`
Status string `json:"status"`
ActivityState string `json:"activity_state"`
RowState string `json:"row_state"`
TotalCount int64 `json:"total_count"`
}
type ListIdentityAccountAttributesRow ¶ added in v0.3.0
type ListIdentityAccountAttributesRow struct {
IdentityID int64 `json:"identity_id"`
IdentityKind string `json:"identity_kind"`
AccountID int64 `json:"account_id"`
SourceKind string `json:"source_kind"`
SourceName string `json:"source_name"`
ExternalID string `json:"external_id"`
AccountKind string `json:"account_kind"`
Email string `json:"email"`
DisplayName string `json:"display_name"`
}
type ListIdentitySourceSummariesRow ¶ added in v0.5.0
type ListLatestSuccessfulSyncRunsBySourceRow ¶ added in v0.4.11
type ListLatestSuccessfulSyncRunsBySourceRow struct {
SourceKind string `json:"source_kind"`
SourceName string `json:"source_name"`
LastSuccessAt pgtype.Timestamptz `json:"last_success_at"`
}
type ListMappedOktaDiscoveryAppsBySourceRow ¶ added in v0.4.0
type ListNonHumanPrincipalAssetsByRefRow ¶ added in v0.4.11
type ListNonHumanPrincipalAssetsByRefRow struct {
ID int64 `json:"id"`
SourceKind string `json:"source_kind"`
SourceName string `json:"source_name"`
AssetKind string `json:"asset_kind"`
ExternalID string `json:"external_id"`
ParentExternalID string `json:"parent_external_id"`
DisplayName string `json:"display_name"`
Status string `json:"status"`
GovernanceState string `json:"governance_state"`
GovernanceOwnerIdentityID int64 `json:"governance_owner_identity_id"`
GovernanceOwnerDisplayName string `json:"governance_owner_display_name"`
GovernanceOwnerPrimaryEmail string `json:"governance_owner_primary_email"`
GrantCount int64 `json:"grant_count"`
EvidenceLastSeenAt pgtype.Timestamptz `json:"evidence_last_seen_at"`
EvidenceFreshness string `json:"evidence_freshness"`
EvidenceConfidence string `json:"evidence_confidence"`
EvidenceConfidenceReason string `json:"evidence_confidence_reason"`
}
type ListNonHumanPrincipalCredentialsByRefRow ¶ added in v0.4.11
type ListNonHumanPrincipalCredentialsByRefRow struct {
ID int64 `json:"id"`
SourceKind string `json:"source_kind"`
SourceName string `json:"source_name"`
CredentialKind string `json:"credential_kind"`
ExternalID string `json:"external_id"`
DisplayName string `json:"display_name"`
Status string `json:"status"`
RiskLevel string `json:"risk_level"`
ExpiresAtSource pgtype.Timestamptz `json:"expires_at_source"`
LastUsedAtSource pgtype.Timestamptz `json:"last_used_at_source"`
CreatedByDisplayName string `json:"created_by_display_name"`
CreatedByExternalID string `json:"created_by_external_id"`
ApprovedByDisplayName string `json:"approved_by_display_name"`
ApprovedByExternalID string `json:"approved_by_external_id"`
AppAssetID int64 `json:"app_asset_id"`
AppAssetDisplayName string `json:"app_asset_display_name"`
}
type ListNonHumanPrincipalsPageByFiltersParams ¶ added in v0.4.11
type ListNonHumanPrincipalsPageByFiltersParams struct {
SortBy string `json:"sort_by"`
SortDir string `json:"sort_dir"`
PageOffset int32 `json:"page_offset"`
PageLimit int32 `json:"page_limit"`
ConfiguredSourceKinds []string `json:"configured_source_kinds"`
ConfiguredSourceNames []string `json:"configured_source_names"`
Query string `json:"query"`
SourceKind string `json:"source_kind"`
SourceName string `json:"source_name"`
PrincipalType string `json:"principal_type"`
OwnerPresence string `json:"owner_presence"`
GovernanceState string `json:"governance_state"`
RiskLevel string `json:"risk_level"`
ActivityState string `json:"activity_state"`
FreshnessState string `json:"freshness_state"`
}
type ListNonHumanPrincipalsPageByFiltersRow ¶ added in v0.4.11
type ListNonHumanPrincipalsPageByFiltersRow struct {
PrincipalRef string `json:"principal_ref"`
IdentityID int64 `json:"identity_id"`
AppAssetID int64 `json:"app_asset_id"`
PrincipalType string `json:"principal_type"`
SourceKind string `json:"source_kind"`
SourceName string `json:"source_name"`
DisplayName string `json:"display_name"`
SecondaryName string `json:"secondary_name"`
LinkedAssetsCount int64 `json:"linked_assets_count"`
LinkedCredentialsCount int64 `json:"linked_credentials_count"`
LastSeenAt pgtype.Timestamptz `json:"last_seen_at"`
ActivityState string `json:"activity_state"`
FreshnessState string `json:"freshness_state"`
GovernanceState string `json:"governance_state"`
AccountableOwnerIdentityID int64 `json:"accountable_owner_identity_id"`
AccountableOwnerDisplayName string `json:"accountable_owner_display_name"`
AccountableOwnerPrimaryEmail string `json:"accountable_owner_primary_email"`
OwnerPresence string `json:"owner_presence"`
HasCriticalCredential bool `json:"has_critical_credential"`
HasHighRiskCredential bool `json:"has_high_risk_credential"`
HasExpiredCredential bool `json:"has_expired_credential"`
HasExpiringCredential bool `json:"has_expiring_credential"`
HasUnusedCredential bool `json:"has_unused_credential"`
HasStaleEvidence bool `json:"has_stale_evidence"`
RiskReasonCount int32 `json:"risk_reason_count"`
RiskLevel string `json:"risk_level"`
}
type ListNormalizedEntitlementAssignmentsV1Row ¶ added in v0.3.0
type ListNormalizedEntitlementAssignmentsV1Row struct {
EntitlementID int64 `json:"entitlement_id"`
IdentityID int64 `json:"identity_id"`
IdentityEmail string `json:"identity_email"`
IdentityDisplayName string `json:"identity_display_name"`
IdentityStatus string `json:"identity_status"`
AccountSourceKind string `json:"account_source_kind"`
AccountSourceName string `json:"account_source_name"`
AccountExternalID string `json:"account_external_id"`
EntitlementKind string `json:"entitlement_kind"`
EntitlementResource string `json:"entitlement_resource"`
EntitlementPermission string `json:"entitlement_permission"`
}
type ListNormalizedEntitlementAssignmentsV2Row ¶ added in v0.3.0
type ListNormalizedEntitlementAssignmentsV2Row struct {
EntitlementID int64 `json:"entitlement_id"`
IdentityID int64 `json:"identity_id"`
IdentityKind string `json:"identity_kind"`
IdentityEmail string `json:"identity_email"`
IdentityDisplayName string `json:"identity_display_name"`
IdentityManaged bool `json:"identity_managed"`
AccountSourceKind string `json:"account_source_kind"`
AccountSourceName string `json:"account_source_name"`
AccountExternalID string `json:"account_external_id"`
EntitlementKind string `json:"entitlement_kind"`
EntitlementResource string `json:"entitlement_resource"`
EntitlementPermission string `json:"entitlement_permission"`
}
type ListNormalizedIdentitiesV1Row ¶ added in v0.3.0
type ListNormalizedIdentitiesV2Row ¶ added in v0.3.0
type ListNormalizedIdentitiesV2Row struct {
IdentityID int64 `json:"identity_id"`
IdentityKind string `json:"identity_kind"`
IdentityEmail string `json:"identity_email"`
IdentityDisplayName string `json:"identity_display_name"`
IdentityManaged bool `json:"identity_managed"`
AuthoritativeSourceKind string `json:"authoritative_source_kind"`
AuthoritativeSourceName string `json:"authoritative_source_name"`
AuthoritativeExternalID string `json:"authoritative_external_id"`
}
type ListOktaAccountsForCommandRow ¶ added in v0.4.9
type ListOktaAccountsPageByQueryAndStateParams ¶ added in v0.4.9
type ListOktaAppAssignedAccountsPageByQueryParams ¶ added in v0.4.9
type ListOktaAppAssignedAccountsPageByQueryRow ¶ added in v0.4.9
type ListOktaAppAssignedAccountsPageByQueryRow struct {
OktaAccountID int64 `json:"okta_account_id"`
OktaAccountExternalID string `json:"okta_account_external_id"`
OktaAccountEmail string `json:"okta_account_email"`
OktaAccountDisplayName string `json:"okta_account_display_name"`
OktaAccountStatus string `json:"okta_account_status"`
Scope string `json:"scope"`
ProfileJson []byte `json:"profile_json"`
}
type ListOktaAppAssignmentsForOktaAccountRow ¶ added in v0.4.9
type ListOktaAppAssignmentsForOktaAccountRow struct {
OktaAccountID int64 `json:"okta_account_id"`
OktaAppID int64 `json:"okta_app_id"`
Scope string `json:"scope"`
ProfileJson []byte `json:"profile_json"`
AssignmentRawJson []byte `json:"assignment_raw_json"`
OktaAppExternalID string `json:"okta_app_external_id"`
AppLabel string `json:"app_label"`
AppName string `json:"app_name"`
AppStatus string `json:"app_status"`
AppSignOnMode string `json:"app_sign_on_mode"`
IntegrationKind string `json:"integration_kind"`
}
type ListOktaAppGrantingGroupsForOktaAccountByOktaAppExternalIDParams ¶ added in v0.4.9
type ListOktaAppGrantingGroupsForOktaAccountByOktaAppExternalIDRow ¶ added in v0.4.9
type ListOktaAppGrantingGroupsForOktaAccountsParams ¶ added in v0.4.9
type ListOktaAppGrantingGroupsForOktaAccountsRow ¶ added in v0.4.9
type ListOktaAppsPageFilteredParams ¶ added in v0.4.11
type ListOktaAppsPageFilteredRow ¶ added in v0.4.11
type ListOktaAppsPageParams ¶
type ListOktaAppsPageRow ¶
type ListRecentFinishedSyncRunsBySourceParams ¶ added in v0.2.0
type ListRecentFinishedSyncRunsBySourceRow ¶ added in v0.2.0
type ListRecentFinishedSyncRunsBySourceRow struct {
ID int64 `json:"id"`
Status string `json:"status"`
FinishedAt pgtype.Timestamptz `json:"finished_at"`
ErrorKind string `json:"error_kind"`
}
type ListRecentFinishedSyncRunsForSourcesParams ¶ added in v0.2.0
type ListRecentFinishedSyncRunsForSourcesRow ¶ added in v0.2.0
type ListRecentNonSuccessSyncRunsBySourceParams ¶ added in v0.4.2
type ListRecentNonSuccessSyncRunsBySourceRow ¶ added in v0.4.2
type ListSaaSAppEventsBySaaSAppIDParams ¶ added in v0.4.0
type ListSaaSAppHotspotsParams ¶ added in v0.4.0
type ListSaaSAppHotspotsRow ¶ added in v0.4.0
type ListSaaSAppHotspotsRow struct {
ID int64 `json:"id"`
CanonicalKey string `json:"canonical_key"`
DisplayName string `json:"display_name"`
PrimaryDomain string `json:"primary_domain"`
VendorName string `json:"vendor_name"`
ManagedState string `json:"managed_state"`
ManagedReason string `json:"managed_reason"`
BoundConnectorKind string `json:"bound_connector_kind"`
BoundConnectorSourceName string `json:"bound_connector_source_name"`
RiskScore int32 `json:"risk_score"`
RiskLevel string `json:"risk_level"`
SuggestedBusinessCriticality string `json:"suggested_business_criticality"`
SuggestedDataClassification string `json:"suggested_data_classification"`
FirstSeenAt pgtype.Timestamptz `json:"first_seen_at"`
LastSeenAt pgtype.Timestamptz `json:"last_seen_at"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
UpdatedAt pgtype.Timestamptz `json:"updated_at"`
OwnerDisplayName string `json:"owner_display_name"`
OwnerPrimaryEmail string `json:"owner_primary_email"`
ReviewOwnerDisplayName string `json:"review_owner_display_name"`
ReviewOwnerPrimaryEmail string `json:"review_owner_primary_email"`
ReviewDisposition string `json:"review_disposition"`
FollowUpDueDate pgtype.Date `json:"follow_up_due_date"`
IsFollowUpOverdue bool `json:"is_follow_up_overdue"`
ReplacementSaasAppID int64 `json:"replacement_saas_app_id"`
ReplacementDisplayName string `json:"replacement_display_name"`
TicketRef string `json:"ticket_ref"`
Actors30d int64 `json:"actors_30d"`
}
type ListSaaSAppIDsFromSourcesSeenInRunBySourceParams ¶ added in v0.4.0
type ListSaaSAppReviewDecisionsBySaaSAppIDParams ¶ added in v0.4.11
type ListSaaSAppReviewDecisionsBySaaSAppIDRow ¶ added in v0.4.11
type ListSaaSAppReviewDecisionsBySaaSAppIDRow struct {
ID int64 `json:"id"`
ChangedAt pgtype.Timestamptz `json:"changed_at"`
ChangedByAuthUserEmail string `json:"changed_by_auth_user_email"`
OwnerDisplayName string `json:"owner_display_name"`
OwnerPrimaryEmail string `json:"owner_primary_email"`
ReviewOwnerDisplayName string `json:"review_owner_display_name"`
ReviewOwnerPrimaryEmail string `json:"review_owner_primary_email"`
ReviewDisposition string `json:"review_disposition"`
TicketRef string `json:"ticket_ref"`
Notes string `json:"notes"`
FollowUpDueDate pgtype.Date `json:"follow_up_due_date"`
ReplacementSaasAppID int64 `json:"replacement_saas_app_id"`
ReplacementDisplayName string `json:"replacement_display_name"`
ReplacementPrimaryDomain string `json:"replacement_primary_domain"`
}
type ListSaaSAppsPageByFiltersParams ¶ added in v0.4.0
type ListSaaSAppsPageByFiltersParams struct {
SourceKind string `json:"source_kind"`
SourceName string `json:"source_name"`
Query string `json:"query"`
ManagedState string `json:"managed_state"`
RiskLevel string `json:"risk_level"`
PageOffset int32 `json:"page_offset"`
PageLimit int32 `json:"page_limit"`
}
type ListSaaSAppsPageByFiltersRow ¶ added in v0.4.0
type ListSaaSAppsPageByFiltersRow struct {
ID int64 `json:"id"`
CanonicalKey string `json:"canonical_key"`
DisplayName string `json:"display_name"`
PrimaryDomain string `json:"primary_domain"`
VendorName string `json:"vendor_name"`
ManagedState string `json:"managed_state"`
ManagedReason string `json:"managed_reason"`
BoundConnectorKind string `json:"bound_connector_kind"`
BoundConnectorSourceName string `json:"bound_connector_source_name"`
RiskScore int32 `json:"risk_score"`
RiskLevel string `json:"risk_level"`
SuggestedBusinessCriticality string `json:"suggested_business_criticality"`
SuggestedDataClassification string `json:"suggested_data_classification"`
FirstSeenAt pgtype.Timestamptz `json:"first_seen_at"`
LastSeenAt pgtype.Timestamptz `json:"last_seen_at"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
UpdatedAt pgtype.Timestamptz `json:"updated_at"`
OwnerDisplayName string `json:"owner_display_name"`
OwnerPrimaryEmail string `json:"owner_primary_email"`
ReviewOwnerDisplayName string `json:"review_owner_display_name"`
ReviewOwnerPrimaryEmail string `json:"review_owner_primary_email"`
ReviewDisposition string `json:"review_disposition"`
FollowUpDueDate pgtype.Date `json:"follow_up_due_date"`
IsFollowUpOverdue bool `json:"is_follow_up_overdue"`
ReplacementSaasAppID int64 `json:"replacement_saas_app_id"`
ReplacementDisplayName string `json:"replacement_display_name"`
TicketRef string `json:"ticket_ref"`
Actors30d int64 `json:"actors_30d"`
}
type ListSourceAccountsPageBySourceAndQueryAndStateParams ¶ added in v0.4.9
type ListSourceAccountsPageBySourceAndQueryAndStateParams struct {
SourceKind string `json:"source_kind"`
SourceName string `json:"source_name"`
EntityCategory string `json:"entity_category"`
Query string `json:"query"`
State string `json:"state"`
PageOffset int32 `json:"page_offset"`
PageLimit int32 `json:"page_limit"`
}
type ListSourceAccountsPageBySourceAndQueryParams ¶ added in v0.4.9
type ListSourceAccountsPageBySourceAndQueryRow ¶ added in v0.4.9
type ListSourceAccountsPageBySourceAndQueryRow struct {
ID int64 `json:"id"`
SourceKind string `json:"source_kind"`
SourceName string `json:"source_name"`
ExternalID string `json:"external_id"`
Email string `json:"email"`
DisplayName string `json:"display_name"`
RawJson []byte `json:"raw_json"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
UpdatedAt pgtype.Timestamptz `json:"updated_at"`
LastLoginAt pgtype.Timestamptz `json:"last_login_at"`
LastLoginIp string `json:"last_login_ip"`
LastLoginRegion string `json:"last_login_region"`
SeenInRunID pgtype.Int8 `json:"seen_in_run_id"`
SeenAt pgtype.Timestamptz `json:"seen_at"`
LastObservedRunID pgtype.Int8 `json:"last_observed_run_id"`
LastObservedAt pgtype.Timestamptz `json:"last_observed_at"`
ExpiredAt pgtype.Timestamptz `json:"expired_at"`
ExpiredRunID pgtype.Int8 `json:"expired_run_id"`
Status string `json:"status"`
AccountKind string `json:"account_kind"`
EntityCategory string `json:"entity_category"`
IdentityID int64 `json:"identity_id"`
}
type ListSourceAccountsPageBySourceAndQueryWithEntitlementCountsParams ¶ added in v0.4.9
type ListSourceAccountsPageBySourceAndQueryWithEntitlementCountsParams struct {
SourceKind string `json:"source_kind"`
SourceName string `json:"source_name"`
EntityCategory string `json:"entity_category"`
Query string `json:"query"`
PageOffset int32 `json:"page_offset"`
PageLimit int32 `json:"page_limit"`
DistinctResourceKind1 string `json:"distinct_resource_kind_1"`
DistinctResourceKind2 string `json:"distinct_resource_kind_2"`
EntitlementKind1 string `json:"entitlement_kind_1"`
}
type ListSourceAccountsPageBySourceAndQueryWithEntitlementCountsRow ¶ added in v0.4.9
type ListSourceAccountsPageBySourceAndQueryWithEntitlementCountsRow struct {
ID int64 `json:"id"`
SourceKind string `json:"source_kind"`
SourceName string `json:"source_name"`
ExternalID string `json:"external_id"`
Email string `json:"email"`
DisplayName string `json:"display_name"`
RawJson []byte `json:"raw_json"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
UpdatedAt pgtype.Timestamptz `json:"updated_at"`
LastLoginAt pgtype.Timestamptz `json:"last_login_at"`
LastLoginIp string `json:"last_login_ip"`
LastLoginRegion string `json:"last_login_region"`
SeenInRunID pgtype.Int8 `json:"seen_in_run_id"`
SeenAt pgtype.Timestamptz `json:"seen_at"`
LastObservedRunID pgtype.Int8 `json:"last_observed_run_id"`
LastObservedAt pgtype.Timestamptz `json:"last_observed_at"`
ExpiredAt pgtype.Timestamptz `json:"expired_at"`
ExpiredRunID pgtype.Int8 `json:"expired_run_id"`
Status string `json:"status"`
AccountKind string `json:"account_kind"`
EntityCategory string `json:"entity_category"`
IdentityID int64 `json:"identity_id"`
DistinctResourceCount1 int64 `json:"distinct_resource_count_1"`
DistinctResourceCount2 int64 `json:"distinct_resource_count_2"`
EntitlementCount1 int64 `json:"entitlement_count_1"`
}
type ListTopActorsForSaaSAppByIDParams ¶ added in v0.4.0
type ListTopActorsForSaaSAppByIDRow ¶ added in v0.4.0
type ListUnlinkedAccountsPageParams ¶ added in v0.3.0
type ListUnlinkedSourceAccountsPageBySourceAndQueryParams ¶ added in v0.4.9
type MarkSyncJobRunningParams ¶ added in v0.4.8
type NonHumanAccessEvent ¶ added in v0.4.11
type NonHumanAccessEvent struct {
ID int64 `json:"id"`
AuthUserID pgtype.Int8 `json:"auth_user_id"`
AuthUserRole string `json:"auth_user_role"`
EventKind string `json:"event_kind"`
PrincipalRef string `json:"principal_ref"`
TargetKind string `json:"target_kind"`
TargetRef string `json:"target_ref"`
FilterSignature string `json:"filter_signature"`
OccurredAt pgtype.Timestamptz `json:"occurred_at"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
}
type NonHumanAppAssetCredentialRefsV ¶ added in v0.4.11
type NonHumanPrincipal ¶ added in v0.4.11
type NonHumanPrincipal struct {
PrincipalRef string `json:"principal_ref"`
IdentityID int64 `json:"identity_id"`
AppAssetID int64 `json:"app_asset_id"`
PrincipalType string `json:"principal_type"`
SourceKind string `json:"source_kind"`
SourceName string `json:"source_name"`
DisplayName string `json:"display_name"`
SecondaryName string `json:"secondary_name"`
LinkedAssetsCount int64 `json:"linked_assets_count"`
LinkedCredentialsCount int64 `json:"linked_credentials_count"`
LastSeenAt pgtype.Timestamptz `json:"last_seen_at"`
ActivityState string `json:"activity_state"`
FreshnessState string `json:"freshness_state"`
GovernanceState string `json:"governance_state"`
AccountableOwnerIdentityID int64 `json:"accountable_owner_identity_id"`
AccountableOwnerDisplayName string `json:"accountable_owner_display_name"`
AccountableOwnerPrimaryEmail string `json:"accountable_owner_primary_email"`
OwnerPresence string `json:"owner_presence"`
HasCriticalCredential bool `json:"has_critical_credential"`
HasHighRiskCredential bool `json:"has_high_risk_credential"`
HasExpiredCredential bool `json:"has_expired_credential"`
HasExpiringCredential bool `json:"has_expiring_credential"`
HasUnusedCredential bool `json:"has_unused_credential"`
HasStaleEvidence bool `json:"has_stale_evidence"`
RiskReasonCount int32 `json:"risk_reason_count"`
RiskLevel string `json:"risk_level"`
ProjectionRefreshedAt pgtype.Timestamptz `json:"projection_refreshed_at"`
}
type NonHumanPrincipalAssetLinksV ¶ added in v0.4.11
type NonHumanPrincipalProjectionV ¶ added in v0.4.11
type NonHumanPrincipalProjectionV struct {
PrincipalRef string `json:"principal_ref"`
IdentityID int64 `json:"identity_id"`
AppAssetID int64 `json:"app_asset_id"`
PrincipalType string `json:"principal_type"`
SourceKind string `json:"source_kind"`
SourceName string `json:"source_name"`
DisplayName string `json:"display_name"`
SecondaryName string `json:"secondary_name"`
LinkedAssetsCount int64 `json:"linked_assets_count"`
LinkedCredentialsCount int64 `json:"linked_credentials_count"`
LastSeenAt pgtype.Timestamptz `json:"last_seen_at"`
ActivityState string `json:"activity_state"`
FreshnessState string `json:"freshness_state"`
GovernanceState string `json:"governance_state"`
AccountableOwnerIdentityID int64 `json:"accountable_owner_identity_id"`
AccountableOwnerDisplayName string `json:"accountable_owner_display_name"`
AccountableOwnerPrimaryEmail string `json:"accountable_owner_primary_email"`
OwnerPresence string `json:"owner_presence"`
HasCriticalCredential bool `json:"has_critical_credential"`
HasHighRiskCredential bool `json:"has_high_risk_credential"`
HasExpiredCredential bool `json:"has_expired_credential"`
HasExpiringCredential bool `json:"has_expiring_credential"`
HasUnusedCredential bool `json:"has_unused_credential"`
HasStaleEvidence bool `json:"has_stale_evidence"`
RiskReasonCount int32 `json:"risk_reason_count"`
RiskLevel string `json:"risk_level"`
}
type NonHumanPrincipalReadModelsV ¶ added in v0.4.11
type NonHumanPrincipalReadModelsV struct {
PrincipalRef string `json:"principal_ref"`
IdentityID int64 `json:"identity_id"`
AppAssetID int64 `json:"app_asset_id"`
PrincipalType string `json:"principal_type"`
SourceKind string `json:"source_kind"`
SourceName string `json:"source_name"`
DisplayName string `json:"display_name"`
SecondaryName string `json:"secondary_name"`
LinkedAssetsCount int64 `json:"linked_assets_count"`
LinkedCredentialsCount int64 `json:"linked_credentials_count"`
LastSeenAt pgtype.Timestamptz `json:"last_seen_at"`
ActivityState string `json:"activity_state"`
FreshnessState string `json:"freshness_state"`
GovernanceState string `json:"governance_state"`
AccountableOwnerIdentityID int64 `json:"accountable_owner_identity_id"`
AccountableOwnerDisplayName string `json:"accountable_owner_display_name"`
AccountableOwnerPrimaryEmail string `json:"accountable_owner_primary_email"`
OwnerPresence string `json:"owner_presence"`
HasCriticalCredential bool `json:"has_critical_credential"`
HasHighRiskCredential bool `json:"has_high_risk_credential"`
HasExpiredCredential bool `json:"has_expired_credential"`
HasExpiringCredential bool `json:"has_expiring_credential"`
HasUnusedCredential bool `json:"has_unused_credential"`
HasStaleEvidence bool `json:"has_stale_evidence"`
RiskReasonCount int32 `json:"risk_reason_count"`
RiskLevel string `json:"risk_level"`
}
type OktaApp ¶
type OktaApp struct {
ID int64 `json:"id"`
ExternalID string `json:"external_id"`
Label string `json:"label"`
Name string `json:"name"`
Status string `json:"status"`
SignOnMode string `json:"sign_on_mode"`
RawJson []byte `json:"raw_json"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
UpdatedAt pgtype.Timestamptz `json:"updated_at"`
SeenInRunID pgtype.Int8 `json:"seen_in_run_id"`
SeenAt pgtype.Timestamptz `json:"seen_at"`
LastObservedRunID pgtype.Int8 `json:"last_observed_run_id"`
LastObservedAt pgtype.Timestamptz `json:"last_observed_at"`
ExpiredAt pgtype.Timestamptz `json:"expired_at"`
ExpiredRunID pgtype.Int8 `json:"expired_run_id"`
}
type OktaAppGroupAssignment ¶
type OktaAppGroupAssignment struct {
ID int64 `json:"id"`
OktaAppID int64 `json:"okta_app_id"`
OktaGroupID int64 `json:"okta_group_id"`
Priority int32 `json:"priority"`
ProfileJson []byte `json:"profile_json"`
RawJson []byte `json:"raw_json"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
UpdatedAt pgtype.Timestamptz `json:"updated_at"`
SeenInRunID pgtype.Int8 `json:"seen_in_run_id"`
SeenAt pgtype.Timestamptz `json:"seen_at"`
LastObservedRunID pgtype.Int8 `json:"last_observed_run_id"`
LastObservedAt pgtype.Timestamptz `json:"last_observed_at"`
ExpiredAt pgtype.Timestamptz `json:"expired_at"`
ExpiredRunID pgtype.Int8 `json:"expired_run_id"`
}
type OktaGroup ¶
type OktaGroup struct {
ID int64 `json:"id"`
ExternalID string `json:"external_id"`
Name string `json:"name"`
Type string `json:"type"`
RawJson []byte `json:"raw_json"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
UpdatedAt pgtype.Timestamptz `json:"updated_at"`
SeenInRunID pgtype.Int8 `json:"seen_in_run_id"`
SeenAt pgtype.Timestamptz `json:"seen_at"`
LastObservedRunID pgtype.Int8 `json:"last_observed_run_id"`
LastObservedAt pgtype.Timestamptz `json:"last_observed_at"`
ExpiredAt pgtype.Timestamptz `json:"expired_at"`
ExpiredRunID pgtype.Int8 `json:"expired_run_id"`
}
type OktaUserAppAssignment ¶
type OktaUserAppAssignment struct {
ID int64 `json:"id"`
OktaAppID int64 `json:"okta_app_id"`
Scope string `json:"scope"`
ProfileJson []byte `json:"profile_json"`
RawJson []byte `json:"raw_json"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
UpdatedAt pgtype.Timestamptz `json:"updated_at"`
SeenInRunID pgtype.Int8 `json:"seen_in_run_id"`
SeenAt pgtype.Timestamptz `json:"seen_at"`
LastObservedRunID pgtype.Int8 `json:"last_observed_run_id"`
LastObservedAt pgtype.Timestamptz `json:"last_observed_at"`
ExpiredAt pgtype.Timestamptz `json:"expired_at"`
ExpiredRunID pgtype.Int8 `json:"expired_run_id"`
OktaUserAccountID int64 `json:"okta_user_account_id"`
}
type OktaUserGroup ¶
type OktaUserGroup struct {
ID int64 `json:"id"`
OktaGroupID int64 `json:"okta_group_id"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
SeenInRunID pgtype.Int8 `json:"seen_in_run_id"`
SeenAt pgtype.Timestamptz `json:"seen_at"`
LastObservedRunID pgtype.Int8 `json:"last_observed_run_id"`
LastObservedAt pgtype.Timestamptz `json:"last_observed_at"`
ExpiredAt pgtype.Timestamptz `json:"expired_at"`
ExpiredRunID pgtype.Int8 `json:"expired_run_id"`
OktaUserAccountID int64 `json:"okta_user_account_id"`
}
type PromoteAppAssetOwnersSeenInRunBySourceParams ¶ added in v0.3.0
type PromoteAppAssetsSeenInRunBySourceParams ¶ added in v0.3.0
type PromoteCredentialArtifactsSeenInRunBySourceParams ¶ added in v0.3.0
type PromoteSaaSAppEventsSeenInRunBySourceParams ¶ added in v0.4.0
type PromoteSaaSAppSourcesSeenInRunBySourceParams ¶ added in v0.4.0
type PromoteSourceAccountsSeenInRunParams ¶ added in v0.4.9
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) AcquireAdvisoryLock ¶
func (*Queries) BulkAutoLinkByEmail ¶
func (*Queries) ClaimNextSyncJobByLane ¶ added in v0.4.8
func (*Queries) CompleteManualSyncJobFailure ¶ added in v0.4.8
func (*Queries) CompleteManualSyncJobSuccess ¶ added in v0.4.8
func (*Queries) CompleteScheduledSyncJobFailure ¶ added in v0.4.8
func (*Queries) CompleteScheduledSyncJobSuccess ¶ added in v0.4.8
func (*Queries) CountAppAssetGovernanceBySourceAndQueryAndState ¶ added in v0.4.10
func (*Queries) CountAppAssetGovernanceGroupedByState ¶ added in v0.4.10
func (q *Queries) CountAppAssetGovernanceGroupedByState(ctx context.Context, arg CountAppAssetGovernanceGroupedByStateParams) ([]CountAppAssetGovernanceGroupedByStateRow, error)
func (*Queries) CountAppAssetsBySourceAndQueryAndKind ¶ added in v0.3.0
func (*Queries) CountAppAssetsBySourcesAndQueryAndKind ¶ added in v0.4.9
func (*Queries) CountAuthAdmins ¶ added in v0.2.0
func (*Queries) CountAuthUsers ¶ added in v0.2.0
func (*Queries) CountConfiguredNonHumanHighRiskCredentialAttribution ¶ added in v0.4.11
func (q *Queries) CountConfiguredNonHumanHighRiskCredentialAttribution(ctx context.Context) (CountConfiguredNonHumanHighRiskCredentialAttributionRow, error)
func (*Queries) CountConfiguredNonHumanPrincipalOwnerCoverage ¶ added in v0.4.11
func (q *Queries) CountConfiguredNonHumanPrincipalOwnerCoverage(ctx context.Context) (CountConfiguredNonHumanPrincipalOwnerCoverageRow, error)
func (*Queries) CountConnectedOktaApps ¶ added in v0.2.1
func (*Queries) CountCredentialArtifactsBySourceAndQueryAndFilters ¶ added in v0.3.0
func (*Queries) CountCredentialArtifactsBySourcesAndQueryAndFilters ¶ added in v0.4.9
func (*Queries) CountGitHubUsersBySourceAndQuery ¶ added in v0.4.9
func (*Queries) CountGoogleWorkspaceGroupsBySourceAndQuery ¶ added in v0.4.7
func (*Queries) CountIdentitiesInventoryByFilters ¶ added in v0.4.7
func (*Queries) CountLinkedSourceAccountsBySource ¶ added in v0.4.9
func (*Queries) CountNonHumanAccessWeeklyAdminReviewSessions ¶ added in v0.4.11
func (*Queries) CountNonHumanPrincipalsByFilters ¶ added in v0.4.11
func (*Queries) CountOktaAccounts ¶ added in v0.4.9
func (*Queries) CountOktaAccountsByQueryAndState ¶ added in v0.4.9
func (*Queries) CountOktaAppAssignedAccountsByQuery ¶ added in v0.4.9
func (*Queries) CountOktaAppsByQuery ¶
func (*Queries) CountOktaAppsFiltered ¶ added in v0.4.11
func (*Queries) CountSaaSAppsByFilters ¶ added in v0.4.0
func (*Queries) CountSaaSAppsGroupedByManagedState ¶ added in v0.4.0
func (q *Queries) CountSaaSAppsGroupedByManagedState(ctx context.Context) ([]CountSaaSAppsGroupedByManagedStateRow, error)
func (*Queries) CountSaaSAppsGroupedByRiskLevel ¶ added in v0.4.0
func (q *Queries) CountSaaSAppsGroupedByRiskLevel(ctx context.Context) ([]CountSaaSAppsGroupedByRiskLevelRow, error)
func (*Queries) CountSourceAccountsBySource ¶ added in v0.4.9
func (*Queries) CountSourceAccountsBySourceAndQuery ¶ added in v0.4.9
func (*Queries) CountSourceAccountsBySourceAndQueryAndState ¶ added in v0.4.9
func (*Queries) CountUnlinkedAccounts ¶ added in v0.3.0
func (*Queries) CountUnlinkedSourceAccountsBySource ¶ added in v0.4.9
func (*Queries) CountUnlinkedSourceAccountsBySourceAndQuery ¶ added in v0.4.9
func (*Queries) CreateAuthUser ¶ added in v0.2.0
func (*Queries) CreateIdentity ¶ added in v0.3.0
func (*Queries) CreateSyncJob ¶ added in v0.4.8
func (*Queries) CreateSyncRun ¶
func (*Queries) DeactivateRulesNotInKeys ¶
func (q *Queries) DeactivateRulesNotInKeys(ctx context.Context, arg DeactivateRulesNotInKeysParams) error
func (*Queries) DeleteAuthUser ¶ added in v0.2.1
func (*Queries) DeleteConnectorSecretsByKind ¶ added in v0.4.10
func (*Queries) DeleteConnectorSourceStateAll ¶ added in v0.4.11
func (*Queries) DeleteIntegrationOktaAppMap ¶
func (*Queries) ExpireAppAssetOwnersNotSeenInRunBySource ¶ added in v0.3.0
func (*Queries) ExpireAppAssetsNotSeenInRunBySource ¶ added in v0.3.0
func (*Queries) ExpireCredentialArtifactsNotSeenInRunBySource ¶ added in v0.3.0
func (*Queries) ExpireEntitlementsNotSeenInRunBySource ¶
func (*Queries) ExpireOktaAccountsNotSeenInRun ¶ added in v0.4.9
func (*Queries) ExpireOktaAppAssignmentsNotSeenInRun ¶ added in v0.4.9
func (*Queries) ExpireOktaAppGroupAssignmentsNotSeenInRun ¶
func (*Queries) ExpireOktaAppsNotSeenInRun ¶
func (*Queries) ExpireOktaGroupMembershipsNotSeenInRun ¶ added in v0.4.9
func (*Queries) ExpireOktaGroupsNotSeenInRun ¶
func (*Queries) ExpireSaaSAppEventsNotSeenInRunBySource ¶ added in v0.4.0
func (*Queries) ExpireSaaSAppSourcesNotSeenInRunBySource ¶ added in v0.4.0
func (*Queries) ExpireSourceAccountsNotSeenInRun ¶ added in v0.4.9
func (*Queries) FailSyncRun ¶
func (q *Queries) FailSyncRun(ctx context.Context, arg FailSyncRunParams) error
func (*Queries) GetActiveSyncJobByScope ¶ added in v0.4.8
func (*Queries) GetAppAssetByID ¶ added in v0.3.0
func (*Queries) GetAppAssetBySourceAndKindAndExternalID ¶ added in v0.3.0
func (*Queries) GetAppAssetPostureByID ¶ added in v0.4.10
func (*Queries) GetAuthUser ¶ added in v0.2.0
func (*Queries) GetAuthUserByEmail ¶ added in v0.2.0
func (*Queries) GetAuthUserForUpdate ¶ added in v0.2.1
func (*Queries) GetConnectorConfig ¶
func (*Queries) GetCredentialArtifactByID ¶ added in v0.3.0
func (q *Queries) GetCredentialArtifactByID(ctx context.Context, arg GetCredentialArtifactByIDParams) (GetCredentialArtifactByIDRow, error)
func (*Queries) GetIdentityAccountLinkByAccountID ¶ added in v0.3.0
func (*Queries) GetIdentityBySourceAndExternalID ¶ added in v0.3.0
func (*Queries) GetIdentitySummaryByID ¶ added in v0.3.0
func (*Queries) GetLatestSaaSDiscoveryObservedAtBySource ¶ added in v0.4.0
func (q *Queries) GetLatestSaaSDiscoveryObservedAtBySource(ctx context.Context, arg GetLatestSaaSDiscoveryObservedAtBySourceParams) (pgtype.Timestamptz, error)
func (*Queries) GetNonHumanPrincipalByRef ¶ added in v0.4.11
func (*Queries) GetOktaAccount ¶ added in v0.4.9
Okta account query names on top of accounts.
func (*Queries) GetOktaAppAssignmentForOktaAccountByOktaAppExternalID ¶ added in v0.4.9
func (q *Queries) GetOktaAppAssignmentForOktaAccountByOktaAppExternalID(ctx context.Context, arg GetOktaAppAssignmentForOktaAccountByOktaAppExternalIDParams) (GetOktaAppAssignmentForOktaAccountByOktaAppExternalIDRow, error)
func (*Queries) GetOktaAppByExternalIDWithIntegration ¶
func (*Queries) GetPreferredIdentityByPrimaryEmail ¶ added in v0.3.0
func (*Queries) GetRuleAttestation ¶
func (q *Queries) GetRuleAttestation(ctx context.Context, arg GetRuleAttestationParams) (RuleAttestation, error)
func (*Queries) GetRuleOverride ¶
func (q *Queries) GetRuleOverride(ctx context.Context, arg GetRuleOverrideParams) (RuleOverride, error)
func (*Queries) GetRuleWithCurrentResultByRulesetKeyAndRuleKey ¶
func (q *Queries) GetRuleWithCurrentResultByRulesetKeyAndRuleKey(ctx context.Context, arg GetRuleWithCurrentResultByRulesetKeyAndRuleKeyParams) (GetRuleWithCurrentResultByRulesetKeyAndRuleKeyRow, error)
func (*Queries) GetRulesetByKey ¶
func (*Queries) GetRulesetOverride ¶
func (q *Queries) GetRulesetOverride(ctx context.Context, arg GetRulesetOverrideParams) (RulesetOverride, error)
func (*Queries) GetRulesetPostureCounts ¶ added in v0.2.1
func (q *Queries) GetRulesetPostureCounts(ctx context.Context, arg GetRulesetPostureCountsParams) (GetRulesetPostureCountsRow, error)
func (*Queries) GetSaaSAppByID ¶ added in v0.4.0
func (*Queries) GetSaaSAppReplacementCandidateByID ¶ added in v0.4.11
func (*Queries) GetSourceAccount ¶ added in v0.4.9
func (*Queries) GetSyncRunRollupsForSources ¶ added in v0.2.1
func (q *Queries) GetSyncRunRollupsForSources(ctx context.Context, arg GetSyncRunRollupsForSourcesParams) ([]GetSyncRunRollupsForSourcesRow, error)
func (*Queries) InsertNonHumanAccessEvent ¶ added in v0.4.11
func (q *Queries) InsertNonHumanAccessEvent(ctx context.Context, arg InsertNonHumanAccessEventParams) error
func (*Queries) InsertRuleEvaluation ¶
func (q *Queries) InsertRuleEvaluation(ctx context.Context, arg InsertRuleEvaluationParams) (RuleEvaluation, error)
func (*Queries) InsertSaaSAppReviewDecision ¶ added in v0.4.11
func (q *Queries) InsertSaaSAppReviewDecision(ctx context.Context, arg InsertSaaSAppReviewDecisionParams) error
func (*Queries) ListActiveAuthAdminsForUpdate ¶ added in v0.2.1
func (*Queries) ListActiveRulesByRulesetID ¶
func (*Queries) ListActiveRulesWithCurrentResultsByRulesetKey ¶
func (q *Queries) ListActiveRulesWithCurrentResultsByRulesetKey(ctx context.Context, arg ListActiveRulesWithCurrentResultsByRulesetKeyParams) ([]ListActiveRulesWithCurrentResultsByRulesetKeyRow, error)
func (*Queries) ListAppAssetDiscoveryEventsBySourceAppID ¶ added in v0.4.10
func (q *Queries) ListAppAssetDiscoveryEventsBySourceAppID(ctx context.Context, arg ListAppAssetDiscoveryEventsBySourceAppIDParams) ([]SaasAppEvent, error)
func (*Queries) ListAppAssetDiscoverySourcesBySourceAppID ¶ added in v0.4.10
func (q *Queries) ListAppAssetDiscoverySourcesBySourceAppID(ctx context.Context, arg ListAppAssetDiscoverySourcesBySourceAppIDParams) ([]ListAppAssetDiscoverySourcesBySourceAppIDRow, error)
func (*Queries) ListAppAssetGovernancePageBySourceAndQueryAndState ¶ added in v0.4.10
func (q *Queries) ListAppAssetGovernancePageBySourceAndQueryAndState(ctx context.Context, arg ListAppAssetGovernancePageBySourceAndQueryAndStateParams) ([]ListAppAssetGovernancePageBySourceAndQueryAndStateRow, error)
func (*Queries) ListAppAssetOwnersByAssetID ¶ added in v0.3.0
func (*Queries) ListAppAssetOwnersByAssetIDs ¶ added in v0.3.0
func (*Queries) ListAppAssetsPageBySourceAndQueryAndKind ¶ added in v0.3.0
func (*Queries) ListAppAssetsPageBySourcesAndQueryAndKind ¶ added in v0.4.9
func (*Queries) ListAuthUsers ¶ added in v0.2.1
func (*Queries) ListAuthoritativeSources ¶ added in v0.3.0
func (q *Queries) ListAuthoritativeSources(ctx context.Context) ([]IdentitySourceSetting, error)
func (*Queries) ListConnectorConfigs ¶
func (q *Queries) ListConnectorConfigs(ctx context.Context) ([]ConnectorConfig, error)
func (*Queries) ListConnectorConfigsForUpdate ¶ added in v0.4.10
func (q *Queries) ListConnectorConfigsForUpdate(ctx context.Context) ([]ConnectorConfig, error)
func (*Queries) ListConnectorSecrets ¶ added in v0.4.10
func (q *Queries) ListConnectorSecrets(ctx context.Context) ([]ConnectorSecret, error)
func (*Queries) ListConnectorSecretsByKind ¶ added in v0.4.10
func (*Queries) ListCredentialArtifactCountsByAssetRef ¶ added in v0.3.0
func (q *Queries) ListCredentialArtifactCountsByAssetRef(ctx context.Context, arg ListCredentialArtifactCountsByAssetRefParams) ([]ListCredentialArtifactCountsByAssetRefRow, error)
func (*Queries) ListCredentialArtifactsForAssetRef ¶ added in v0.3.0
func (q *Queries) ListCredentialArtifactsForAssetRef(ctx context.Context, arg ListCredentialArtifactsForAssetRefParams) ([]ListCredentialArtifactsForAssetRefRow, error)
func (*Queries) ListCredentialArtifactsPageBySourceAndQueryAndFilters ¶ added in v0.3.0
func (q *Queries) ListCredentialArtifactsPageBySourceAndQueryAndFilters(ctx context.Context, arg ListCredentialArtifactsPageBySourceAndQueryAndFiltersParams) ([]ListCredentialArtifactsPageBySourceAndQueryAndFiltersRow, error)
func (*Queries) ListCredentialArtifactsPageBySourcesAndQueryAndFilters ¶ added in v0.4.9
func (q *Queries) ListCredentialArtifactsPageBySourcesAndQueryAndFilters(ctx context.Context, arg ListCredentialArtifactsPageBySourcesAndQueryAndFiltersParams) ([]ListCredentialArtifactsPageBySourcesAndQueryAndFiltersRow, error)
func (*Queries) ListCredentialAuditEventsForCredential ¶ added in v0.3.0
func (q *Queries) ListCredentialAuditEventsForCredential(ctx context.Context, arg ListCredentialAuditEventsForCredentialParams) ([]CredentialAuditEvent, error)
func (*Queries) ListCredentialAuditEventsForTarget ¶ added in v0.3.0
func (q *Queries) ListCredentialAuditEventsForTarget(ctx context.Context, arg ListCredentialAuditEventsForTargetParams) ([]CredentialAuditEvent, error)
func (*Queries) ListDashboardPrivilegedAccessBuckets ¶ added in v0.5.0
func (q *Queries) ListDashboardPrivilegedAccessBuckets(ctx context.Context, arg ListDashboardPrivilegedAccessBucketsParams) ([]ListDashboardPrivilegedAccessBucketsRow, error)
func (*Queries) ListDashboardSourceAccountSummaries ¶ added in v0.5.0
func (q *Queries) ListDashboardSourceAccountSummaries(ctx context.Context, arg ListDashboardSourceAccountSummariesParams) ([]ListDashboardSourceAccountSummariesRow, error)
func (*Queries) ListDistinctOktaAppStatuses ¶ added in v0.4.11
func (*Queries) ListEntitlementAccessBySourceAndResourceRef ¶
func (q *Queries) ListEntitlementAccessBySourceAndResourceRef(ctx context.Context, arg ListEntitlementAccessBySourceAndResourceRefParams) ([]ListEntitlementAccessBySourceAndResourceRefRow, error)
func (*Queries) ListEntitlementsForAccount ¶ added in v0.4.9
func (*Queries) ListEntitlementsForAccountIDs ¶ added in v0.4.9
func (*Queries) ListEntraDiscoveryAppIDsWithManagedAssetsBySource ¶ added in v0.4.0
func (*Queries) ListGitHubUsersPageBySourceAndQuery ¶ added in v0.4.9
func (q *Queries) ListGitHubUsersPageBySourceAndQuery(ctx context.Context, arg ListGitHubUsersPageBySourceAndQueryParams) ([]ListGitHubUsersPageBySourceAndQueryRow, error)
func (*Queries) ListGoogleWorkspaceGroupMemberCountsByGroupExternalIDs ¶ added in v0.4.7
func (*Queries) ListGoogleWorkspaceGroupsPageBySourceAndQuery ¶ added in v0.4.7
func (*Queries) ListIdentitiesInventoryPageByFilters ¶ added in v0.4.7
func (q *Queries) ListIdentitiesInventoryPageByFilters(ctx context.Context, arg ListIdentitiesInventoryPageByFiltersParams) ([]ListIdentitiesInventoryPageByFiltersRow, error)
func (*Queries) ListIdentityAccountAttributes ¶ added in v0.3.0
func (q *Queries) ListIdentityAccountAttributes(ctx context.Context) ([]ListIdentityAccountAttributesRow, error)
func (*Queries) ListIdentitySourceSettings ¶ added in v0.3.0
func (q *Queries) ListIdentitySourceSettings(ctx context.Context) ([]IdentitySourceSetting, error)
func (*Queries) ListIdentitySourceSummaries ¶ added in v0.5.0
func (*Queries) ListLatestSuccessfulSyncRunsBySource ¶ added in v0.4.11
func (q *Queries) ListLatestSuccessfulSyncRunsBySource(ctx context.Context) ([]ListLatestSuccessfulSyncRunsBySourceRow, error)
func (*Queries) ListLinkedAccountsForIdentity ¶ added in v0.3.0
func (*Queries) ListMappedOktaDiscoveryAppsBySource ¶ added in v0.4.0
func (*Queries) ListNonHumanPrincipalAssetsByRef ¶ added in v0.4.11
func (*Queries) ListNonHumanPrincipalCredentialsByRef ¶ added in v0.4.11
func (*Queries) ListNonHumanPrincipalsPageByFilters ¶ added in v0.4.11
func (q *Queries) ListNonHumanPrincipalsPageByFilters(ctx context.Context, arg ListNonHumanPrincipalsPageByFiltersParams) ([]ListNonHumanPrincipalsPageByFiltersRow, error)
func (*Queries) ListNormalizedEntitlementAssignmentsV1 ¶ added in v0.3.0
func (q *Queries) ListNormalizedEntitlementAssignmentsV1(ctx context.Context) ([]ListNormalizedEntitlementAssignmentsV1Row, error)
func (*Queries) ListNormalizedEntitlementAssignmentsV2 ¶ added in v0.3.0
func (q *Queries) ListNormalizedEntitlementAssignmentsV2(ctx context.Context) ([]ListNormalizedEntitlementAssignmentsV2Row, error)
func (*Queries) ListNormalizedIdentitiesV1 ¶ added in v0.3.0
func (q *Queries) ListNormalizedIdentitiesV1(ctx context.Context) ([]ListNormalizedIdentitiesV1Row, error)
func (*Queries) ListNormalizedIdentitiesV2 ¶ added in v0.3.0
func (q *Queries) ListNormalizedIdentitiesV2(ctx context.Context) ([]ListNormalizedIdentitiesV2Row, error)
func (*Queries) ListOktaAccountsForCommand ¶ added in v0.4.9
func (q *Queries) ListOktaAccountsForCommand(ctx context.Context) ([]ListOktaAccountsForCommandRow, error)
func (*Queries) ListOktaAccountsPageByQueryAndState ¶ added in v0.4.9
func (*Queries) ListOktaAppAssignedAccountsPageByQuery ¶ added in v0.4.9
func (q *Queries) ListOktaAppAssignedAccountsPageByQuery(ctx context.Context, arg ListOktaAppAssignedAccountsPageByQueryParams) ([]ListOktaAppAssignedAccountsPageByQueryRow, error)
func (*Queries) ListOktaAppAssignmentsForOktaAccount ¶ added in v0.4.9
func (*Queries) ListOktaAppGrantingGroupsForOktaAccountByOktaAppExternalID ¶ added in v0.4.9
func (q *Queries) ListOktaAppGrantingGroupsForOktaAccountByOktaAppExternalID(ctx context.Context, arg ListOktaAppGrantingGroupsForOktaAccountByOktaAppExternalIDParams) ([]ListOktaAppGrantingGroupsForOktaAccountByOktaAppExternalIDRow, error)
func (*Queries) ListOktaAppGrantingGroupsForOktaAccounts ¶ added in v0.4.9
func (q *Queries) ListOktaAppGrantingGroupsForOktaAccounts(ctx context.Context, arg ListOktaAppGrantingGroupsForOktaAccountsParams) ([]ListOktaAppGrantingGroupsForOktaAccountsRow, error)
func (*Queries) ListOktaAppGroupAssignmentsByAppIDs ¶
func (*Queries) ListOktaAppsForCommand ¶
func (q *Queries) ListOktaAppsForCommand(ctx context.Context) ([]ListOktaAppsForCommandRow, error)
func (*Queries) ListOktaAppsPage ¶
func (q *Queries) ListOktaAppsPage(ctx context.Context, arg ListOktaAppsPageParams) ([]ListOktaAppsPageRow, error)
func (*Queries) ListOktaAppsPageByQuery ¶
func (q *Queries) ListOktaAppsPageByQuery(ctx context.Context, arg ListOktaAppsPageByQueryParams) ([]ListOktaAppsPageByQueryRow, error)
func (*Queries) ListOktaAppsPageFiltered ¶ added in v0.4.11
func (q *Queries) ListOktaAppsPageFiltered(ctx context.Context, arg ListOktaAppsPageFilteredParams) ([]ListOktaAppsPageFilteredRow, error)
func (*Queries) ListOktaGroupsForOktaAccount ¶ added in v0.4.9
func (*Queries) ListRecentFinishedSyncRunsBySource ¶ added in v0.2.0
func (q *Queries) ListRecentFinishedSyncRunsBySource(ctx context.Context, arg ListRecentFinishedSyncRunsBySourceParams) ([]ListRecentFinishedSyncRunsBySourceRow, error)
func (*Queries) ListRecentFinishedSyncRunsForSources ¶ added in v0.2.0
func (q *Queries) ListRecentFinishedSyncRunsForSources(ctx context.Context, arg ListRecentFinishedSyncRunsForSourcesParams) ([]ListRecentFinishedSyncRunsForSourcesRow, error)
func (*Queries) ListRecentNonSuccessSyncRunsBySource ¶ added in v0.4.2
func (q *Queries) ListRecentNonSuccessSyncRunsBySource(ctx context.Context, arg ListRecentNonSuccessSyncRunsBySourceParams) ([]ListRecentNonSuccessSyncRunsBySourceRow, error)
func (*Queries) ListRulesets ¶
func (*Queries) ListSaaSAppEventsBySaaSAppID ¶ added in v0.4.0
func (q *Queries) ListSaaSAppEventsBySaaSAppID(ctx context.Context, arg ListSaaSAppEventsBySaaSAppIDParams) ([]SaasAppEvent, error)
func (*Queries) ListSaaSAppHotspots ¶ added in v0.4.0
func (q *Queries) ListSaaSAppHotspots(ctx context.Context, arg ListSaaSAppHotspotsParams) ([]ListSaaSAppHotspotsRow, error)
func (*Queries) ListSaaSAppIDsFromSourcesSeenInRunBySource ¶ added in v0.4.0
func (*Queries) ListSaaSAppReviewDecisionsBySaaSAppID ¶ added in v0.4.11
func (q *Queries) ListSaaSAppReviewDecisionsBySaaSAppID(ctx context.Context, arg ListSaaSAppReviewDecisionsBySaaSAppIDParams) ([]ListSaaSAppReviewDecisionsBySaaSAppIDRow, error)
func (*Queries) ListSaaSAppSourcesBySaaSAppID ¶ added in v0.4.0
func (*Queries) ListSaaSAppsPageByFilters ¶ added in v0.4.0
func (q *Queries) ListSaaSAppsPageByFilters(ctx context.Context, arg ListSaaSAppsPageByFiltersParams) ([]ListSaaSAppsPageByFiltersRow, error)
func (*Queries) ListSourceAccountsPageBySourceAndQuery ¶ added in v0.4.9
func (q *Queries) ListSourceAccountsPageBySourceAndQuery(ctx context.Context, arg ListSourceAccountsPageBySourceAndQueryParams) ([]ListSourceAccountsPageBySourceAndQueryRow, error)
func (*Queries) ListSourceAccountsPageBySourceAndQueryAndState ¶ added in v0.4.9
func (*Queries) ListSourceAccountsPageBySourceAndQueryWithEntitlementCounts ¶ added in v0.4.9
func (q *Queries) ListSourceAccountsPageBySourceAndQueryWithEntitlementCounts(ctx context.Context, arg ListSourceAccountsPageBySourceAndQueryWithEntitlementCountsParams) ([]ListSourceAccountsPageBySourceAndQueryWithEntitlementCountsRow, error)
func (*Queries) ListTopActorsForSaaSAppByID ¶ added in v0.4.0
func (q *Queries) ListTopActorsForSaaSAppByID(ctx context.Context, arg ListTopActorsForSaaSAppByIDParams) ([]ListTopActorsForSaaSAppByIDRow, error)
func (*Queries) ListUnlinkedAccountsPage ¶ added in v0.3.0
func (*Queries) ListUnlinkedSourceAccountsPageBySourceAndQuery ¶ added in v0.4.9
func (*Queries) MarkSyncJobRunning ¶ added in v0.4.8
func (*Queries) MarkSyncRunSuccess ¶
func (q *Queries) MarkSyncRunSuccess(ctx context.Context, arg MarkSyncRunSuccessParams) error
func (*Queries) PromoteAppAssetOwnersSeenInRunBySource ¶ added in v0.3.0
func (*Queries) PromoteAppAssetsSeenInRunBySource ¶ added in v0.3.0
func (*Queries) PromoteCredentialArtifactsSeenInRunBySource ¶ added in v0.3.0
func (*Queries) PromoteEntitlementsSeenInRunBySource ¶
func (*Queries) PromoteOktaAccountsSeenInRun ¶ added in v0.4.9
func (*Queries) PromoteOktaAppAssignmentsSeenInRun ¶ added in v0.4.9
func (*Queries) PromoteOktaAppGroupAssignmentsSeenInRun ¶
func (*Queries) PromoteOktaAppsSeenInRun ¶
func (*Queries) PromoteOktaGroupMembershipsSeenInRun ¶ added in v0.4.9
func (*Queries) PromoteOktaGroupsSeenInRun ¶
func (*Queries) PromoteSaaSAppEventsSeenInRunBySource ¶ added in v0.4.0
func (*Queries) PromoteSaaSAppSourcesSeenInRunBySource ¶ added in v0.4.0
func (*Queries) PromoteSourceAccountsSeenInRun ¶ added in v0.4.9
func (*Queries) PromoteSyncJobForManualRequest ¶ added in v0.4.8
func (*Queries) ReclaimRunningSyncRunsBySource ¶ added in v0.4.9
func (*Queries) RecomputePrimarySaaSAppBindingsForAll ¶ added in v0.4.0
func (*Queries) RefreshAllAppAssetReadModels ¶ added in v0.4.11
func (*Queries) RefreshAllNonHumanPrincipalReadModels ¶ added in v0.4.11
func (*Queries) RefreshAllNonHumanPrincipalReadModelsSafely ¶ added in v0.4.11
func (*Queries) RefreshAllSaaSAppReadModels ¶ added in v0.4.11
func (*Queries) RefreshAppAssetReadModelsBySource ¶ added in v0.4.11
func (*Queries) RefreshNonHumanPrincipalReadModelsBySource ¶ added in v0.4.11
func (*Queries) RefreshNonHumanPrincipalReadModelsBySourceSafely ¶ added in v0.4.11
func (*Queries) RefreshSaaSAppReadModelsBySource ¶ added in v0.4.11
func (*Queries) ReleaseAdvisoryLock ¶
func (*Queries) ReleaseSyncLockLease ¶ added in v0.2.2
func (q *Queries) ReleaseSyncLockLease(ctx context.Context, arg ReleaseSyncLockLeaseParams) error
func (*Queries) RenewSyncJobLease ¶ added in v0.4.8
func (q *Queries) RenewSyncJobLease(ctx context.Context, arg RenewSyncJobLeaseParams) (pgtype.Timestamptz, error)
func (*Queries) RenewSyncLockLease ¶ added in v0.2.2
func (q *Queries) RenewSyncLockLease(ctx context.Context, arg RenewSyncLockLeaseParams) (pgtype.Timestamptz, error)
func (*Queries) RequeueStaleSyncJobsByLane ¶ added in v0.4.8
func (*Queries) SearchAppAssetsForCommand ¶ added in v0.4.9
func (q *Queries) SearchAppAssetsForCommand(ctx context.Context, arg SearchAppAssetsForCommandParams) ([]SearchAppAssetsForCommandRow, error)
func (*Queries) SearchDiscoveryAppsForCommand ¶ added in v0.4.9
func (q *Queries) SearchDiscoveryAppsForCommand(ctx context.Context, arg SearchDiscoveryAppsForCommandParams) ([]SearchDiscoveryAppsForCommandRow, error)
func (*Queries) SearchIdentitiesForCommand ¶ added in v0.4.9
func (q *Queries) SearchIdentitiesForCommand(ctx context.Context, arg SearchIdentitiesForCommandParams) ([]SearchIdentitiesForCommandRow, error)
func (*Queries) SearchManagedReplacementSaaSApps ¶ added in v0.4.11
func (q *Queries) SearchManagedReplacementSaaSApps(ctx context.Context, arg SearchManagedReplacementSaaSAppsParams) ([]SearchManagedReplacementSaaSAppsRow, error)
func (*Queries) SearchOktaAppsForCommand ¶ added in v0.4.9
func (q *Queries) SearchOktaAppsForCommand(ctx context.Context, arg SearchOktaAppsForCommandParams) ([]SearchOktaAppsForCommandRow, error)
func (*Queries) StoredReadModelsNeedRebuild ¶ added in v0.4.11
func (*Queries) SummarizeIdentitiesInventoryByFilters ¶ added in v0.4.12
func (q *Queries) SummarizeIdentitiesInventoryByFilters(ctx context.Context, arg SummarizeIdentitiesInventoryByFiltersParams) (SummarizeIdentitiesInventoryByFiltersRow, error)
Returns bucketed counts for the identity inventory, scoped to the user-applied source, search, and identity_type filters but ignoring segment-like filters (managed_state, privileged, status, activity_state). The result is used to drive the operator stat strip and segment chips on the identities list: it tells the user the shape of the population they are currently looking at, independent of any segment they have already applied. Buckets are counts, not exclusive categories (an identity can be both privileged and unmanaged).
func (*Queries) TryAcquireAdvisoryLock ¶ added in v0.2.0
func (*Queries) TryAcquireSyncLockLease ¶ added in v0.2.2
func (q *Queries) TryAcquireSyncLockLease(ctx context.Context, arg TryAcquireSyncLockLeaseParams) (SyncLock, error)
Lease-based sync locks (no session-pinned connections).
func (*Queries) UpdateAuthUserLoginMeta ¶ added in v0.2.0
func (q *Queries) UpdateAuthUserLoginMeta(ctx context.Context, arg UpdateAuthUserLoginMetaParams) error
func (*Queries) UpdateAuthUserPasswordHash ¶ added in v0.2.1
func (q *Queries) UpdateAuthUserPasswordHash(ctx context.Context, arg UpdateAuthUserPasswordHashParams) error
func (*Queries) UpdateAuthUserRole ¶ added in v0.2.1
func (q *Queries) UpdateAuthUserRole(ctx context.Context, arg UpdateAuthUserRoleParams) error
func (*Queries) UpdateConnectorConfig ¶
func (q *Queries) UpdateConnectorConfig(ctx context.Context, arg UpdateConnectorConfigParams) (ConnectorConfig, error)
func (*Queries) UpdateConnectorConfigEnabled ¶
func (q *Queries) UpdateConnectorConfigEnabled(ctx context.Context, arg UpdateConnectorConfigEnabledParams) (ConnectorConfig, error)
func (*Queries) UpdateIdentityAttributes ¶ added in v0.3.0
func (q *Queries) UpdateIdentityAttributes(ctx context.Context, arg UpdateIdentityAttributesParams) error
func (*Queries) UpsertAppAssetGovernance ¶ added in v0.4.10
func (q *Queries) UpsertAppAssetGovernance(ctx context.Context, arg UpsertAppAssetGovernanceParams) (GovernanceSubjectOverride, error)
func (*Queries) UpsertAppAssetOwnersBulkBySource ¶ added in v0.3.0
func (*Queries) UpsertAppAssetsBulkBySource ¶ added in v0.3.0
func (*Queries) UpsertConnectorSecret ¶ added in v0.4.10
func (q *Queries) UpsertConnectorSecret(ctx context.Context, arg UpsertConnectorSecretParams) (ConnectorSecret, error)
func (*Queries) UpsertConnectorSourceState ¶ added in v0.4.11
func (q *Queries) UpsertConnectorSourceState(ctx context.Context, arg UpsertConnectorSourceStateParams) error
func (*Queries) UpsertCredentialArtifactsBulkBySource ¶ added in v0.3.0
func (*Queries) UpsertCredentialAuditEventsBulkBySource ¶ added in v0.3.0
func (*Queries) UpsertEntitlementsBulkBySource ¶
func (*Queries) UpsertIdentityAccountLink ¶ added in v0.3.0
func (q *Queries) UpsertIdentityAccountLink(ctx context.Context, arg UpsertIdentityAccountLinkParams) (IdentityAccount, error)
func (*Queries) UpsertIdentitySourceSetting ¶ added in v0.3.0
func (q *Queries) UpsertIdentitySourceSetting(ctx context.Context, arg UpsertIdentitySourceSettingParams) (IdentitySourceSetting, error)
func (*Queries) UpsertIntegrationOktaAppMap ¶
func (q *Queries) UpsertIntegrationOktaAppMap(ctx context.Context, arg UpsertIntegrationOktaAppMapParams) error
func (*Queries) UpsertOktaAccountsBulk ¶ added in v0.3.0
func (*Queries) UpsertOktaAppAssignmentsBulkByOktaAccountExternalIDs ¶ added in v0.4.9
func (*Queries) UpsertOktaAppGroupAssignmentsBulkByExternalIDs ¶ added in v0.2.0
func (*Queries) UpsertOktaAppsBulk ¶ added in v0.2.0
func (*Queries) UpsertOktaGroupMembershipsBulkByOktaAccountExternalIDs ¶ added in v0.4.9
func (*Queries) UpsertOktaGroupsBulk ¶ added in v0.2.0
func (*Queries) UpsertRule ¶
func (*Queries) UpsertRuleAttestation ¶
func (q *Queries) UpsertRuleAttestation(ctx context.Context, arg UpsertRuleAttestationParams) (RuleAttestation, error)
func (*Queries) UpsertRuleOverride ¶
func (q *Queries) UpsertRuleOverride(ctx context.Context, arg UpsertRuleOverrideParams) (RuleOverride, error)
func (*Queries) UpsertRuleResultCurrent ¶
func (q *Queries) UpsertRuleResultCurrent(ctx context.Context, arg UpsertRuleResultCurrentParams) (RuleResultsCurrent, error)
func (*Queries) UpsertRuleset ¶
func (*Queries) UpsertRulesetOverride ¶
func (q *Queries) UpsertRulesetOverride(ctx context.Context, arg UpsertRulesetOverrideParams) (RulesetOverride, error)
func (*Queries) UpsertSaaSAppBinding ¶ added in v0.4.0
func (q *Queries) UpsertSaaSAppBinding(ctx context.Context, arg UpsertSaaSAppBindingParams) error
func (*Queries) UpsertSaaSAppEventsBulkBySource ¶ added in v0.4.0
func (*Queries) UpsertSaaSAppReviewGovernance ¶ added in v0.4.11
func (q *Queries) UpsertSaaSAppReviewGovernance(ctx context.Context, arg UpsertSaaSAppReviewGovernanceParams) (GovernanceSubjectOverride, error)
func (*Queries) UpsertSaaSAppSourcesBulkBySource ¶ added in v0.4.0
func (*Queries) UpsertSaaSAppsBulk ¶ added in v0.4.0
func (*Queries) UpsertSourceAccountsBulkBySource ¶ added in v0.4.9
type ReclaimRunningSyncRunsBySourceParams ¶ added in v0.4.9
type RefreshAppAssetReadModelsBySourceParams ¶ added in v0.4.11
type RefreshNonHumanPrincipalReadModelsBySourceParams ¶ added in v0.4.11
type RefreshSaaSAppReadModelsBySourceParams ¶ added in v0.4.11
type ReleaseSyncLockLeaseParams ¶ added in v0.2.2
type RenewSyncJobLeaseParams ¶ added in v0.4.8
type RenewSyncLockLeaseParams ¶ added in v0.2.2
type Rule ¶
type Rule struct {
ID int64 `json:"id"`
RulesetID int64 `json:"ruleset_id"`
Key string `json:"key"`
Title string `json:"title"`
Summary string `json:"summary"`
Category string `json:"category"`
Severity string `json:"severity"`
MonitoringStatus string `json:"monitoring_status"`
MonitoringReason string `json:"monitoring_reason"`
RequiredData []byte `json:"required_data"`
ExpectedParams []byte `json:"expected_params"`
RuleVersion string `json:"rule_version"`
IsActive bool `json:"is_active"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
UpdatedAt pgtype.Timestamptz `json:"updated_at"`
DefinitionJson []byte `json:"definition_json"`
}
type RuleAttestation ¶
type RuleAttestation struct {
ID int64 `json:"id"`
RuleID int64 `json:"rule_id"`
ScopeKind string `json:"scope_kind"`
SourceKind string `json:"source_kind"`
SourceName string `json:"source_name"`
Status string `json:"status"`
Notes string `json:"notes"`
ExpiresAt pgtype.Timestamptz `json:"expires_at"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
UpdatedAt pgtype.Timestamptz `json:"updated_at"`
}
type RuleEvaluation ¶
type RuleEvaluation struct {
ID int64 `json:"id"`
RuleID int64 `json:"rule_id"`
ScopeKind string `json:"scope_kind"`
SourceKind string `json:"source_kind"`
SourceName string `json:"source_name"`
Status string `json:"status"`
SyncRunID pgtype.Int8 `json:"sync_run_id"`
EvaluatedAt pgtype.Timestamptz `json:"evaluated_at"`
EvidenceSummary string `json:"evidence_summary"`
EvidenceJson []byte `json:"evidence_json"`
AffectedResourceIds []string `json:"affected_resource_ids"`
ErrorKind string `json:"error_kind"`
}
type RuleOverride ¶
type RuleOverride struct {
ID int64 `json:"id"`
RuleID int64 `json:"rule_id"`
ScopeKind string `json:"scope_kind"`
SourceKind string `json:"source_kind"`
SourceName string `json:"source_name"`
Params []byte `json:"params"`
Enabled bool `json:"enabled"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
UpdatedAt pgtype.Timestamptz `json:"updated_at"`
}
type RuleResultsCurrent ¶
type RuleResultsCurrent struct {
ID int64 `json:"id"`
RuleID int64 `json:"rule_id"`
ScopeKind string `json:"scope_kind"`
SourceKind string `json:"source_kind"`
SourceName string `json:"source_name"`
Status string `json:"status"`
EvaluatedAt pgtype.Timestamptz `json:"evaluated_at"`
SyncRunID pgtype.Int8 `json:"sync_run_id"`
EvidenceSummary string `json:"evidence_summary"`
EvidenceJson []byte `json:"evidence_json"`
AffectedResourceIds []string `json:"affected_resource_ids"`
ErrorKind string `json:"error_kind"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
UpdatedAt pgtype.Timestamptz `json:"updated_at"`
}
type Ruleset ¶
type Ruleset struct {
ID int64 `json:"id"`
Key string `json:"key"`
Name string `json:"name"`
Description string `json:"description"`
Source string `json:"source"`
SourceVersion string `json:"source_version"`
SourceDate pgtype.Date `json:"source_date"`
ScopeKind string `json:"scope_kind"`
ConnectorKind pgtype.Text `json:"connector_kind"`
Status string `json:"status"`
DefinitionHash string `json:"definition_hash"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
UpdatedAt pgtype.Timestamptz `json:"updated_at"`
DefinitionJson []byte `json:"definition_json"`
}
type RulesetOverride ¶
type RulesetOverride struct {
ID int64 `json:"id"`
RulesetID int64 `json:"ruleset_id"`
ScopeKind string `json:"scope_kind"`
SourceKind string `json:"source_kind"`
SourceName string `json:"source_name"`
Enabled bool `json:"enabled"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
UpdatedAt pgtype.Timestamptz `json:"updated_at"`
}
type SaasApp ¶ added in v0.4.0
type SaasApp struct {
ID int64 `json:"id"`
CanonicalKey string `json:"canonical_key"`
DisplayName string `json:"display_name"`
PrimaryDomain string `json:"primary_domain"`
VendorName string `json:"vendor_name"`
FirstSeenAt pgtype.Timestamptz `json:"first_seen_at"`
LastSeenAt pgtype.Timestamptz `json:"last_seen_at"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
UpdatedAt pgtype.Timestamptz `json:"updated_at"`
Actors30d int64 `json:"actors_30d"`
HasPrivilegedScope bool `json:"has_privileged_scope"`
HasConfidentialScope bool `json:"has_confidential_scope"`
ProjectionRefreshedAt pgtype.Timestamptz `json:"projection_refreshed_at"`
}
type SaasAppBinding ¶ added in v0.4.0
type SaasAppBinding struct {
ID int64 `json:"id"`
SaasAppID int64 `json:"saas_app_id"`
ConnectorKind string `json:"connector_kind"`
ConnectorSourceName string `json:"connector_source_name"`
BindingSource string `json:"binding_source"`
Confidence float32 `json:"confidence"`
IsPrimary bool `json:"is_primary"`
CreatedByAuthUserID pgtype.Int8 `json:"created_by_auth_user_id"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
UpdatedAt pgtype.Timestamptz `json:"updated_at"`
}
type SaasAppEvent ¶ added in v0.4.0
type SaasAppEvent struct {
ID int64 `json:"id"`
SaasAppID int64 `json:"saas_app_id"`
SourceKind string `json:"source_kind"`
SourceName string `json:"source_name"`
SignalKind string `json:"signal_kind"`
EventExternalID string `json:"event_external_id"`
SourceAppID string `json:"source_app_id"`
SourceAppName string `json:"source_app_name"`
SourceAppDomain string `json:"source_app_domain"`
ActorExternalID string `json:"actor_external_id"`
ActorEmail string `json:"actor_email"`
ActorDisplayName string `json:"actor_display_name"`
ObservedAt pgtype.Timestamptz `json:"observed_at"`
ScopesJson []byte `json:"scopes_json"`
RawJson []byte `json:"raw_json"`
SeenInRunID pgtype.Int8 `json:"seen_in_run_id"`
SeenAt pgtype.Timestamptz `json:"seen_at"`
LastObservedRunID pgtype.Int8 `json:"last_observed_run_id"`
LastObservedAt pgtype.Timestamptz `json:"last_observed_at"`
ExpiredAt pgtype.Timestamptz `json:"expired_at"`
ExpiredRunID pgtype.Int8 `json:"expired_run_id"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
UpdatedAt pgtype.Timestamptz `json:"updated_at"`
}
type SaasAppReviewDecision ¶ added in v0.4.11
type SaasAppReviewDecision struct {
ID int64 `json:"id"`
SaasAppID int64 `json:"saas_app_id"`
OwnerIdentityID pgtype.Int8 `json:"owner_identity_id"`
ReviewOwnerIdentityID pgtype.Int8 `json:"review_owner_identity_id"`
ReviewDisposition string `json:"review_disposition"`
TicketRef string `json:"ticket_ref"`
Notes string `json:"notes"`
FollowUpDueDate pgtype.Date `json:"follow_up_due_date"`
ReplacementSaasAppID pgtype.Int8 `json:"replacement_saas_app_id"`
ChangedByAuthUserID pgtype.Int8 `json:"changed_by_auth_user_id"`
ChangedAt pgtype.Timestamptz `json:"changed_at"`
}
type SaasAppSource ¶ added in v0.4.0
type SaasAppSource struct {
ID int64 `json:"id"`
SaasAppID int64 `json:"saas_app_id"`
SourceKind string `json:"source_kind"`
SourceName string `json:"source_name"`
SourceAppID string `json:"source_app_id"`
SourceAppName string `json:"source_app_name"`
SourceAppDomain string `json:"source_app_domain"`
SeenInRunID pgtype.Int8 `json:"seen_in_run_id"`
SeenAt pgtype.Timestamptz `json:"seen_at"`
LastObservedRunID pgtype.Int8 `json:"last_observed_run_id"`
LastObservedAt pgtype.Timestamptz `json:"last_observed_at"`
ExpiredAt pgtype.Timestamptz `json:"expired_at"`
ExpiredRunID pgtype.Int8 `json:"expired_run_id"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
UpdatedAt pgtype.Timestamptz `json:"updated_at"`
}
type SearchAppAssetsForCommandParams ¶ added in v0.4.9
type SearchAppAssetsForCommandParams struct {
Query string `json:"query"`
ExcludeGoogleWorkspaceOauthClient bool `json:"exclude_google_workspace_oauth_client"`
LimitRows int32 `json:"limit_rows"`
ConfiguredSourceKinds []string `json:"configured_source_kinds"`
ConfiguredSourceNames []string `json:"configured_source_names"`
}
type SearchAppAssetsForCommandRow ¶ added in v0.4.9
type SearchDiscoveryAppsForCommandParams ¶ added in v0.4.9
type SearchDiscoveryAppsForCommandRow ¶ added in v0.4.9
type SearchDiscoveryAppsForCommandRow struct {
ID int64 `json:"id"`
DisplayName string `json:"display_name"`
PrimaryDomain string `json:"primary_domain"`
VendorName string `json:"vendor_name"`
ManagedState string `json:"managed_state"`
RiskLevel string `json:"risk_level"`
RiskScore int32 `json:"risk_score"`
LastSeenAt pgtype.Timestamptz `json:"last_seen_at"`
}
type SearchIdentitiesForCommandParams ¶ added in v0.4.9
type SearchIdentitiesForCommandRow ¶ added in v0.4.9
type SearchIdentitiesForCommandRow struct {
ID int64 `json:"id"`
DisplayName string `json:"display_name"`
PrimaryEmail string `json:"primary_email"`
IdentityType string `json:"identity_type"`
SourceKind string `json:"source_kind"`
SourceName string `json:"source_name"`
Status string `json:"status"`
}
type SearchManagedReplacementSaaSAppsParams ¶ added in v0.4.11
type SearchManagedReplacementSaaSAppsRow ¶ added in v0.4.11
type SearchOktaAppsForCommandParams ¶ added in v0.4.9
type SearchOktaAppsForCommandRow ¶ added in v0.4.9
type Session ¶ added in v0.2.0
type Session struct {
Token string `json:"token"`
Data []byte `json:"data"`
Expiry pgtype.Timestamptz `json:"expiry"`
}
type SummarizeIdentitiesInventoryByFiltersParams ¶ added in v0.4.12
type SummarizeIdentitiesInventoryByFiltersParams struct {
ConfiguredSourceKinds []string `json:"configured_source_kinds"`
ConfiguredSourceNames []string `json:"configured_source_names"`
SourceKind string `json:"source_kind"`
SourceName string `json:"source_name"`
Query string `json:"query"`
IdentityType string `json:"identity_type"`
}
type SummarizeIdentitiesInventoryByFiltersRow ¶ added in v0.4.12
type SummarizeIdentitiesInventoryByFiltersRow struct {
TotalCount int64 `json:"total_count"`
ActionRequiredCount int64 `json:"action_required_count"`
ReviewCount int64 `json:"review_count"`
PrivilegedCount int64 `json:"privileged_count"`
UnmanagedCount int64 `json:"unmanaged_count"`
SuspendedCount int64 `json:"suspended_count"`
StaleCount int64 `json:"stale_count"`
}
type SyncJob ¶ added in v0.4.8
type SyncJob struct {
ID pgtype.UUID `json:"id"`
Lane string `json:"lane"`
ConnectorKind pgtype.Text `json:"connector_kind"`
SourceName pgtype.Text `json:"source_name"`
TriggerKind string `json:"trigger_kind"`
Status string `json:"status"`
AttemptCount int32 `json:"attempt_count"`
ClaimedBy pgtype.Text `json:"claimed_by"`
ClaimedAt pgtype.Timestamptz `json:"claimed_at"`
HeartbeatAt pgtype.Timestamptz `json:"heartbeat_at"`
LeaseExpiresAt pgtype.Timestamptz `json:"lease_expires_at"`
StartedAt pgtype.Timestamptz `json:"started_at"`
FinishedAt pgtype.Timestamptz `json:"finished_at"`
LastError pgtype.Text `json:"last_error"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
UpdatedAt pgtype.Timestamptz `json:"updated_at"`
AvailableAt pgtype.Timestamptz `json:"available_at"`
RerunRequested bool `json:"rerun_requested"`
}
type SyncLock ¶ added in v0.2.2
type SyncLock struct {
ScopeKind string `json:"scope_kind"`
ScopeName string `json:"scope_name"`
HolderInstanceID string `json:"holder_instance_id"`
HolderToken pgtype.UUID `json:"holder_token"`
AcquiredAt pgtype.Timestamptz `json:"acquired_at"`
LeaseExpiresAt pgtype.Timestamptz `json:"lease_expires_at"`
HeartbeatAt pgtype.Timestamptz `json:"heartbeat_at"`
}
type SyncRun ¶
type SyncRun struct {
ID int64 `json:"id"`
SourceKind string `json:"source_kind"`
SourceName string `json:"source_name"`
Status string `json:"status"`
StartedAt pgtype.Timestamptz `json:"started_at"`
FinishedAt pgtype.Timestamptz `json:"finished_at"`
Message string `json:"message"`
Stats []byte `json:"stats"`
ErrorKind string `json:"error_kind"`
}
type TryAcquireSyncLockLeaseParams ¶ added in v0.2.2
type UpdateAuthUserLoginMetaParams ¶ added in v0.2.0
type UpdateAuthUserLoginMetaParams struct {
LastLoginAt pgtype.Timestamptz `json:"last_login_at"`
LastLoginIp string `json:"last_login_ip"`
ID int64 `json:"id"`
}
type UpdateAuthUserPasswordHashParams ¶ added in v0.2.1
type UpdateAuthUserRoleParams ¶ added in v0.2.1
type UpdateIdentityAttributesParams ¶ added in v0.3.0
type UpsertAppAssetGovernanceParams ¶ added in v0.4.10
type UpsertAppAssetGovernanceParams struct {
AppAssetID int64 `json:"app_asset_id"`
GovernanceState string `json:"governance_state"`
OwnerIdentityID pgtype.Int8 `json:"owner_identity_id"`
TicketRef string `json:"ticket_ref"`
Notes string `json:"notes"`
UpdatedByAuthUserID pgtype.Int8 `json:"updated_by_auth_user_id"`
}
type UpsertAppAssetOwnersBulkBySourceParams ¶ added in v0.3.0
type UpsertAppAssetOwnersBulkBySourceParams struct {
SeenInRunID int64 `json:"seen_in_run_id"`
SourceKind string `json:"source_kind"`
SourceName string `json:"source_name"`
AssetKinds []string `json:"asset_kinds"`
AssetExternalIds []string `json:"asset_external_ids"`
OwnerKinds []string `json:"owner_kinds"`
OwnerExternalIds []string `json:"owner_external_ids"`
OwnerDisplayNames []string `json:"owner_display_names"`
OwnerEmails []string `json:"owner_emails"`
RawJsons [][]byte `json:"raw_jsons"`
}
type UpsertAppAssetsBulkBySourceParams ¶ added in v0.3.0
type UpsertAppAssetsBulkBySourceParams struct {
SourceKind string `json:"source_kind"`
SourceName string `json:"source_name"`
SeenInRunID int64 `json:"seen_in_run_id"`
AssetKinds []string `json:"asset_kinds"`
ExternalIds []string `json:"external_ids"`
ParentExternalIds []string `json:"parent_external_ids"`
DisplayNames []string `json:"display_names"`
Statuses []string `json:"statuses"`
CreatedAtSources []pgtype.Timestamptz `json:"created_at_sources"`
UpdatedAtSources []pgtype.Timestamptz `json:"updated_at_sources"`
RawJsons [][]byte `json:"raw_jsons"`
}
type UpsertConnectorSecretParams ¶ added in v0.4.10
type UpsertConnectorSourceStateParams ¶ added in v0.4.11
type UpsertConnectorSourceStateParams struct {
SourceKind string `json:"source_kind"`
SourceName string `json:"source_name"`
Enabled bool `json:"enabled"`
Configured bool `json:"configured"`
DiscoveryEnabled bool `json:"discovery_enabled"`
LastSuccessAt pgtype.Timestamptz `json:"last_success_at"`
FreshUntilAt pgtype.Timestamptz `json:"fresh_until_at"`
}
type UpsertCredentialArtifactsBulkBySourceParams ¶ added in v0.3.0
type UpsertCredentialArtifactsBulkBySourceParams struct {
SourceKind string `json:"source_kind"`
SourceName string `json:"source_name"`
SeenInRunID int64 `json:"seen_in_run_id"`
AssetRefKinds []string `json:"asset_ref_kinds"`
AssetRefExternalIds []string `json:"asset_ref_external_ids"`
CredentialKinds []string `json:"credential_kinds"`
ExternalIds []string `json:"external_ids"`
DisplayNames []string `json:"display_names"`
Fingerprints []string `json:"fingerprints"`
ScopeJsons [][]byte `json:"scope_jsons"`
Statuses []string `json:"statuses"`
CreatedAtSources []pgtype.Timestamptz `json:"created_at_sources"`
ExpiresAtSources []pgtype.Timestamptz `json:"expires_at_sources"`
LastUsedAtSources []pgtype.Timestamptz `json:"last_used_at_sources"`
CreatedByKinds []string `json:"created_by_kinds"`
CreatedByExternalIds []string `json:"created_by_external_ids"`
CreatedByDisplayNames []string `json:"created_by_display_names"`
ApprovedByKinds []string `json:"approved_by_kinds"`
ApprovedByExternalIds []string `json:"approved_by_external_ids"`
ApprovedByDisplayNames []string `json:"approved_by_display_names"`
RawJsons [][]byte `json:"raw_jsons"`
}
type UpsertCredentialAuditEventsBulkBySourceParams ¶ added in v0.3.0
type UpsertCredentialAuditEventsBulkBySourceParams struct {
SourceKind string `json:"source_kind"`
SourceName string `json:"source_name"`
EventExternalIds []string `json:"event_external_ids"`
EventTypes []string `json:"event_types"`
EventTimes []pgtype.Timestamptz `json:"event_times"`
ActorKinds []string `json:"actor_kinds"`
ActorExternalIds []string `json:"actor_external_ids"`
ActorDisplayNames []string `json:"actor_display_names"`
TargetKinds []string `json:"target_kinds"`
TargetExternalIds []string `json:"target_external_ids"`
TargetDisplayNames []string `json:"target_display_names"`
CredentialKinds []string `json:"credential_kinds"`
CredentialExternalIds []string `json:"credential_external_ids"`
RawJsons [][]byte `json:"raw_jsons"`
}
type UpsertEntitlementsBulkBySourceParams ¶
type UpsertEntitlementsBulkBySourceParams struct {
SeenInRunID int64 `json:"seen_in_run_id"`
SourceKind string `json:"source_kind"`
SourceName string `json:"source_name"`
AccountExternalIds []string `json:"account_external_ids"`
Kinds []string `json:"kinds"`
Resources []string `json:"resources"`
Permissions []string `json:"permissions"`
RawJsons [][]byte `json:"raw_jsons"`
}
type UpsertIdentityAccountLinkParams ¶ added in v0.3.0
type UpsertIdentitySourceSettingParams ¶ added in v0.3.0
type UpsertOktaAccountsBulkParams ¶ added in v0.3.0
type UpsertOktaAccountsBulkParams struct {
SourceName string `json:"source_name"`
SeenInRunID int64 `json:"seen_in_run_id"`
ExternalIds []string `json:"external_ids"`
Emails []string `json:"emails"`
DisplayNames []string `json:"display_names"`
AccountKinds []string `json:"account_kinds"`
EntityCategories []string `json:"entity_categories"`
Statuses []string `json:"statuses"`
RawJsons [][]byte `json:"raw_jsons"`
LastLoginAts []pgtype.Timestamptz `json:"last_login_ats"`
LastLoginIps []string `json:"last_login_ips"`
LastLoginRegions []string `json:"last_login_regions"`
}
type UpsertOktaAppAssignmentsBulkByOktaAccountExternalIDsParams ¶ added in v0.4.9
type UpsertOktaAppAssignmentsBulkByOktaAccountExternalIDsParams struct {
SeenInRunID int64 `json:"seen_in_run_id"`
OktaAccountExternalIds []string `json:"okta_account_external_ids"`
OktaAppExternalIds []string `json:"okta_app_external_ids"`
Scopes []string `json:"scopes"`
ProfileJsons [][]byte `json:"profile_jsons"`
RawJsons [][]byte `json:"raw_jsons"`
}
type UpsertOktaAppGroupAssignmentsBulkByExternalIDsParams ¶ added in v0.2.0
type UpsertOktaAppGroupAssignmentsBulkByExternalIDsParams struct {
SeenInRunID int64 `json:"seen_in_run_id"`
OktaAppExternalIds []string `json:"okta_app_external_ids"`
OktaGroupExternalIds []string `json:"okta_group_external_ids"`
Priorities []int32 `json:"priorities"`
ProfileJsons [][]byte `json:"profile_jsons"`
RawJsons [][]byte `json:"raw_jsons"`
}
type UpsertOktaAppsBulkParams ¶ added in v0.2.0
type UpsertOktaAppsBulkParams struct {
SeenInRunID int64 `json:"seen_in_run_id"`
ExternalIds []string `json:"external_ids"`
Labels []string `json:"labels"`
Names []string `json:"names"`
Statuses []string `json:"statuses"`
SignOnModes []string `json:"sign_on_modes"`
RawJsons [][]byte `json:"raw_jsons"`
}
type UpsertOktaGroupMembershipsBulkByOktaAccountExternalIDsParams ¶ added in v0.4.9
type UpsertOktaGroupsBulkParams ¶ added in v0.2.0
type UpsertRuleParams ¶
type UpsertRuleParams struct {
RulesetID int64 `json:"ruleset_id"`
Key string `json:"key"`
Title string `json:"title"`
Summary string `json:"summary"`
Category string `json:"category"`
Severity string `json:"severity"`
MonitoringStatus string `json:"monitoring_status"`
MonitoringReason string `json:"monitoring_reason"`
RequiredData []byte `json:"required_data"`
ExpectedParams []byte `json:"expected_params"`
RuleVersion string `json:"rule_version"`
IsActive bool `json:"is_active"`
DefinitionJson []byte `json:"definition_json"`
}
type UpsertRuleResultCurrentParams ¶
type UpsertRuleResultCurrentParams struct {
RuleID int64 `json:"rule_id"`
ScopeKind string `json:"scope_kind"`
SourceKind string `json:"source_kind"`
SourceName string `json:"source_name"`
Status string `json:"status"`
EvaluatedAt pgtype.Timestamptz `json:"evaluated_at"`
SyncRunID pgtype.Int8 `json:"sync_run_id"`
EvidenceSummary string `json:"evidence_summary"`
EvidenceJson []byte `json:"evidence_json"`
AffectedResourceIds []string `json:"affected_resource_ids"`
ErrorKind string `json:"error_kind"`
}
type UpsertRulesetParams ¶
type UpsertRulesetParams struct {
Key string `json:"key"`
Name string `json:"name"`
Description string `json:"description"`
Source string `json:"source"`
SourceVersion string `json:"source_version"`
SourceDate pgtype.Date `json:"source_date"`
ScopeKind string `json:"scope_kind"`
ConnectorKind pgtype.Text `json:"connector_kind"`
Status string `json:"status"`
DefinitionHash string `json:"definition_hash"`
DefinitionJson []byte `json:"definition_json"`
}
type UpsertSaaSAppBindingParams ¶ added in v0.4.0
type UpsertSaaSAppBindingParams struct {
SaasAppID int64 `json:"saas_app_id"`
ConnectorKind string `json:"connector_kind"`
ConnectorSourceName string `json:"connector_source_name"`
BindingSource string `json:"binding_source"`
Confidence float32 `json:"confidence"`
IsPrimary bool `json:"is_primary"`
CreatedByAuthUserID pgtype.Int8 `json:"created_by_auth_user_id"`
}
type UpsertSaaSAppEventsBulkBySourceParams ¶ added in v0.4.0
type UpsertSaaSAppEventsBulkBySourceParams struct {
SeenInRunID int64 `json:"seen_in_run_id"`
SourceKind string `json:"source_kind"`
SourceName string `json:"source_name"`
CanonicalKeys []string `json:"canonical_keys"`
SignalKinds []string `json:"signal_kinds"`
EventExternalIds []string `json:"event_external_ids"`
SourceAppIds []string `json:"source_app_ids"`
SourceAppNames []string `json:"source_app_names"`
SourceAppDomains []string `json:"source_app_domains"`
ActorExternalIds []string `json:"actor_external_ids"`
ActorEmails []string `json:"actor_emails"`
ActorDisplayNames []string `json:"actor_display_names"`
ObservedAts []pgtype.Timestamptz `json:"observed_ats"`
ScopesJsons [][]byte `json:"scopes_jsons"`
RawJsons [][]byte `json:"raw_jsons"`
}
type UpsertSaaSAppReviewGovernanceParams ¶ added in v0.4.11
type UpsertSaaSAppReviewGovernanceParams struct {
SaasAppID int64 `json:"saas_app_id"`
ReviewDisposition string `json:"review_disposition"`
OwnerIdentityID pgtype.Int8 `json:"owner_identity_id"`
TicketRef string `json:"ticket_ref"`
Notes string `json:"notes"`
ReviewOwnerIdentityID pgtype.Int8 `json:"review_owner_identity_id"`
FollowUpDueDate pgtype.Date `json:"follow_up_due_date"`
ReplacementSaasAppID pgtype.Int8 `json:"replacement_saas_app_id"`
UpdatedByAuthUserID pgtype.Int8 `json:"updated_by_auth_user_id"`
}
type UpsertSaaSAppSourcesBulkBySourceParams ¶ added in v0.4.0
type UpsertSaaSAppSourcesBulkBySourceParams struct {
SeenInRunID int64 `json:"seen_in_run_id"`
SourceKind string `json:"source_kind"`
SourceName string `json:"source_name"`
CanonicalKeys []string `json:"canonical_keys"`
SourceAppIds []string `json:"source_app_ids"`
SourceAppNames []string `json:"source_app_names"`
SourceAppDomains []string `json:"source_app_domains"`
SeenAts []pgtype.Timestamptz `json:"seen_ats"`
}
type UpsertSaaSAppsBulkParams ¶ added in v0.4.0
type UpsertSaaSAppsBulkParams struct {
CanonicalKeys []string `json:"canonical_keys"`
DisplayNames []string `json:"display_names"`
PrimaryDomains []string `json:"primary_domains"`
VendorNames []string `json:"vendor_names"`
FirstSeenAts []pgtype.Timestamptz `json:"first_seen_ats"`
LastSeenAts []pgtype.Timestamptz `json:"last_seen_ats"`
}
type UpsertSourceAccountsBulkBySourceParams ¶ added in v0.4.9
type UpsertSourceAccountsBulkBySourceParams struct {
SourceKind string `json:"source_kind"`
SourceName string `json:"source_name"`
SeenInRunID int64 `json:"seen_in_run_id"`
ExternalIds []string `json:"external_ids"`
Emails []string `json:"emails"`
DisplayNames []string `json:"display_names"`
AccountKinds []string `json:"account_kinds"`
EntityCategories []string `json:"entity_categories"`
RawJsons [][]byte `json:"raw_jsons"`
LastLoginAts []pgtype.Timestamptz `json:"last_login_ats"`
LastLoginIps []string `json:"last_login_ips"`
LastLoginRegions []string `json:"last_login_regions"`
}
Source Files
¶
- app_asset_owners.sql.go
- app_assets.sql.go
- auth_users.sql.go
- command_search.sql.go
- connected_apps.sql.go
- connector_configs.sql.go
- connector_secrets.sql.go
- credential_artifacts.sql.go
- credential_audit_events.sql.go
- dashboard.sql.go
- db.go
- discovery_governance.sql.go
- entitlements.sql.go
- freshness.sql.go
- google_workspace.sql.go
- identities.sql.go
- identity_accounts.sql.go
- identity_links.sql.go
- identity_source_settings.sql.go
- integration_mappings.sql.go
- models.go
- non_human_access.sql.go
- non_human_access_events.sql.go
- non_human_principal_refresh.go
- normalized_datasets.sql.go
- okta_accounts.sql.go
- okta_assignments.sql.go
- read_models.sql.go
- rules_engine.sql.go
- saas_app_bindings.sql.go
- saas_app_events.sql.go
- saas_app_sources.sql.go
- saas_apps.sql.go
- source_accounts.sql.go
- sync_jobs.sql.go
- sync_locks.sql.go
- sync_runs.sql.go