package
0.0.0-20250302012944-701c1ceec546
Repository: https://github.com/khulnasoft/devsecdb.git
Documentation: pkg.go.dev
# Structs
CharsetAllowlistAdvisor is the advisor checking for charset allowlist.
CollationAllowlistAdvisor is the advisor checking for collation allowlist.
ColumnAutoIncrementInitialValueAdvisor is the advisor checking for auto-increment column initial value.
ColumnAutoIncrementMustIntegerAdvisor is the advisor checking for auto-increment column type.
ColumnAutoIncrementMustUnsignedAdvisor is the advisor checking for unsigned auto-increment column.
ColumnCommentConventionAdvisor is the advisor checking for column comment convention.
ColumnCurrentTimeCountLimitAdvisor is the advisor checking for current time column count limit.
ColumnDisallowChangingAdvisor is the advisor checking for disallow CHANGE COLUMN statement.
ColumnDisallowChangingOrderAdvisor is the advisor checking for disallow changing column order.
ColumnDisallowChangingTypeAdvisor is the advisor checking for disallow changing column type..
ColumnDisallowDropInIndexAdvisor is the advisor checking for disallow DROP COLUMN in index.
ColumnDisallowSetCharsetAdvisor is the advisor checking for disallow set column charset.
ColumnMaximumCharacterLengthAdvisor is the advisor checking for max character length.
ColumnNoNullAdvisor is the advisor checking for column no NULL value.
ColumnRequirementAdvisor is the advisor checking for column requirement.
ColumnSetDefaultForNotNullAdvisor is the advisor checking for set default value for not null column.
ColumnTypeDisallowListAdvisor is the advisor checking for column type restriction.
ColumRequireDefaultAdvisor is the advisor checking for column default requirement.
CompatibilityAdvisor is the advisor checking for schema backward compatibility.
DatabaseAllowDropIfEmptyAdvisor is the advisor checking the MySQLDatabaseAllowDropIfEmpty rule.
DisallowOrderByAdvisor is the advisor checking for no ORDER BY clause in DELETE/UPDATE statements.
IndexKeyNumberLimitAdvisor is the advisor checking for index key number limit.
IndexNoDuplicateColumnAdvisor is the advisor checking for no duplicate columns in index.
IndexPkTypeAdvisor is the advisor checking for correct type of PK.
IndexPrimaryKeyTypeAllowlistAdvisor is the advisor checking for primary key type allowlist.
IndexTotalNumberLimitAdvisor is the advisor checking for index total number limit.
IndexTypeNoBlobAdvisor is the advisor checking for index type no blob.
InsertDisallowOrderByRandAdvisor is the advisor checking for to disallow order by rand in INSERT statements.
InsertMustSpecifyColumnAdvisor is the advisor checking for to enforce column specified.
NamingAutoIncrementColumnAdvisor is the advisor checking for auto-increment naming convention.
NamingColumnConventionAdvisor is the advisor checking for column naming convention.
NamingFKConventionAdvisor is the advisor checking for foreign key naming convention.
NamingIndexConventionAdvisor is the advisor checking for index naming convention.
NamingTableConventionAdvisor is the advisor checking for table naming convention.
NamingUKConventionAdvisor is the advisor checking for unique key naming convention.
NoLeadingWildcardLikeAdvisor is the advisor checking for no leading wildcard LIKE.
NoSelectAllAdvisor is the advisor checking for no "select *".
StatementDisallowCommitAdvisor is the advisor checking for index type no blob.
StatementDisallowLimitAdvisor is the advisor checking for no LIMIT clause in INSERT/UPDATE statement.
StatementDisallowMixInDDLAdvisor is the advisor checking for no mixed DDL and DML.
StatementDisallowMixInDMLAdvisor is the advisor checking for no mixed DDL and DML.
StatementDmlDryRunAdvisor is the advisor checking for DML dry run.
StatementMaximumLimitValueAdvisor is the advisor checking for LIMIT maximum value.
StatementMergeAlterTableAdvisor is the advisor checking for merging ALTER TABLE statements.
StatementPriorBackupCheckAdvisor is the advisor checking for no mixed DDL and DML.
TableCommentConventionAdvisor is the advisor checking for table comment convention.
TableDisallowPartitionAdvisor is the advisor checking for disallow table partition.
TableDropNamingConventionAdvisor is the advisor checking the MySQLTableDropNamingConvention rule.
TableNoFKAdvisor is the advisor checking table disallow foreign key.
TableRequirePKAdvisor is the advisor checking table requires PK.
WhereRequirementForSelectAdvisor is the advisor checking for the WHERE clause requirement for SELECT statements.
WhereRequirementForUpdateDeleteAdvisor is the advisor checking for the WHERE clause requirement for UPDATE and DELETE statements.