Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[7.x] [Security Solution][Detections] Adds framework for replacing API schemas (#82462) #83367

Merged
merged 1 commit into from
Nov 13, 2020

Commits on Nov 13, 2020

  1. [Security Solution][Detections] Adds framework for replacing API sche…

    …mas (elastic#82462)
    
    * Adds framework for replacing API schemas
    
    * Update integration tests with new schema
    
    * Fix response type on createRule helper
    
    * Add unit tests for new rule schema, add defaults for some array fields, clean up API schema definitions
    
    * Naming updates and linting fixes
    
    * Replace create_rules_bulk_schema and refactor route
    
    * Convert update_rules_route to new schema
    
    * Fix missing name error
    
    * Fix more tests
    
    * Fix import
    
    * Update patch route with internal schema validation
    
    * Reorganize new schema as drop-in replacement for create_rules_schema
    
    * Replace updateRulesSchema with new version
    
    * Cleanup - remove references to specific files within request folder
    
    * Fix imports
    
    * Fix tests
    
    * Allow a few more fields to be undefined in internal schema
    
    * Add static types back to test payloads, add more tests, add NonEmptyArray type builder
    
    * Pull defaults into reusable function
    marshallmain committed Nov 13, 2020
    Configuration menu
    Copy the full SHA
    f2ec573 View commit details
    Browse the repository at this point in the history