Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CrossError ¶
type CrossError struct {
Rule string // rule ID: "X-1", "X-15", etc.
Context string // e.g. operationId, funcName, table name
Message string
Level string // "ERROR" or "WARNING" (empty = ERROR)
Suggestion string
}
CrossError represents a single cross-validation violation.
func Run ¶
func Run(fs *fullend.Fullstack) []CrossError
Run executes all cross-validation rules against parsed SSOTs.
Source Files
¶
- arg_uses_current_user.go
- call_ref.go
- check_authz_input_fields.go
- check_authz_input_seqs.go
- check_authz_inputs.go
- check_call_arg_type_match.go
- check_call_arg_types.go
- check_call_details.go
- check_call_func_name.go
- check_call_func_name_seqs.go
- check_call_input_fields.go
- check_call_input_type_match.go
- check_call_input_type_match_seqs.go
- check_call_inputs_vs_funcspec.go
- check_call_source_var.go
- check_call_type_match.go
- check_call_type_match_seqs.go
- check_claims.go
- check_claims_rego.go
- check_claims_vs_ddl.go
- check_col_max_length.go
- check_config.go
- check_config_reverse.go
- check_constraints.go
- check_cursor.go
- check_cursor_ops.go
- check_cursor_unique.go
- check_ddl_check_enum.go
- check_ddl_check_openapi_enum.go
- check_ddl_check_roles.go
- check_ddl_check_vs_seed.go
- check_ddl_coverage.go
- check_ddl_openapi_constraints.go
- check_ddl_openapi_coverage.go
- check_default_fk_seed.go
- check_empty_nilable.go
- check_endpoint_security.go
- check_err_status.go
- check_func_coverage.go
- check_func_detail_seqs.go
- check_func_details.go
- check_func_err_status.go
- check_func_purity.go
- check_func_shorthand_response.go
- check_funcs.go
- check_ghost_fields.go
- check_ghost_properties.go
- check_hurl.go
- check_hurl_entry_ops.go
- check_hurl_entry_status.go
- check_hurl_method.go
- check_hurl_status.go
- check_input_columns.go
- check_input_key_case.go
- check_jwt_claim_args.go
- check_jwt_claim_seqs.go
- check_jwt_claims.go
- check_middleware.go
- check_op_cursor.go
- check_op_cursor_unique.go
- check_openapi_ddl.go
- check_openapi_required.go
- check_openapi_ssac.go
- check_ownership.go
- check_ownership_annotation.go
- check_ownership_mappings.go
- check_ownership_via.go
- check_ownership_via_joins.go
- check_path_x_include.go
- check_policy.go
- check_policy_owner_rules.go
- check_policy_reverse.go
- check_queue.go
- check_queue_schema.go
- check_response_schema.go
- check_result_ddl_table.go
- check_roles.go
- check_sensitive.go
- check_seq_ddl.go
- check_seq_err_status.go
- check_seq_input_ddl.go
- check_shorthand_response.go
- check_shorthand_reverse.go
- check_single_func_purity.go
- check_sort_index.go
- check_ssac_ddl.go
- check_ssac_openapi.go
- check_ssac_role_vs_policy.go
- check_ssac_states.go
- check_states.go
- check_states_ddl.go
- check_states_ddl_seqs.go
- check_states_guard.go
- check_states_openapi.go
- check_subscribe_fields.go
- check_table_constraints.go
- check_table_sensitive_cols.go
- check_undeclared_args.go
- check_undeclared_sources.go
- check_varchar_maxlength.go
- check_x_include.go
- check_x_include_allowed.go
- check_x_include_entries.go
- check_x_include_fk.go
- check_x_include_fk_ops.go
- collect_all_fk_columns.go
- collect_call_refs.go
- collect_current_user_fields.go
- collect_current_user_fields_from_args.go
- collect_current_user_fields_from_seqs.go
- collect_ddl_role_check_sets.go
- collect_declared_vars.go
- collect_field_keys.go
- collect_message_fields.go
- collect_opa_role_values.go
- collect_owned_resources.go
- collect_path_x_claims.go
- collect_publish_payloads.go
- collect_publish_payloads_from_seqs.go
- collect_state_refs.go
- collect_table_role_enums.go
- collect_x_sort_filter_claims.go
- compare_ddl_enum_with_openapi.go
- compare_ddl_enum_with_openapi_cols.go
- contains.go
- cross_error.go
- default_err_status.go
- eval_column_ref.go
- eval_config_required.go
- eval_ddl_column_coverage.go
- eval_ref.go
- eval_required_coverage.go
- eval_reverse_coverage.go
- eval_schema_match.go
- extract_bare_type_name.go
- extract_model_name.go
- extract_quoted_literal.go
- extract_x_filter_claims.go
- extract_x_sort_claims.go
- find_funcspec_by_call.go
- find_request_field_type.go
- foreign_key_map.go
- func_has_response.go
- func_uses_current_user.go
- guess_table_from_op.go
- has_openapi_security.go
- has_state_seq.go
- is_shorthand_response.go
- lookup_key_for_path.go
- lookup_table_column.go
- match_ddl_vals_to_enum.go
- match_funcspec.go
- matches_sensitive_pattern.go
- new_role_cross_error.go
- op_has_2xx.go
- op_has_response.go
- openapi_has_2xx.go
- openapi_has_response.go
- path_has_security.go
- resolve_claim_ddl_column.go
- responses_have_2xx.go
- role_in_any_sets.go
- root_var.go
- run.go
- seed_has_id.go
- shallow_copy_ground.go
- ssac_uses_current_user.go
- state_ref.go
- table_map_by_name.go
- to_errors.go
- to_string_set.go
- x_sort_filter_claim.go
Click to show internal directories.
Click to hide internal directories.