package
0.0.0-20250302012944-701c1ceec546
Repository: https://github.com/khulnasoft/devsecdb.git
Documentation: pkg.go.dev
# Functions
CheckApprovalApproved checks if the approval is approved.
No description provided by the author
CheckIssueApproved checks if the issue is approved.
ConvertBytesToUTF8String tries to decode a byte slice into a UTF-8 string using common encodings.
ConvertDatabaseToParserEngineType converts a database type to a parser engine type.
DataSourceFromInstanceWithType gets a typed data source from an instance.
FindNextPendingStep finds the next pending step in the approval flow.
FindRejectedStep finds the rejected step in the approval flow.
GetDatabaseMatrixFromDeploymentSchedule gets a pipeline based on deployment schedule.
GetMatchedAndUnmatchedDatabasesInDatabaseGroup returns the matched and unmatched databases in the given database group.
GetSecretMapFromDatabaseMessage extracts the secret map from the given database message.
GetTaskSheetID gets the sheetID of a task.
GetTaskSkipped gets skipped from a task.
See GetUserRoles.
GetUserIAMPolicyBindings return the valid bindings for the user.
GetUserRolesInIamPolicy returns the `uniq`ed roles of a user, including workspace roles and the roles in the projects.
GetUsersByMember gets user messages by member.
GetUsersByRoleInIAMPolicy gets users in the iam policy.
HandleIncomingApprovalSteps handles incoming approval steps.
IsSpaceOrSemicolon checks if the rune is a space or a semicolon.
MergeDatabaseConfig computes the migration from target and baseline, and applies the migration to current databaseConfig.
MergeTaskCreateLists merges a matrix of taskCreate and taskIndexDAG to a list of taskCreate and taskIndexDAG.
RenderStatement renders the given template statement with the given key-value map.
No description provided by the author
UpdateProjectPolicyFromGrantIssue updates the project policy from grant issue.
ValidateAndGetDeploymentSchedule validates and returns the deployment schedule.