Skip to content

Commit

Permalink
[SIEM][CASE] ServiceNow executor (#58894) (#59905)
Browse files Browse the repository at this point in the history
* Refactor structure

* Init ServiceNow class

* Add constants

* Add configuration scheme

* Refactor configuration schema

* Refactor parameters schema

* Create new types

* Add supported source fields

* Create helpers

* Create ServiceNow lib

* Push incident

* Declare private methods

* Create UpdateIncident type

* Create updateIncident method

* Create executor actions

* Refactor response

* Test helpers

* Remove unnecessary validation

* Fix validation errors

* Throw error for unsupported actions

* Create mock incident

* Test executor

* Test ServiceNow lib

* Convert to camelCase

* Remove caller_id

* Refactor helpers

* Refactor schema

* Remove executorAction

* Test action handlers

* Refactor tests

* Create and update comments

* Remove closure option & change attribute name

* Fix tests

* Change lib structure

* Validate empty mapping

* Fix functional tests

* Fix type

* Change API to only add comments through incident's API

* Add instruction to README

* Change API version

* Test

* Test simulator

* Fix version on tests

* Remove SIEM reference in README
  • Loading branch information
cnasikas authored Mar 11, 2020
1 parent fad00d9 commit b9f3c35
Show file tree
Hide file tree
Showing 22 changed files with 1,786 additions and 789 deletions.
374 changes: 206 additions & 168 deletions x-pack/plugins/actions/README.md

Large diffs are not rendered by default.

This file was deleted.

279 changes: 0 additions & 279 deletions x-pack/plugins/actions/server/builtin_action_types/servicenow.test.ts

This file was deleted.

Loading

0 comments on commit b9f3c35

Please sign in to comment.