Skip to content

Commit

Permalink
Handle nestings better and refactor asciidoc generation (#803)
Browse files Browse the repository at this point in the history
* handle nestings better and refactor asciidoc generation

* update changelog

* linting

* move nesting logic to separate function and find re-nested fields

* better naming

* dont make asciidocs with subset or include options

* add docstrings
  • Loading branch information
marshallmain authored Apr 7, 2020
1 parent 39b4582 commit f4d5491
Show file tree
Hide file tree
Showing 10 changed files with 213 additions and 157 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.next.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ Thanks, you're awesome :-) -->
#### Improvements

* Add support for reusing offical fieldsets in custom schemas. #751
* Add full path names to reused fieldsets in `nestings` array in ecs_nested.yml. #803

#### Deprecated

Expand Down
30 changes: 30 additions & 0 deletions docs/field-details.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -453,6 +453,12 @@ example: `co.uk`
// ===============================================================


| <<ecs-group,client.user.group.*>>
| User's group relevant to the event.

// ===============================================================


|=====

[[ecs-cloud]]
Expand Down Expand Up @@ -961,6 +967,12 @@ example: `co.uk`
// ===============================================================


| <<ecs-group,destination.user.group.*>>
| User's group relevant to the event.

// ===============================================================


|=====

[[ecs-dll]]
Expand Down Expand Up @@ -2692,6 +2704,12 @@ example: `1325`
// ===============================================================


| <<ecs-group,host.user.group.*>>
| User's group relevant to the event.

// ===============================================================


|=====

[[ecs-http]]
Expand Down Expand Up @@ -5292,6 +5310,12 @@ example: `co.uk`
// ===============================================================


| <<ecs-group,server.user.group.*>>
| User's group relevant to the event.

// ===============================================================


|=====

[[ecs-service]]
Expand Down Expand Up @@ -5627,6 +5651,12 @@ example: `co.uk`
// ===============================================================


| <<ecs-group,source.user.group.*>>
| User's group relevant to the event.

// ===============================================================


|=====

[[ecs-threat]]
Expand Down
Loading

0 comments on commit f4d5491

Please sign in to comment.