diff --git a/code/go/internal/linkedfiles/fs.go b/code/go/internal/linkedfiles/fs.go new file mode 100644 index 000000000..08192539f --- /dev/null +++ b/code/go/internal/linkedfiles/fs.go @@ -0,0 +1,72 @@ +// Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one +// or more contributor license agreements. Licensed under the Elastic License; +// you may not use this file except in compliance with the Elastic License. + +package linkedfiles + +import ( + "errors" + "fmt" + "io/fs" + "os" + "path/filepath" +) + +const linkExtension = ".link" + +var ( + _ fs.FS = (*FS)(nil) + _ fs.FS = (*BlockFS)(nil) + // ErrUnsupportedLinkFile is returned when a linked file is not supported. + ErrUnsupportedLinkFile = errors.New("linked files are not supported in this filesystem") +) + +// FS is a filesystem that handles linked files. +// It wraps another filesystem and checks for linked files with the ".link" extension. +// If a linked file is found, it reads the link file to determine the target file +// and its checksum. If the target file is up to date, it returns the target file. +// Otherwise, it returns an error. +type FS struct { + workDir string + inner fs.FS +} + +// NewFS creates a new FS. +func NewFS(workDir string, inner fs.FS) *FS { + return &FS{workDir: workDir, inner: inner} +} + +// Open opens a file in the filesystem. +func (lfs *FS) Open(name string) (fs.File, error) { + if filepath.Ext(name) != linkExtension { + return lfs.inner.Open(name) + } + pathName := filepath.Join(lfs.workDir, name) + l, err := NewLinkedFile(pathName) + if err != nil { + return nil, err + } + if !l.UpToDate { + return nil, fmt.Errorf("linked file %s is not up to date", name) + } + includedPath := filepath.Join(lfs.workDir, filepath.Dir(name), l.IncludedFilePath) + return os.Open(includedPath) +} + +// BlockFS is a filesystem that blocks use of linked files. +type BlockFS struct { + inner fs.FS +} + +// NewBlockFS creates a new BlockFS. +func NewBlockFS(inner fs.FS) *BlockFS { + return &BlockFS{inner: inner} +} + +// Open opens a file in the filesystem. +func (bfs *BlockFS) Open(name string) (fs.File, error) { + if filepath.Ext(name) == linkExtension { + return nil, ErrUnsupportedLinkFile + } + return bfs.inner.Open(name) +} diff --git a/code/go/internal/linkedfiles/linkedfiles.go b/code/go/internal/linkedfiles/linkedfiles.go new file mode 100644 index 000000000..5676bb7e8 --- /dev/null +++ b/code/go/internal/linkedfiles/linkedfiles.go @@ -0,0 +1,98 @@ +// Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one +// or more contributor license agreements. Licensed under the Elastic License; +// you may not use this file except in compliance with the Elastic License. + +package linkedfiles + +import ( + "bufio" + "bytes" + "crypto/sha256" + "encoding/hex" + "fmt" + "io" + "os" + "path/filepath" + "strings" +) + +// A Link represents a linked file. +// It contains the path to the link file, the checksum of the linked file, +// the path to the target file, and the checksum of the included file contents. +// It also contains a boolean indicating whether the link is up to date. +type Link struct { + LinkFilePath string + LinkChecksum string + + IncludedFilePath string + IncludedFileContentsChecksum string + + UpToDate bool +} + +// NewLinkedFile creates a new Link from the given link file path. +func NewLinkedFile(linkFilePath string) (Link, error) { + var l Link + firstLine, err := readFirstLine(linkFilePath) + if err != nil { + return Link{}, err + } + l.LinkFilePath = linkFilePath + + fields := strings.Fields(firstLine) + l.IncludedFilePath = fields[0] + if len(fields) == 2 { + l.LinkChecksum = fields[1] + } + + pathName := filepath.Join(filepath.Dir(linkFilePath), filepath.FromSlash(l.IncludedFilePath)) + cs, err := getLinkedFileChecksum(pathName) + if err != nil { + return Link{}, fmt.Errorf("could not collect file %v: %w", l.IncludedFilePath, err) + } + if l.LinkChecksum == cs { + l.UpToDate = true + } + l.IncludedFileContentsChecksum = cs + + return l, nil +} + +func getLinkedFileChecksum(path string) (string, error) { + b, err := os.ReadFile(filepath.FromSlash(path)) + if err != nil { + return "", err + } + cs, err := checksum(b) + if err != nil { + return "", err + } + return cs, nil +} + +func readFirstLine(filePath string) (string, error) { + file, err := os.Open(filepath.FromSlash(filePath)) + if err != nil { + return "", err + } + defer file.Close() + + scanner := bufio.NewScanner(file) + if scanner.Scan() { + return scanner.Text(), nil + } + + if err := scanner.Err(); err != nil { + return "", err + } + + return "", fmt.Errorf("file is empty or first line is missing") +} + +func checksum(b []byte) (string, error) { + hash := sha256.New() + if _, err := io.Copy(hash, bytes.NewReader(b)); err != nil { + return "", err + } + return hex.EncodeToString(hash.Sum(nil)), nil +} diff --git a/code/go/internal/specschema/folder_item_spec.go b/code/go/internal/specschema/folder_item_spec.go index 6af696f65..70472cdd7 100644 --- a/code/go/internal/specschema/folder_item_spec.go +++ b/code/go/internal/specschema/folder_item_spec.go @@ -81,6 +81,11 @@ func (s *ItemSpec) DevelopmentFolder() bool { return s.itemSpec.DevelopmentFolder } +// AllowLink returns true if the item allows links. +func (s *ItemSpec) AllowLink() bool { + return s.itemSpec.AllowLink +} + // ForbiddenPatterns returns the list of forbidden patterns for the name of this item. func (s *ItemSpec) ForbiddenPatterns() []string { return s.itemSpec.ForbiddenPatterns @@ -135,6 +140,7 @@ type folderItemSpec struct { AdditionalContents bool `json:"additionalContents" yaml:"additionalContents"` Contents []*folderItemSpec `json:"contents" yaml:"contents"` DevelopmentFolder bool `json:"developmentFolder" yaml:"developmentFolder"` + AllowLink bool `json:"allowLink" yaml:"allowLink"` // As it is required to be inline both in yaml and json, this struct must be public embedded field SpecLimits `yaml:",inline"` diff --git a/code/go/internal/spectypes/item.go b/code/go/internal/spectypes/item.go index 6c020e3c1..fee260b8e 100644 --- a/code/go/internal/spectypes/item.go +++ b/code/go/internal/spectypes/item.go @@ -57,6 +57,9 @@ type ItemSpec interface { // DevelopmentFolder returns true if the item is inside a development folder. DevelopmentFolder() bool + // AllowLink returns true if the item allows links. + AllowLink() bool + // ForbiddenPatterns returns the list of forbidden patterns for the name of this item. ForbiddenPatterns() []string diff --git a/code/go/internal/validator/folder_item_spec.go b/code/go/internal/validator/folder_item_spec.go index ee5a0f968..bca7cb808 100644 --- a/code/go/internal/validator/folder_item_spec.go +++ b/code/go/internal/validator/folder_item_spec.go @@ -16,13 +16,15 @@ import ( func matchingFileExists(spec spectypes.ItemSpec, files []fs.DirEntry) (bool, error) { if spec.Name() != "" { for _, file := range files { - if file.Name() == spec.Name() { + _, fileName := checkLink(file.Name()) + if fileName == spec.Name() { return spec.IsDir() == file.IsDir(), nil } } } else if spec.Pattern() != "" { for _, file := range files { - isMatch, err := regexp.MatchString(spec.Pattern(), file.Name()) + _, fileName := checkLink(file.Name()) + isMatch, err := regexp.MatchString(spec.Pattern(), fileName) if err != nil { return false, fmt.Errorf("invalid folder item spec pattern: %w", err) } diff --git a/code/go/internal/validator/folder_spec.go b/code/go/internal/validator/folder_spec.go index 245e11849..dbedf3e15 100644 --- a/code/go/internal/validator/folder_spec.go +++ b/code/go/internal/validator/folder_spec.go @@ -190,6 +190,7 @@ func (v *validator) Validate() specerrors.ValidationErrors { } func (v *validator) findItemSpec(folderItemName string) (spectypes.ItemSpec, error) { + isLink, folderItemName := checkLink(folderItemName) for _, itemSpec := range v.spec.Contents() { if itemSpec.Name() != "" && itemSpec.Name() == folderItemName { return itemSpec, nil @@ -213,6 +214,9 @@ func (v *validator) findItemSpec(folderItemName string) (spectypes.ItemSpec, err } if !isForbidden { + if isLink && !itemSpec.AllowLink() { + return nil, fmt.Errorf("item [%s] is a link but is not allowed", folderItemName) + } return itemSpec, nil } } @@ -222,3 +226,13 @@ func (v *validator) findItemSpec(folderItemName string) (spectypes.ItemSpec, err // No item spec found return nil, nil } + +// checkLink checks if an item is a link and returns the item name without the +// ".link" suffix if it is a link. +func checkLink(itemName string) (bool, string) { + const linkExtension = ".link" + if strings.HasSuffix(itemName, linkExtension) { + return true, strings.TrimSuffix(itemName, linkExtension) + } + return false, itemName +} diff --git a/code/go/pkg/specerrors/filter_test.go b/code/go/pkg/specerrors/filter_test.go index f058668a7..40523f382 100644 --- a/code/go/pkg/specerrors/filter_test.go +++ b/code/go/pkg/specerrors/filter_test.go @@ -15,14 +15,6 @@ import ( "github.com/stretchr/testify/require" ) -func createValidationErrors(messages []string) ValidationErrors { - var allErrors ValidationErrors - for _, m := range messages { - allErrors = append(allErrors, NewStructuredErrorf(m)) - } - return allErrors -} - func createValidationError(message, code string) ValidationError { return NewStructuredError(errors.New(message), code) } diff --git a/code/go/pkg/validator/limits_test.go b/code/go/pkg/validator/limits_test.go index 1919780f9..ab077487d 100644 --- a/code/go/pkg/validator/limits_test.go +++ b/code/go/pkg/validator/limits_test.go @@ -166,6 +166,20 @@ func (fs *mockFS) Good() *mockFS { ) } +func (fs *mockFS) WithLink() *mockFS { + return fs.WithFiles( + newMockFile("manifest.yml").WithContent(manifestYml), + newMockFile("changelog.yml").WithContent(changelogYml), + newMockFile("docs/README.md").WithContent("## README"), + newMockFile("img/kibana-system.png"), + newMockFile("img/system.svg"), + newMockFile("_dev/deploy/docker/docker-compose.yml").WithContent("version: 2.3"), + newMockFile("data_stream/foo/manifest.yml").WithContent(datastreamManifestYml), + newMockFile("data_stream/foo/fields/base-fields.yml").WithContent(fieldsYml), + newMockFile("data_stream/foo/fields/some_fields.yml.link").WithContent("../../../../somepkg/_dev/shared/some_fields.yml 9fe744e9d6cbf9c6057a38327936b8b66e48a087479e781e9a344bb2502182a0"), + ) +} + func (fs *mockFS) Override(overrider func(*overrideFS)) *mockFS { overrider(&overrideFS{fs}) return fs diff --git a/code/go/pkg/validator/validator.go b/code/go/pkg/validator/validator.go index 28af3d031..331571fb8 100644 --- a/code/go/pkg/validator/validator.go +++ b/code/go/pkg/validator/validator.go @@ -11,6 +11,7 @@ import ( "io/fs" "os" + "github.com/elastic/package-spec/v3/code/go/internal/linkedfiles" "github.com/elastic/package-spec/v3/code/go/internal/packages" "github.com/elastic/package-spec/v3/code/go/internal/validator" ) @@ -18,7 +19,9 @@ import ( // ValidateFromPath validates a package located at the given path against the // appropriate specification and returns any errors. func ValidateFromPath(packageRootPath string) error { - return ValidateFromFS(packageRootPath, os.DirFS(packageRootPath)) + // We wrap the fs.FS with a linkedfiles.LinksFS to handle linked files. + linksFS := linkedfiles.NewFS(packageRootPath, os.DirFS(packageRootPath)) + return ValidateFromFS(packageRootPath, linksFS) } // ValidateFromZip validates a package on its zip format. @@ -46,8 +49,13 @@ func ValidateFromZip(packagePath string) error { } // ValidateFromFS validates a package against the appropiate specification and returns any errors. -// Package files are obtained throug the given filesystem. +// Package files are obtained through the given filesystem. func ValidateFromFS(location string, fsys fs.FS) error { + // If we are not explicitly using the linkedfiles.FS, we wrap fsys with + // a linkedfiles.BlockFS to block the use of linked files. + if _, ok := fsys.(*linkedfiles.FS); !ok { + fsys = linkedfiles.NewBlockFS(fsys) + } pkg, err := packages.NewPackageFromFS(location, fsys) if err != nil { return err @@ -62,7 +70,7 @@ func ValidateFromFS(location string, fsys fs.FS) error { return err } - if errs := spec.ValidatePackage(*pkg); errs != nil && len(errs) > 0 { + if errs := spec.ValidatePackage(*pkg); len(errs) > 0 { return errs } diff --git a/code/go/pkg/validator/validator_test.go b/code/go/pkg/validator/validator_test.go index f7c8842dd..50e98019d 100644 --- a/code/go/pkg/validator/validator_test.go +++ b/code/go/pkg/validator/validator_test.go @@ -17,6 +17,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" + "github.com/elastic/package-spec/v3/code/go/internal/linkedfiles" "github.com/elastic/package-spec/v3/code/go/internal/validator/common" "github.com/elastic/package-spec/v3/code/go/pkg/specerrors" ) @@ -271,6 +272,7 @@ func TestValidateFile(t *testing.T) { `required var "password" in optional group is not defined`, }, }, + "with_links": {}, } for pkgName, test := range tests { @@ -813,6 +815,19 @@ func TestValidateForbiddenDataStreamName(t *testing.T) { } } +func TestLinksAreBlocked(t *testing.T) { + err := ValidateFromFS("test-package", newMockFS().WithLink()) + errs, ok := err.(specerrors.ValidationErrors) + require.True(t, ok) + for _, err := range errs { + // we want at least one error indicating links are blocked + if errors.Is(err, linkedfiles.ErrUnsupportedLinkFile) { + return + } + } + t.Error("links should not be allowed in package") +} + func requireErrorMessage(t *testing.T, pkgName string, invalidItemsPerFolder map[string][]string, expectedErrorMessage string) { pkgRootPath := filepath.Join("..", "..", "..", "..", "test", "packages", pkgName) diff --git a/spec/changelog.yml b/spec/changelog.yml index 3c0c79c0f..64ae5db98 100644 --- a/spec/changelog.yml +++ b/spec/changelog.yml @@ -13,6 +13,14 @@ - description: Add kibana/security_ai_prompt to support security AI prompt assets. type: enhancement link: https://github.com/elastic/package-spec/pull/871 +- version: 3.3.6-next + changes: + - description: Add support for _dev/shared folder. + type: enhancement + link: https://github.com/elastic/package-spec/pull/888 + - description: Add support for *.link files in agent, pipelines, and fields folders. + type: enhancement + link: https://github.com/elastic/package-spec/pull/888 - version: 3.3.5 changes: - description: Allow security_rule assets in content package. diff --git a/spec/input/_dev/spec.yml b/spec/input/_dev/spec.yml index e7d7bb16d..419310a9f 100644 --- a/spec/input/_dev/spec.yml +++ b/spec/input/_dev/spec.yml @@ -17,3 +17,7 @@ spec: name: test required: false $ref: "./test/spec.yml" + - description: Folder containing shared files. + type: folder + name: shared + $ref: "../../integration/spec.yml" diff --git a/spec/integration/_dev/shared/spec.yml b/spec/integration/_dev/shared/spec.yml new file mode 100644 index 000000000..cf2bcdfe4 --- /dev/null +++ b/spec/integration/_dev/shared/spec.yml @@ -0,0 +1,2 @@ +spec: + additionalContents: true \ No newline at end of file diff --git a/spec/integration/_dev/spec.yml b/spec/integration/_dev/spec.yml index 9e184aa62..bfe53612d 100644 --- a/spec/integration/_dev/spec.yml +++ b/spec/integration/_dev/spec.yml @@ -22,3 +22,8 @@ spec: name: test required: false $ref: "./test/spec.yml" + - description: Folder containing shared files. + type: folder + name: shared + required: false + $ref: "./shared/spec.yml" diff --git a/spec/integration/agent/spec.yml b/spec/integration/agent/spec.yml index 232e8e891..d1236d0b6 100644 --- a/spec/integration/agent/spec.yml +++ b/spec/integration/agent/spec.yml @@ -12,3 +12,4 @@ spec: sizeLimit: 2MB pattern: '^.+\.yml\.hbs$' required: true + allowLink: true diff --git a/spec/integration/data_stream/agent/spec.yml b/spec/integration/data_stream/agent/spec.yml index d3c2e5b60..86951478e 100644 --- a/spec/integration/data_stream/agent/spec.yml +++ b/spec/integration/data_stream/agent/spec.yml @@ -7,8 +7,9 @@ spec: required: true additionalContents: false contents: - - description: Folder containing agent stream definitions + - description: Config template file for inputs defined in the policy_templates section of the top level manifest type: file sizeLimit: 2MB pattern: '^.+\.yml\.hbs$' required: true + allowLink: true diff --git a/spec/integration/data_stream/fields/spec.yml b/spec/integration/data_stream/fields/spec.yml index 4cac696dd..daee57265 100644 --- a/spec/integration/data_stream/fields/spec.yml +++ b/spec/integration/data_stream/fields/spec.yml @@ -6,4 +6,5 @@ spec: pattern: '^[a-z0-9][a-z0-9_-]+[a-z0-9]\.yml$' required: true contentMediaType: "application/x-yaml" + allowLink: true $ref: "./fields.spec.yml" diff --git a/spec/integration/data_stream/spec.yml b/spec/integration/data_stream/spec.yml index cd0c7a023..21667e3bf 100644 --- a/spec/integration/data_stream/spec.yml +++ b/spec/integration/data_stream/spec.yml @@ -61,12 +61,14 @@ spec: # TODO Determine if special handling of `---` is required (issue: https://github.com/elastic/package-spec/pull/54) contentMediaType: "application/x-yaml; require-document-dashes=true" required: false + allowLink: true $ref: "../../integration/elasticsearch/pipeline.spec.yml" - description: Supporting ingest pipeline definitions in JSON type: file pattern: '^.+\.json$' contentMediaType: "application/json" required: false + allowLink: true $ref: "../../integration/elasticsearch/pipeline.spec.yml" - description: Sample event file type: file diff --git a/spec/integration/elasticsearch/spec.yml b/spec/integration/elasticsearch/spec.yml index bf9d8e7ad..cf1d602d7 100644 --- a/spec/integration/elasticsearch/spec.yml +++ b/spec/integration/elasticsearch/spec.yml @@ -22,6 +22,7 @@ spec: # TODO Determine if special handling of `---` is required (issue: https://github.com/elastic/package-spec/pull/54) contentMediaType: "application/x-yaml; require-document-dashes=true" required: false + allowLink: true $ref: "./pipeline.spec.yml" - description: Supporting ingest pipeline definitions in JSON type: file @@ -29,6 +30,7 @@ spec: pattern: '^.+\.json$' contentMediaType: "application/json" required: false + allowLink: true $ref: "./pipeline.spec.yml" - description: Folder containing Elasticsearch Transforms # https://www.elastic.co/guide/en/elasticsearch/reference/current/transforms.html diff --git a/test/packages/good_v3/data_stream/foo/fields/base-fields.yml b/test/packages/good_v3/_dev/shared/base-fields.yml similarity index 100% rename from test/packages/good_v3/data_stream/foo/fields/base-fields.yml rename to test/packages/good_v3/_dev/shared/base-fields.yml diff --git a/test/packages/good_v3/data_stream/foo/fields/base-fields.yml.link b/test/packages/good_v3/data_stream/foo/fields/base-fields.yml.link new file mode 100644 index 000000000..94bff2bac --- /dev/null +++ b/test/packages/good_v3/data_stream/foo/fields/base-fields.yml.link @@ -0,0 +1 @@ +../../../_dev/shared/base-fields.yml 092c60ec1f7725d278aa0564d946f6803736c436239c4ca20049013a4ce8e91c diff --git a/test/packages/with_links/LICENSE.txt b/test/packages/with_links/LICENSE.txt new file mode 100644 index 000000000..d64569567 --- /dev/null +++ b/test/packages/with_links/LICENSE.txt @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/test/packages/with_links/NOTICE.txt b/test/packages/with_links/NOTICE.txt new file mode 100644 index 000000000..c76edc139 --- /dev/null +++ b/test/packages/with_links/NOTICE.txt @@ -0,0 +1,2 @@ +Elastic package-spec +Copyright 2021 Elasticsearch B.V. \ No newline at end of file diff --git a/test/packages/with_links/_dev/build/build.yml b/test/packages/with_links/_dev/build/build.yml new file mode 100644 index 000000000..9f319f4dd --- /dev/null +++ b/test/packages/with_links/_dev/build/build.yml @@ -0,0 +1,3 @@ +dependencies: + ecs: + reference: git@v1.9.2 \ No newline at end of file diff --git a/test/packages/with_links/_dev/build/docs/README.md b/test/packages/with_links/_dev/build/docs/README.md new file mode 100644 index 000000000..1a9dfb44c --- /dev/null +++ b/test/packages/with_links/_dev/build/docs/README.md @@ -0,0 +1 @@ +This is a template for the package README. \ No newline at end of file diff --git a/test/packages/with_links/_dev/deploy/tf/.terraform.lock.hcl b/test/packages/with_links/_dev/deploy/tf/.terraform.lock.hcl new file mode 100644 index 000000000..fbb6f39c1 --- /dev/null +++ b/test/packages/with_links/_dev/deploy/tf/.terraform.lock.hcl @@ -0,0 +1,8 @@ +# This file is maintained automatically by "terraform init". +# Manual edits may be lost in future updates. + +provider "registry.terraform.io/hashicorp/google" { +} + +provider "registry.terraform.io/hashicorp/local" { +} diff --git a/test/packages/with_links/_dev/deploy/tf/data.json b/test/packages/with_links/_dev/deploy/tf/data.json new file mode 100644 index 000000000..ada45b78f --- /dev/null +++ b/test/packages/with_links/_dev/deploy/tf/data.json @@ -0,0 +1,3 @@ +{ + "a": "data file containing json" +} diff --git a/test/packages/with_links/_dev/deploy/tf/main.tf b/test/packages/with_links/_dev/deploy/tf/main.tf new file mode 100644 index 000000000..f6a81b458 --- /dev/null +++ b/test/packages/with_links/_dev/deploy/tf/main.tf @@ -0,0 +1 @@ +# A Terraform file diff --git a/test/packages/with_links/_dev/deploy/tf/template.tftpl b/test/packages/with_links/_dev/deploy/tf/template.tftpl new file mode 100644 index 000000000..d9e45e2a0 --- /dev/null +++ b/test/packages/with_links/_dev/deploy/tf/template.tftpl @@ -0,0 +1 @@ +A Terraform template file diff --git a/test/packages/with_links/_dev/shared/default.json b/test/packages/with_links/_dev/shared/default.json new file mode 100644 index 000000000..52eea4384 --- /dev/null +++ b/test/packages/with_links/_dev/shared/default.json @@ -0,0 +1,11 @@ +{ + "description": "Pipeline for Microsoft DHCP", + "processors": [ + { + "set": { + "field": "foo", + "value": "bar" + } + } + ] +} \ No newline at end of file diff --git a/test/packages/with_links/_dev/shared/default.yml b/test/packages/with_links/_dev/shared/default.yml new file mode 100644 index 000000000..eb49ccdd2 --- /dev/null +++ b/test/packages/with_links/_dev/shared/default.yml @@ -0,0 +1,7 @@ +--- +description: Pipeline for ml model + plugins. +processors: +- set: + field: error.message + value: '{{ _ingest.on_failure_message }}' diff --git a/test/packages/with_links/_dev/shared/s3.yml.hbs b/test/packages/with_links/_dev/shared/s3.yml.hbs new file mode 100644 index 000000000..a7a482270 --- /dev/null +++ b/test/packages/with_links/_dev/shared/s3.yml.hbs @@ -0,0 +1 @@ +# Handlebars template for agent \ No newline at end of file diff --git a/test/packages/with_links/_dev/shared/some_fields.yml b/test/packages/with_links/_dev/shared/some_fields.yml new file mode 100644 index 000000000..b0f330fec --- /dev/null +++ b/test/packages/with_links/_dev/shared/some_fields.yml @@ -0,0 +1,62 @@ +- name: source + title: Source + group: 2 + type: group + fields: + - name: geo.city_name + level: core + type: keyword + description: City name. + ignore_above: 1024 + - name: geo.location + level: core + type: geo_point + description: Longitude and latitude. + - name: geo.region_iso_code + level: core + type: keyword + description: Region ISO code. + ignore_above: 1024 + - name: geo.region_name + level: core + type: keyword + description: Region name. + ignore_above: 1024 +- name: foobar + type: text + description: A field with a pattern defined + pattern: '^[a-zA-Z]$' + example: abcd +- name: aaa + type: integer + metric_type: gauge + example: 42 +- name: vehicle_type + type: constant_keyword + value: truck +- name: error.message + description: Error message. + type: match_only_text + example: + - "something failed!" + - "panic now" +- name: metric.*_bytes + type: long +- name: a + type: nested + include_in_parent: true +- name: a.b + type: keyword +- name: c + type: nested + include_in_root: true +- name: c.d + type: keyword +- name: name-with-dash + type: keyword +- name: a/b + type: keyword +- name: a/b.c/d + type: keyword +- name: some_array + type: array # Allowed till 2.0.0 diff --git a/test/packages/with_links/changelog.yml b/test/packages/with_links/changelog.yml new file mode 100644 index 000000000..61f4d434b --- /dev/null +++ b/test/packages/with_links/changelog.yml @@ -0,0 +1,26 @@ +- version: 1.0.0 + changes: + - description: LTS version + type: enhancement + link: https://github.com/elastic/package-spec/pull/256 +- version: 1.0.0-next + changes: + - description: release candidate + type: enhancement + link: https://github.com/elastic/package-spec/pull/172 +- version: 0.1.1 + changes: + - description: Change A + type: enhancement + link: https://github.com/elastic/package-spec/pull/193 + - description: Change B + type: enhancement + link: https://github.com/elastic/package-spec/pull/193 + - description: Change C + type: enhancement + link: https://github.com/elastic/package-spec/pull/193 +- version: 0.1.2 + changes: + - description: initial release + type: enhancement + link: https://github.com/elastic/package-spec/pull/131 diff --git a/test/packages/with_links/data_stream/foo/_dev/benchmark/pipeline/access-event.json b/test/packages/with_links/data_stream/foo/_dev/benchmark/pipeline/access-event.json new file mode 100644 index 000000000..e762b2e45 --- /dev/null +++ b/test/packages/with_links/data_stream/foo/_dev/benchmark/pipeline/access-event.json @@ -0,0 +1,16 @@ +{ + "events": [ + { + "@timestamp": "2016-10-25T12:49:34.000Z", + "message": "127.0.0.1 - - [07/Dec/2016:11:04:37 +0100] \"GET /test1 HTTP/1.1\" 404 571 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.98 Safari/537.36\"\n" + }, + { + "@timestamp": "2016-10-25T12:49:34.000Z", + "message": "127.0.0.1 - - [07/Dec/2016:11:05:07 +0100] \"GET /taga HTTP/1.1\" 404 169 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:49.0) Gecko/20100101 Firefox/49.0\"\n" + }, + { + "@timestamp": "2020-10-25T12:49:34.000Z", + "message": "127.0.0.1 - - [07/Dec/2016:11:05:07 +0100] \"GET /tagb HTTP/1.1\" 404 169 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:49.0) Gecko/20100101 Firefox/49.0\"\n" + } + ] +} \ No newline at end of file diff --git a/test/packages/with_links/data_stream/foo/_dev/benchmark/pipeline/access-raw.log b/test/packages/with_links/data_stream/foo/_dev/benchmark/pipeline/access-raw.log new file mode 100644 index 000000000..355980356 --- /dev/null +++ b/test/packages/with_links/data_stream/foo/_dev/benchmark/pipeline/access-raw.log @@ -0,0 +1,12 @@ +127.0.0.1 - - [07/Dec/2016:11:04:37 +0100] "GET /test1 HTTP/1.1" 404 571 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.98 Safari/537.36" +127.0.0.1 - - [07/Dec/2016:11:04:58 +0100] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:49.0) Gecko/20100101 Firefox/49.0" +127.0.0.1 - - [07/Dec/2016:11:04:59 +0100] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:49.0) Gecko/20100101 Firefox/49.0" +127.0.0.1 - - [07/Dec/2016:11:05:07 +0100] "GET /taga HTTP/1.1" 404 169 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:49.0) Gecko/20100101 Firefox/49.0" +77.179.66.156 - - [07/Dec/2016:10:34:43 +0100] "GET / HTTP/1.1" 200 612 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.98 Safari/537.36" +77.179.66.156 - - [07/Dec/2016:10:34:43 +0100] "GET /favicon.ico HTTP/1.1" 404 571 "http://localhost:8080/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.98 Safari/537.36" +77.179.66.156 - - [07/Dec/2016:10:43:18 +0100] "GET /test HTTP/1.1" 404 571 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.98 Safari/537.36" +77.179.66.156 - - [07/Dec/2016:10:43:21 +0100] "GET /test HTTP/1.1" 404 571 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.98 Safari/537.36" +77.179.66.156 - - [07/Dec/2016:10:43:23 +0100] "GET /test1 HTTP/1.1" 404 571 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.98 Safari/537.36" +77.179.66.156 - - [25/Oct/2016:14:49:33 +0200] "GET / HTTP/1.1" 200 612 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.59 Safari/537.36" +77.179.66.156 - - [25/Oct/2016:14:49:34 +0200] "GET /favicon.ico HTTP/1.1" 404 571 "http://localhost:8080/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.59 Safari/537.36" +77.179.66.156 - - [25/Oct/2016:14:50:44 +0200] "GET /adsasd HTTP/1.1" 404 571 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.59 Safari/537.36" \ No newline at end of file diff --git a/test/packages/with_links/data_stream/foo/_dev/benchmark/pipeline/config.yml b/test/packages/with_links/data_stream/foo/_dev/benchmark/pipeline/config.yml new file mode 100644 index 000000000..c95129135 --- /dev/null +++ b/test/packages/with_links/data_stream/foo/_dev/benchmark/pipeline/config.yml @@ -0,0 +1 @@ +num_docs: 10000 \ No newline at end of file diff --git a/test/packages/with_links/data_stream/foo/_dev/deploy/docker/docker-compose.d/hi.sh b/test/packages/with_links/data_stream/foo/_dev/deploy/docker/docker-compose.d/hi.sh new file mode 100644 index 000000000..3c7fa7b8e --- /dev/null +++ b/test/packages/with_links/data_stream/foo/_dev/deploy/docker/docker-compose.d/hi.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +echo "Hello!" diff --git a/test/packages/with_links/data_stream/foo/_dev/deploy/docker/docker-compose.yml b/test/packages/with_links/data_stream/foo/_dev/deploy/docker/docker-compose.yml new file mode 100644 index 000000000..65b87adfd --- /dev/null +++ b/test/packages/with_links/data_stream/foo/_dev/deploy/docker/docker-compose.yml @@ -0,0 +1,3 @@ +version: '2.3' +services: + hello_world: \ No newline at end of file diff --git a/test/packages/with_links/data_stream/foo/_dev/deploy/tf/.terraform.lock.hcl b/test/packages/with_links/data_stream/foo/_dev/deploy/tf/.terraform.lock.hcl new file mode 100644 index 000000000..fbb6f39c1 --- /dev/null +++ b/test/packages/with_links/data_stream/foo/_dev/deploy/tf/.terraform.lock.hcl @@ -0,0 +1,8 @@ +# This file is maintained automatically by "terraform init". +# Manual edits may be lost in future updates. + +provider "registry.terraform.io/hashicorp/google" { +} + +provider "registry.terraform.io/hashicorp/local" { +} diff --git a/test/packages/with_links/data_stream/foo/_dev/deploy/tf/data.json b/test/packages/with_links/data_stream/foo/_dev/deploy/tf/data.json new file mode 100644 index 000000000..ada45b78f --- /dev/null +++ b/test/packages/with_links/data_stream/foo/_dev/deploy/tf/data.json @@ -0,0 +1,3 @@ +{ + "a": "data file containing json" +} diff --git a/test/packages/with_links/data_stream/foo/_dev/deploy/tf/main.tf b/test/packages/with_links/data_stream/foo/_dev/deploy/tf/main.tf new file mode 100644 index 000000000..f6a81b458 --- /dev/null +++ b/test/packages/with_links/data_stream/foo/_dev/deploy/tf/main.tf @@ -0,0 +1 @@ +# A Terraform file diff --git a/test/packages/with_links/data_stream/foo/_dev/deploy/tf/some-module.tf b/test/packages/with_links/data_stream/foo/_dev/deploy/tf/some-module.tf new file mode 100644 index 000000000..b6fc4c620 --- /dev/null +++ b/test/packages/with_links/data_stream/foo/_dev/deploy/tf/some-module.tf @@ -0,0 +1 @@ +hello \ No newline at end of file diff --git a/test/packages/with_links/data_stream/foo/_dev/deploy/tf/template.tftpl b/test/packages/with_links/data_stream/foo/_dev/deploy/tf/template.tftpl new file mode 100644 index 000000000..d9e45e2a0 --- /dev/null +++ b/test/packages/with_links/data_stream/foo/_dev/deploy/tf/template.tftpl @@ -0,0 +1 @@ +A Terraform template file diff --git a/test/packages/with_links/data_stream/foo/_dev/test/pipeline/test-access-event.json b/test/packages/with_links/data_stream/foo/_dev/test/pipeline/test-access-event.json new file mode 100644 index 000000000..e762b2e45 --- /dev/null +++ b/test/packages/with_links/data_stream/foo/_dev/test/pipeline/test-access-event.json @@ -0,0 +1,16 @@ +{ + "events": [ + { + "@timestamp": "2016-10-25T12:49:34.000Z", + "message": "127.0.0.1 - - [07/Dec/2016:11:04:37 +0100] \"GET /test1 HTTP/1.1\" 404 571 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.98 Safari/537.36\"\n" + }, + { + "@timestamp": "2016-10-25T12:49:34.000Z", + "message": "127.0.0.1 - - [07/Dec/2016:11:05:07 +0100] \"GET /taga HTTP/1.1\" 404 169 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:49.0) Gecko/20100101 Firefox/49.0\"\n" + }, + { + "@timestamp": "2020-10-25T12:49:34.000Z", + "message": "127.0.0.1 - - [07/Dec/2016:11:05:07 +0100] \"GET /tagb HTTP/1.1\" 404 169 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:49.0) Gecko/20100101 Firefox/49.0\"\n" + } + ] +} \ No newline at end of file diff --git a/test/packages/with_links/data_stream/foo/_dev/test/pipeline/test-access-event.json-expected.json b/test/packages/with_links/data_stream/foo/_dev/test/pipeline/test-access-event.json-expected.json new file mode 100644 index 000000000..8ac18bd4f --- /dev/null +++ b/test/packages/with_links/data_stream/foo/_dev/test/pipeline/test-access-event.json-expected.json @@ -0,0 +1,121 @@ +{ + "expected": [ + { + "@timestamp": "2016-12-07T10:04:37.000Z", + "nginx": { + "access": { + "remote_ip_list": [ + "127.0.0.1" + ] + } + }, + "related": { + "ip": [ + "127.0.0.1" + ] + }, + "http": { + "request": { + "method": "get" + }, + "version": "1.1", + "response": { + "body": { + "bytes": 571 + }, + "status_code": 404 + } + }, + "source": { + "address": "127.0.0.1", + "ip": "127.0.0.1" + }, + "event": { + "category": [ + "web" + ], + "type": [ + "access" + ], + "created": "2016-10-25T12:49:34.000Z", + "kind": "event", + "outcome": "failure" + }, + "user_agent": { + "name": "Chrome", + "original": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.98 Safari/537.36", + "os": { + "name": "Mac OS X", + "version": "10.12.0", + "full": "Mac OS X 10.12.0" + }, + "device": { + "name": "Mac" + }, + "version": "54.0.2840.98" + }, + "url": { + "original": "/test1" + } + }, + { + "@timestamp": "2016-12-07T10:05:07.000Z", + "nginx": { + "access": { + "remote_ip_list": [ + "127.0.0.1" + ] + } + }, + "related": { + "ip": [ + "127.0.0.1" + ] + }, + "http": { + "request": { + "method": "get" + }, + "version": "1.1", + "response": { + "body": { + "bytes": 169 + }, + "status_code": 404 + } + }, + "source": { + "address": "127.0.0.1", + "ip": "127.0.0.1" + }, + "event": { + "category": [ + "web" + ], + "type": [ + "access" + ], + "created": "2016-10-25T12:49:34.000Z", + "kind": "event", + "outcome": "failure" + }, + "user_agent": { + "name": "Firefox", + "original": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:49.0) Gecko/20100101 Firefox/49.0", + "os": { + "name": "Mac OS X", + "version": "10.12", + "full": "Mac OS X 10.12" + }, + "device": { + "name": "Mac" + }, + "version": "49.0." + }, + "url": { + "original": "/taga" + } + }, + null + ] +} \ No newline at end of file diff --git a/test/packages/with_links/data_stream/foo/_dev/test/pipeline/test-access-raw.log b/test/packages/with_links/data_stream/foo/_dev/test/pipeline/test-access-raw.log new file mode 100644 index 000000000..355980356 --- /dev/null +++ b/test/packages/with_links/data_stream/foo/_dev/test/pipeline/test-access-raw.log @@ -0,0 +1,12 @@ +127.0.0.1 - - [07/Dec/2016:11:04:37 +0100] "GET /test1 HTTP/1.1" 404 571 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.98 Safari/537.36" +127.0.0.1 - - [07/Dec/2016:11:04:58 +0100] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:49.0) Gecko/20100101 Firefox/49.0" +127.0.0.1 - - [07/Dec/2016:11:04:59 +0100] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:49.0) Gecko/20100101 Firefox/49.0" +127.0.0.1 - - [07/Dec/2016:11:05:07 +0100] "GET /taga HTTP/1.1" 404 169 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:49.0) Gecko/20100101 Firefox/49.0" +77.179.66.156 - - [07/Dec/2016:10:34:43 +0100] "GET / HTTP/1.1" 200 612 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.98 Safari/537.36" +77.179.66.156 - - [07/Dec/2016:10:34:43 +0100] "GET /favicon.ico HTTP/1.1" 404 571 "http://localhost:8080/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.98 Safari/537.36" +77.179.66.156 - - [07/Dec/2016:10:43:18 +0100] "GET /test HTTP/1.1" 404 571 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.98 Safari/537.36" +77.179.66.156 - - [07/Dec/2016:10:43:21 +0100] "GET /test HTTP/1.1" 404 571 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.98 Safari/537.36" +77.179.66.156 - - [07/Dec/2016:10:43:23 +0100] "GET /test1 HTTP/1.1" 404 571 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.98 Safari/537.36" +77.179.66.156 - - [25/Oct/2016:14:49:33 +0200] "GET / HTTP/1.1" 200 612 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.59 Safari/537.36" +77.179.66.156 - - [25/Oct/2016:14:49:34 +0200] "GET /favicon.ico HTTP/1.1" 404 571 "http://localhost:8080/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.59 Safari/537.36" +77.179.66.156 - - [25/Oct/2016:14:50:44 +0200] "GET /adsasd HTTP/1.1" 404 571 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.59 Safari/537.36" \ No newline at end of file diff --git a/test/packages/with_links/data_stream/foo/_dev/test/pipeline/test-access-raw.log-config.yml b/test/packages/with_links/data_stream/foo/_dev/test/pipeline/test-access-raw.log-config.yml new file mode 100644 index 000000000..2c0c967a2 --- /dev/null +++ b/test/packages/with_links/data_stream/foo/_dev/test/pipeline/test-access-raw.log-config.yml @@ -0,0 +1,8 @@ +fields: + "@timestamp": "2020-04-28T11:07:58.223Z" + ecs.version: "1.5.0" + event.category: + - web +dynamic_fields: + foobar: ".+" + a_numeric_field: "\\d+" diff --git a/test/packages/with_links/data_stream/foo/_dev/test/pipeline/test-access-raw.log-expected.json b/test/packages/with_links/data_stream/foo/_dev/test/pipeline/test-access-raw.log-expected.json new file mode 100644 index 000000000..4b619857f --- /dev/null +++ b/test/packages/with_links/data_stream/foo/_dev/test/pipeline/test-access-raw.log-expected.json @@ -0,0 +1,910 @@ +{ + "expected": [ + { + "event.category": [ + "web" + ], + "nginx": { + "access": { + "remote_ip_list": [ + "127.0.0.1" + ] + } + }, + "source": { + "address": "127.0.0.1", + "ip": "127.0.0.1" + }, + "url": { + "original": "/test1" + }, + "@timestamp": "2016-12-07T10:04:37.000Z", + "ecs": { + "version": "1.5.0" + }, + "related": { + "ip": [ + "127.0.0.1" + ] + }, + "http": { + "request": { + "method": "get" + }, + "version": "1.1", + "response": { + "body": { + "bytes": 571 + }, + "status_code": 404 + } + }, + "event": { + "category": [ + "web" + ], + "type": [ + "access" + ], + "created": "2020-04-28T11:07:58.223Z", + "kind": "event", + "outcome": "failure" + }, + "user_agent": { + "name": "Chrome", + "original": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.98 Safari/537.36", + "os": { + "name": "Mac OS X", + "version": "10.12.0", + "full": "Mac OS X 10.12.0" + }, + "device": { + "name": "Mac" + }, + "version": "54.0.2840.98" + } + }, + { + "event.category": [ + "web" + ], + "nginx": { + "access": { + "remote_ip_list": [ + "127.0.0.1" + ] + } + }, + "source": { + "address": "127.0.0.1", + "ip": "127.0.0.1" + }, + "url": { + "original": "/" + }, + "@timestamp": "2016-12-07T10:04:58.000Z", + "ecs": { + "version": "1.5.0" + }, + "related": { + "ip": [ + "127.0.0.1" + ] + }, + "http": { + "request": { + "method": "get" + }, + "version": "1.1", + "response": { + "body": { + "bytes": 0 + }, + "status_code": 304 + } + }, + "event": { + "category": [ + "web" + ], + "type": [ + "access" + ], + "created": "2020-04-28T11:07:58.223Z", + "kind": "event", + "outcome": "success" + }, + "user_agent": { + "name": "Firefox", + "original": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:49.0) Gecko/20100101 Firefox/49.0", + "os": { + "name": "Mac OS X", + "version": "10.12", + "full": "Mac OS X 10.12" + }, + "device": { + "name": "Mac" + }, + "version": "49.0." + } + }, + { + "event.category": [ + "web" + ], + "nginx": { + "access": { + "remote_ip_list": [ + "127.0.0.1" + ] + } + }, + "source": { + "address": "127.0.0.1", + "ip": "127.0.0.1" + }, + "url": { + "original": "/" + }, + "@timestamp": "2016-12-07T10:04:59.000Z", + "ecs": { + "version": "1.5.0" + }, + "related": { + "ip": [ + "127.0.0.1" + ] + }, + "http": { + "request": { + "method": "get" + }, + "version": "1.1", + "response": { + "body": { + "bytes": 0 + }, + "status_code": 304 + } + }, + "event": { + "category": [ + "web" + ], + "type": [ + "access" + ], + "created": "2020-04-28T11:07:58.223Z", + "kind": "event", + "outcome": "success" + }, + "user_agent": { + "name": "Firefox", + "original": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:49.0) Gecko/20100101 Firefox/49.0", + "os": { + "name": "Mac OS X", + "version": "10.12", + "full": "Mac OS X 10.12" + }, + "device": { + "name": "Mac" + }, + "version": "49.0." + } + }, + { + "event.category": [ + "web" + ], + "nginx": { + "access": { + "remote_ip_list": [ + "127.0.0.1" + ] + } + }, + "source": { + "address": "127.0.0.1", + "ip": "127.0.0.1" + }, + "url": { + "original": "/taga" + }, + "@timestamp": "2016-12-07T10:05:07.000Z", + "ecs": { + "version": "1.5.0" + }, + "related": { + "ip": [ + "127.0.0.1" + ] + }, + "http": { + "request": { + "method": "get" + }, + "version": "1.1", + "response": { + "body": { + "bytes": 169 + }, + "status_code": 404 + } + }, + "event": { + "category": [ + "web" + ], + "type": [ + "access" + ], + "created": "2020-04-28T11:07:58.223Z", + "kind": "event", + "outcome": "failure" + }, + "user_agent": { + "name": "Firefox", + "original": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:49.0) Gecko/20100101 Firefox/49.0", + "os": { + "name": "Mac OS X", + "version": "10.12", + "full": "Mac OS X 10.12" + }, + "device": { + "name": "Mac" + }, + "version": "49.0." + } + }, + { + "event.category": [ + "web" + ], + "nginx": { + "access": { + "remote_ip_list": [ + "77.179.66.156" + ] + } + }, + "source": { + "geo": { + "continent_name": "Europe", + "region_iso_code": "DE-RP", + "city_name": "Germersheim", + "region_name": "Rheinland-Pfalz", + "location": { + "lon": 8.3639, + "lat": 49.2231 + }, + "country_iso_code": "DE" + }, + "as": { + "number": 6805, + "organization": { + "name": "Telefonica Germany" + } + }, + "address": "77.179.66.156", + "ip": "77.179.66.156" + }, + "url": { + "original": "/" + }, + "@timestamp": "2016-12-07T09:34:43.000Z", + "ecs": { + "version": "1.5.0" + }, + "related": { + "ip": [ + "77.179.66.156" + ] + }, + "http": { + "request": { + "method": "get" + }, + "version": "1.1", + "response": { + "body": { + "bytes": 612 + }, + "status_code": 200 + } + }, + "event": { + "category": [ + "web" + ], + "type": [ + "access" + ], + "created": "2020-04-28T11:07:58.223Z", + "kind": "event", + "outcome": "success" + }, + "user_agent": { + "name": "Chrome", + "original": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.98 Safari/537.36", + "os": { + "name": "Mac OS X", + "version": "10.12.0", + "full": "Mac OS X 10.12.0" + }, + "device": { + "name": "Mac" + }, + "version": "54.0.2840.98" + } + }, + { + "event.category": [ + "web" + ], + "nginx": { + "access": { + "remote_ip_list": [ + "77.179.66.156" + ] + } + }, + "source": { + "geo": { + "continent_name": "Europe", + "region_iso_code": "DE-RP", + "city_name": "Germersheim", + "region_name": "Rheinland-Pfalz", + "location": { + "lon": 8.3639, + "lat": 49.2231 + }, + "country_iso_code": "DE" + }, + "as": { + "number": 6805, + "organization": { + "name": "Telefonica Germany" + } + }, + "address": "77.179.66.156", + "ip": "77.179.66.156" + }, + "url": { + "original": "/favicon.ico" + }, + "@timestamp": "2016-12-07T09:34:43.000Z", + "ecs": { + "version": "1.5.0" + }, + "related": { + "ip": [ + "77.179.66.156" + ] + }, + "http": { + "request": { + "method": "get", + "referrer": "http://localhost:8080/" + }, + "version": "1.1", + "response": { + "body": { + "bytes": 571 + }, + "status_code": 404 + } + }, + "event": { + "category": [ + "web" + ], + "type": [ + "access" + ], + "created": "2020-04-28T11:07:58.223Z", + "kind": "event", + "outcome": "failure" + }, + "user_agent": { + "name": "Chrome", + "original": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.98 Safari/537.36", + "os": { + "name": "Mac OS X", + "version": "10.12.0", + "full": "Mac OS X 10.12.0" + }, + "device": { + "name": "Mac" + }, + "version": "54.0.2840.98" + } + }, + { + "event.category": [ + "web" + ], + "nginx": { + "access": { + "remote_ip_list": [ + "77.179.66.156" + ] + } + }, + "source": { + "geo": { + "continent_name": "Europe", + "region_iso_code": "DE-RP", + "city_name": "Germersheim", + "region_name": "Rheinland-Pfalz", + "location": { + "lon": 8.3639, + "lat": 49.2231 + }, + "country_iso_code": "DE" + }, + "as": { + "number": 6805, + "organization": { + "name": "Telefonica Germany" + } + }, + "address": "77.179.66.156", + "ip": "77.179.66.156" + }, + "url": { + "original": "/test" + }, + "@timestamp": "2016-12-07T09:43:18.000Z", + "ecs": { + "version": "1.5.0" + }, + "related": { + "ip": [ + "77.179.66.156" + ] + }, + "http": { + "request": { + "method": "get" + }, + "version": "1.1", + "response": { + "body": { + "bytes": 571 + }, + "status_code": 404 + } + }, + "event": { + "category": [ + "web" + ], + "type": [ + "access" + ], + "created": "2020-04-28T11:07:58.223Z", + "kind": "event", + "outcome": "failure" + }, + "user_agent": { + "name": "Chrome", + "original": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.98 Safari/537.36", + "os": { + "name": "Mac OS X", + "version": "10.12.0", + "full": "Mac OS X 10.12.0" + }, + "device": { + "name": "Mac" + }, + "version": "54.0.2840.98" + } + }, + { + "event.category": [ + "web" + ], + "nginx": { + "access": { + "remote_ip_list": [ + "77.179.66.156" + ] + } + }, + "source": { + "geo": { + "continent_name": "Europe", + "region_iso_code": "DE-RP", + "city_name": "Germersheim", + "region_name": "Rheinland-Pfalz", + "location": { + "lon": 8.3639, + "lat": 49.2231 + }, + "country_iso_code": "DE" + }, + "as": { + "number": 6805, + "organization": { + "name": "Telefonica Germany" + } + }, + "address": "77.179.66.156", + "ip": "77.179.66.156" + }, + "url": { + "original": "/test" + }, + "@timestamp": "2016-12-07T09:43:21.000Z", + "ecs": { + "version": "1.5.0" + }, + "related": { + "ip": [ + "77.179.66.156" + ] + }, + "http": { + "request": { + "method": "get" + }, + "version": "1.1", + "response": { + "body": { + "bytes": 571 + }, + "status_code": 404 + } + }, + "event": { + "category": [ + "web" + ], + "type": [ + "access" + ], + "created": "2020-04-28T11:07:58.223Z", + "kind": "event", + "outcome": "failure" + }, + "user_agent": { + "name": "Chrome", + "original": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.98 Safari/537.36", + "os": { + "name": "Mac OS X", + "version": "10.12.0", + "full": "Mac OS X 10.12.0" + }, + "device": { + "name": "Mac" + }, + "version": "54.0.2840.98" + } + }, + { + "event.category": [ + "web" + ], + "nginx": { + "access": { + "remote_ip_list": [ + "77.179.66.156" + ] + } + }, + "source": { + "geo": { + "continent_name": "Europe", + "region_iso_code": "DE-RP", + "city_name": "Germersheim", + "region_name": "Rheinland-Pfalz", + "location": { + "lon": 8.3639, + "lat": 49.2231 + }, + "country_iso_code": "DE" + }, + "as": { + "number": 6805, + "organization": { + "name": "Telefonica Germany" + } + }, + "address": "77.179.66.156", + "ip": "77.179.66.156" + }, + "url": { + "original": "/test1" + }, + "@timestamp": "2016-12-07T09:43:23.000Z", + "ecs": { + "version": "1.5.0" + }, + "related": { + "ip": [ + "77.179.66.156" + ] + }, + "http": { + "request": { + "method": "get" + }, + "version": "1.1", + "response": { + "body": { + "bytes": 571 + }, + "status_code": 404 + } + }, + "event": { + "category": [ + "web" + ], + "type": [ + "access" + ], + "created": "2020-04-28T11:07:58.223Z", + "kind": "event", + "outcome": "failure" + }, + "user_agent": { + "name": "Chrome", + "original": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.98 Safari/537.36", + "os": { + "name": "Mac OS X", + "version": "10.12.0", + "full": "Mac OS X 10.12.0" + }, + "device": { + "name": "Mac" + }, + "version": "54.0.2840.98" + } + }, + { + "event.category": [ + "web" + ], + "nginx": { + "access": { + "remote_ip_list": [ + "77.179.66.156" + ] + } + }, + "source": { + "geo": { + "continent_name": "Europe", + "region_iso_code": "DE-RP", + "city_name": "Germersheim", + "region_name": "Rheinland-Pfalz", + "location": { + "lon": 8.3639, + "lat": 49.2231 + }, + "country_iso_code": "DE" + }, + "as": { + "number": 6805, + "organization": { + "name": "Telefonica Germany" + } + }, + "address": "77.179.66.156", + "ip": "77.179.66.156" + }, + "url": { + "original": "/" + }, + "@timestamp": "2016-10-25T12:49:33.000Z", + "ecs": { + "version": "1.5.0" + }, + "related": { + "ip": [ + "77.179.66.156" + ] + }, + "http": { + "request": { + "method": "get" + }, + "version": "1.1", + "response": { + "body": { + "bytes": 612 + }, + "status_code": 200 + } + }, + "event": { + "category": [ + "web" + ], + "type": [ + "access" + ], + "created": "2020-04-28T11:07:58.223Z", + "kind": "event", + "outcome": "success" + }, + "user_agent": { + "name": "Chrome", + "original": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.59 Safari/537.36", + "os": { + "name": "Mac OS X", + "version": "10.12.0", + "full": "Mac OS X 10.12.0" + }, + "device": { + "name": "Mac" + }, + "version": "54.0.2840.59" + } + }, + { + "event.category": [ + "web" + ], + "nginx": { + "access": { + "remote_ip_list": [ + "77.179.66.156" + ] + } + }, + "source": { + "geo": { + "continent_name": "Europe", + "region_iso_code": "DE-RP", + "city_name": "Germersheim", + "region_name": "Rheinland-Pfalz", + "location": { + "lon": 8.3639, + "lat": 49.2231 + }, + "country_iso_code": "DE" + }, + "as": { + "number": 6805, + "organization": { + "name": "Telefonica Germany" + } + }, + "address": "77.179.66.156", + "ip": "77.179.66.156" + }, + "url": { + "original": "/favicon.ico" + }, + "@timestamp": "2016-10-25T12:49:34.000Z", + "ecs": { + "version": "1.5.0" + }, + "related": { + "ip": [ + "77.179.66.156" + ] + }, + "http": { + "request": { + "method": "get", + "referrer": "http://localhost:8080/" + }, + "version": "1.1", + "response": { + "body": { + "bytes": 571 + }, + "status_code": 404 + } + }, + "event": { + "category": [ + "web" + ], + "type": [ + "access" + ], + "created": "2020-04-28T11:07:58.223Z", + "kind": "event", + "outcome": "failure" + }, + "user_agent": { + "name": "Chrome", + "original": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.59 Safari/537.36", + "os": { + "name": "Mac OS X", + "version": "10.12.0", + "full": "Mac OS X 10.12.0" + }, + "device": { + "name": "Mac" + }, + "version": "54.0.2840.59" + } + }, + { + "event.category": [ + "web" + ], + "nginx": { + "access": { + "remote_ip_list": [ + "77.179.66.156" + ] + } + }, + "source": { + "geo": { + "continent_name": "Europe", + "region_iso_code": "DE-RP", + "city_name": "Germersheim", + "region_name": "Rheinland-Pfalz", + "location": { + "lon": 8.3639, + "lat": 49.2231 + }, + "country_iso_code": "DE" + }, + "as": { + "number": 6805, + "organization": { + "name": "Telefonica Germany" + } + }, + "address": "77.179.66.156", + "ip": "77.179.66.156" + }, + "url": { + "original": "/adsasd" + }, + "@timestamp": "2016-10-25T12:50:44.000Z", + "ecs": { + "version": "1.5.0" + }, + "related": { + "ip": [ + "77.179.66.156" + ] + }, + "http": { + "request": { + "method": "get" + }, + "version": "1.1", + "response": { + "body": { + "bytes": 571 + }, + "status_code": 404 + } + }, + "event": { + "category": [ + "web" + ], + "type": [ + "access" + ], + "created": "2020-04-28T11:07:58.223Z", + "kind": "event", + "outcome": "failure" + }, + "user_agent": { + "name": "Chrome", + "original": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.59 Safari/537.36", + "os": { + "name": "Mac OS X", + "version": "10.12.0", + "full": "Mac OS X 10.12.0" + }, + "device": { + "name": "Mac" + }, + "version": "54.0.2840.59" + } + } + ] +} \ No newline at end of file diff --git a/test/packages/with_links/data_stream/foo/_dev/test/pipeline/test-common-config.yml b/test/packages/with_links/data_stream/foo/_dev/test/pipeline/test-common-config.yml new file mode 100644 index 000000000..5c613127b --- /dev/null +++ b/test/packages/with_links/data_stream/foo/_dev/test/pipeline/test-common-config.yml @@ -0,0 +1,2 @@ +multiline: + first_line_pattern: "^(?:[0-9]{1,3}\\.){3}[0-9]{1,3}" \ No newline at end of file diff --git a/test/packages/with_links/data_stream/foo/_dev/test/system/test-default-config.yml b/test/packages/with_links/data_stream/foo/_dev/test/system/test-default-config.yml new file mode 100644 index 000000000..3f2490ecf --- /dev/null +++ b/test/packages/with_links/data_stream/foo/_dev/test/system/test-default-config.yml @@ -0,0 +1,4 @@ +wait_for_data_timeout: 10m +skip_ignored_fields: + - error.message +vars: ~ \ No newline at end of file diff --git a/test/packages/with_links/data_stream/foo/agent/stream/s3.yml.hbs.link b/test/packages/with_links/data_stream/foo/agent/stream/s3.yml.hbs.link new file mode 100644 index 000000000..3b8a26f37 --- /dev/null +++ b/test/packages/with_links/data_stream/foo/agent/stream/s3.yml.hbs.link @@ -0,0 +1 @@ +../../../../_dev/shared/s3.yml.hbs 44fba1bf58b7598e6347a5bca6336d2d191d2c54c78eff0fe9502c8e86be390a \ No newline at end of file diff --git a/test/packages/with_links/data_stream/foo/elasticsearch/ingest_pipeline/default.json.link b/test/packages/with_links/data_stream/foo/elasticsearch/ingest_pipeline/default.json.link new file mode 100644 index 000000000..be78df06b --- /dev/null +++ b/test/packages/with_links/data_stream/foo/elasticsearch/ingest_pipeline/default.json.link @@ -0,0 +1 @@ +../../../../_dev/shared/default.json e0ab6a91e1478bbbd7ceef0dc942a285bdef2bb3d78a4683dca80ea099a5ff59 \ No newline at end of file diff --git a/test/packages/with_links/data_stream/foo/fields/base-fields.yml b/test/packages/with_links/data_stream/foo/fields/base-fields.yml new file mode 100644 index 000000000..a3e80e3a5 --- /dev/null +++ b/test/packages/with_links/data_stream/foo/fields/base-fields.yml @@ -0,0 +1,9 @@ +- name: data_stream.type + type: constant_keyword + description: Data stream type. +- name: data_stream.dataset + type: constant_keyword + description: Data stream dataset. +- name: data_stream.namespace + type: constant_keyword + description: Data stream namespace. diff --git a/test/packages/with_links/data_stream/foo/fields/external-fields.yml b/test/packages/with_links/data_stream/foo/fields/external-fields.yml new file mode 100644 index 000000000..f0a2a9a1c --- /dev/null +++ b/test/packages/with_links/data_stream/foo/fields/external-fields.yml @@ -0,0 +1,8 @@ +- name: "@timestamp" + external: ecs +- name: event + type: group + description: Event family + fields: + - name: category + external: ecs diff --git a/test/packages/with_links/data_stream/foo/fields/some-fields.yml.link b/test/packages/with_links/data_stream/foo/fields/some-fields.yml.link new file mode 100644 index 000000000..288f59fde --- /dev/null +++ b/test/packages/with_links/data_stream/foo/fields/some-fields.yml.link @@ -0,0 +1 @@ +../../../_dev/shared/some_fields.yml 9fe744e9d6cbf9c6057a38327936b8b66e48a087479e781e9a344bb2502182a0 \ No newline at end of file diff --git a/test/packages/with_links/data_stream/foo/manifest.yml b/test/packages/with_links/data_stream/foo/manifest.yml new file mode 100644 index 000000000..11eb14fad --- /dev/null +++ b/test/packages/with_links/data_stream/foo/manifest.yml @@ -0,0 +1,38 @@ +title: Nginx access logs +type: logs +streams: + - input: logfile + vars: + - name: empty_array + type: text + title: Empty array + multi: true + required: false + show_user: true + default: [] + - name: paths + type: text + title: Paths + multi: true + required: true + show_user: true + default: + - /var/log/nginx/access.log* + - name: server_status_path + type: text + title: Server Status Path + multi: false + required: true + show_user: false + default: /server-status + title: Nginx access logs + description: Collect Nginx access logs +dataset_is_prefix: true +elasticsearch.index_template.mappings: + a: + b: 1 +elasticsearch.index_template.ingest_pipeline.name: foobar +elasticsearch.index_template.data_stream.hidden: true +elasticsearch.privileges.indices: [auto_configure, create_doc, monitor] +elasticsearch.dynamic_dataset: true +elasticsearch.dynamic_namespace: true diff --git a/test/packages/with_links/data_stream/hidden_data_stream/fields/base-fields.yml b/test/packages/with_links/data_stream/hidden_data_stream/fields/base-fields.yml new file mode 100644 index 000000000..7c798f453 --- /dev/null +++ b/test/packages/with_links/data_stream/hidden_data_stream/fields/base-fields.yml @@ -0,0 +1,12 @@ +- name: data_stream.type + type: constant_keyword + description: Data stream type. +- name: data_stream.dataset + type: constant_keyword + description: Data stream dataset. +- name: data_stream.namespace + type: constant_keyword + description: Data stream namespace. +- name: '@timestamp' + type: date + description: Event timestamp. diff --git a/test/packages/with_links/data_stream/hidden_data_stream/fields/some_fields.yml b/test/packages/with_links/data_stream/hidden_data_stream/fields/some_fields.yml new file mode 100644 index 000000000..4f46a95bf --- /dev/null +++ b/test/packages/with_links/data_stream/hidden_data_stream/fields/some_fields.yml @@ -0,0 +1,14 @@ +- name: source + title: Source + group: 2 + type: group + fields: + - name: geo.city_name + level: core + type: keyword + description: City name. + ignore_above: 1024 +- name: foobar + type: text + description: A field with a pattern defined + pattern: '^[a-zA-Z]$' \ No newline at end of file diff --git a/test/packages/with_links/data_stream/hidden_data_stream/manifest.yml b/test/packages/with_links/data_stream/hidden_data_stream/manifest.yml new file mode 100644 index 000000000..be7a5ce5e --- /dev/null +++ b/test/packages/with_links/data_stream/hidden_data_stream/manifest.yml @@ -0,0 +1,6 @@ +title: Hidden data stream and ilm policy overrride +type: metrics +hidden: true +elasticsearch: + index_template.mappings: + dynamic: false diff --git a/test/packages/with_links/data_stream/ilm_policy/elasticsearch/ilm/diagnostics.json b/test/packages/with_links/data_stream/ilm_policy/elasticsearch/ilm/diagnostics.json new file mode 100644 index 000000000..8d248d82b --- /dev/null +++ b/test/packages/with_links/data_stream/ilm_policy/elasticsearch/ilm/diagnostics.json @@ -0,0 +1,15 @@ +{ + "policy": { + "phases": { + "hot": { + "min_age": "0ms", + "actions": { + "rollover": { + "max_size": "10gb", + "max_age": "1d" + } + } + } + } + } +} \ No newline at end of file diff --git a/test/packages/with_links/data_stream/ilm_policy/fields/base-fields.yml b/test/packages/with_links/data_stream/ilm_policy/fields/base-fields.yml new file mode 100644 index 000000000..7c798f453 --- /dev/null +++ b/test/packages/with_links/data_stream/ilm_policy/fields/base-fields.yml @@ -0,0 +1,12 @@ +- name: data_stream.type + type: constant_keyword + description: Data stream type. +- name: data_stream.dataset + type: constant_keyword + description: Data stream dataset. +- name: data_stream.namespace + type: constant_keyword + description: Data stream namespace. +- name: '@timestamp' + type: date + description: Event timestamp. diff --git a/test/packages/with_links/data_stream/ilm_policy/fields/some_fields.yml b/test/packages/with_links/data_stream/ilm_policy/fields/some_fields.yml new file mode 100644 index 000000000..f9b0e048d --- /dev/null +++ b/test/packages/with_links/data_stream/ilm_policy/fields/some_fields.yml @@ -0,0 +1,14 @@ +- name: source + title: Source + group: 2 + type: group + fields: + - name: geo.city_name + level: core + type: keyword + description: City name. + ignore_above: 1024 +- name: foobar + type: text + description: A field with a pattern defined + pattern: '^[a-zA-Z]$' diff --git a/test/packages/with_links/data_stream/ilm_policy/manifest.yml b/test/packages/with_links/data_stream/ilm_policy/manifest.yml new file mode 100644 index 000000000..a5356165a --- /dev/null +++ b/test/packages/with_links/data_stream/ilm_policy/manifest.yml @@ -0,0 +1,6 @@ +title: Hidden data stream and ilm policy overrride +type: metrics +ilm_policy: metrics-good.ilm_policy-diagnostics +elasticsearch: + index_template.mappings: + dynamic: false diff --git a/test/packages/with_links/data_stream/k8s_data_stream/_dev/deploy/k8s/shell-demo.yaml b/test/packages/with_links/data_stream/k8s_data_stream/_dev/deploy/k8s/shell-demo.yaml new file mode 100644 index 000000000..f047b825f --- /dev/null +++ b/test/packages/with_links/data_stream/k8s_data_stream/_dev/deploy/k8s/shell-demo.yaml @@ -0,0 +1,16 @@ +apiVersion: v1 +kind: Pod +metadata: + name: shell-demo +spec: + volumes: + - name: shared-data + emptyDir: {} + containers: + - name: nginx + image: nginx + volumeMounts: + - name: shared-data + mountPath: /usr/share/nginx/html + hostNetwork: true + dnsPolicy: Default \ No newline at end of file diff --git a/test/packages/with_links/data_stream/k8s_data_stream/fields/base-fields.yml b/test/packages/with_links/data_stream/k8s_data_stream/fields/base-fields.yml new file mode 100644 index 000000000..7c798f453 --- /dev/null +++ b/test/packages/with_links/data_stream/k8s_data_stream/fields/base-fields.yml @@ -0,0 +1,12 @@ +- name: data_stream.type + type: constant_keyword + description: Data stream type. +- name: data_stream.dataset + type: constant_keyword + description: Data stream dataset. +- name: data_stream.namespace + type: constant_keyword + description: Data stream namespace. +- name: '@timestamp' + type: date + description: Event timestamp. diff --git a/test/packages/with_links/data_stream/k8s_data_stream/manifest.yml b/test/packages/with_links/data_stream/k8s_data_stream/manifest.yml new file mode 100644 index 000000000..bedfa8362 --- /dev/null +++ b/test/packages/with_links/data_stream/k8s_data_stream/manifest.yml @@ -0,0 +1,16 @@ +title: Data stream using Kubernetes service deployer for tests +type: logs +streams: + - input: logfile + vars: + - name: server_status_path + type: text + title: Server Status Path + multi: false + required: true + show_user: false + default: /server-status + title: Nginx access logs + description: Collect Nginx access logs +elasticsearch: + source_mode: "default" diff --git a/test/packages/with_links/data_stream/k8s_data_stream_no_definitions/_dev/deploy/k8s/.empty b/test/packages/with_links/data_stream/k8s_data_stream_no_definitions/_dev/deploy/k8s/.empty new file mode 100644 index 000000000..e69de29bb diff --git a/test/packages/with_links/data_stream/k8s_data_stream_no_definitions/fields/base-fields.yml b/test/packages/with_links/data_stream/k8s_data_stream_no_definitions/fields/base-fields.yml new file mode 100644 index 000000000..7c798f453 --- /dev/null +++ b/test/packages/with_links/data_stream/k8s_data_stream_no_definitions/fields/base-fields.yml @@ -0,0 +1,12 @@ +- name: data_stream.type + type: constant_keyword + description: Data stream type. +- name: data_stream.dataset + type: constant_keyword + description: Data stream dataset. +- name: data_stream.namespace + type: constant_keyword + description: Data stream namespace. +- name: '@timestamp' + type: date + description: Event timestamp. diff --git a/test/packages/with_links/data_stream/k8s_data_stream_no_definitions/manifest.yml b/test/packages/with_links/data_stream/k8s_data_stream_no_definitions/manifest.yml new file mode 100644 index 000000000..74a81d713 --- /dev/null +++ b/test/packages/with_links/data_stream/k8s_data_stream_no_definitions/manifest.yml @@ -0,0 +1,14 @@ +title: Data stream using Kubernetes service deployer for tests (without custom definitions) +type: logs +streams: + - input: logfile + vars: + - name: server_status_path + type: text + title: Server Status Path + multi: false + required: true + show_user: false + default: /server-status + title: Nginx access logs + description: Collect Nginx access logs diff --git a/test/packages/with_links/data_stream/pe/fields/base-fields.yml b/test/packages/with_links/data_stream/pe/fields/base-fields.yml new file mode 100644 index 000000000..7c798f453 --- /dev/null +++ b/test/packages/with_links/data_stream/pe/fields/base-fields.yml @@ -0,0 +1,12 @@ +- name: data_stream.type + type: constant_keyword + description: Data stream type. +- name: data_stream.dataset + type: constant_keyword + description: Data stream dataset. +- name: data_stream.namespace + type: constant_keyword + description: Data stream namespace. +- name: '@timestamp' + type: date + description: Event timestamp. diff --git a/test/packages/with_links/data_stream/pe/fields/some_fields.yml b/test/packages/with_links/data_stream/pe/fields/some_fields.yml new file mode 100644 index 000000000..e6e1d439f --- /dev/null +++ b/test/packages/with_links/data_stream/pe/fields/some_fields.yml @@ -0,0 +1,24 @@ +- name: source + title: Source + group: 2 + type: group + fields: + - name: geo.city_name + level: core + type: keyword + description: City name. + ignore_above: 1024 + - name: geo.location + level: core + type: geo_point + description: Longitude and latitude. + - name: geo.region_iso_code + level: core + type: keyword + description: Region ISO code. + ignore_above: 1024 + - name: geo.region_name + level: core + type: keyword + description: Region name. + ignore_above: 1024 \ No newline at end of file diff --git a/test/packages/with_links/data_stream/pe/manifest.yml b/test/packages/with_links/data_stream/pe/manifest.yml new file mode 100644 index 000000000..61ae8a0a4 --- /dev/null +++ b/test/packages/with_links/data_stream/pe/manifest.yml @@ -0,0 +1,22 @@ +title: pe sample +type: logs +streams: + - input: logfile + vars: + - name: paths + type: text + title: Paths + multi: true + required: true + show_user: true + default: + - /var/log/nginx/access.log* + - name: server_status_path + type: text + title: Server Status Path + multi: false + required: true + show_user: false + default: /server-status + title: Nginx access logs + description: Collect Nginx access logs diff --git a/test/packages/with_links/data_stream/skipped_tests/_dev/test/static/test-default-config.yml b/test/packages/with_links/data_stream/skipped_tests/_dev/test/static/test-default-config.yml new file mode 100644 index 000000000..31db3f088 --- /dev/null +++ b/test/packages/with_links/data_stream/skipped_tests/_dev/test/static/test-default-config.yml @@ -0,0 +1,3 @@ +skip: + reason: Test was skipped to test skipped test feature in spec. + link: https://github.com/elastic/integrations/issues/0 \ No newline at end of file diff --git a/test/packages/with_links/data_stream/skipped_tests/_dev/test/system/test-default-config.yml b/test/packages/with_links/data_stream/skipped_tests/_dev/test/system/test-default-config.yml new file mode 100644 index 000000000..7dbd2b771 --- /dev/null +++ b/test/packages/with_links/data_stream/skipped_tests/_dev/test/system/test-default-config.yml @@ -0,0 +1,9 @@ +skip: + reason: Test was skipped to test skipped test feature in spec. + link: https://github.com/elastic/integrations/issues/520 +input: foo +vars: ~ +data_stream: + vars: + paths: + - "{{SERVICE_LOGS_DIR}}/access.log" diff --git a/test/packages/with_links/data_stream/skipped_tests/fields/base-fields.yml b/test/packages/with_links/data_stream/skipped_tests/fields/base-fields.yml new file mode 100644 index 000000000..7c798f453 --- /dev/null +++ b/test/packages/with_links/data_stream/skipped_tests/fields/base-fields.yml @@ -0,0 +1,12 @@ +- name: data_stream.type + type: constant_keyword + description: Data stream type. +- name: data_stream.dataset + type: constant_keyword + description: Data stream dataset. +- name: data_stream.namespace + type: constant_keyword + description: Data stream namespace. +- name: '@timestamp' + type: date + description: Event timestamp. diff --git a/test/packages/with_links/data_stream/skipped_tests/fields/some_fields.yml b/test/packages/with_links/data_stream/skipped_tests/fields/some_fields.yml new file mode 100644 index 000000000..bde93f380 --- /dev/null +++ b/test/packages/with_links/data_stream/skipped_tests/fields/some_fields.yml @@ -0,0 +1,28 @@ +- name: source + title: Source + group: 2 + type: group + fields: + - name: geo.city_name + level: core + type: keyword + description: City name. + ignore_above: 1024 + - name: geo.location + level: core + type: geo_point + description: Longitude and latitude. + - name: geo.region_iso_code + level: core + type: keyword + description: Region ISO code. + ignore_above: 1024 + - name: geo.region_name + level: core + type: keyword + description: Region name. + ignore_above: 1024 +- name: foobar + type: text + description: A field with a pattern defined + pattern: '^[a-zA-Z]$' \ No newline at end of file diff --git a/test/packages/with_links/data_stream/skipped_tests/manifest.yml b/test/packages/with_links/data_stream/skipped_tests/manifest.yml new file mode 100644 index 000000000..a45b93e03 --- /dev/null +++ b/test/packages/with_links/data_stream/skipped_tests/manifest.yml @@ -0,0 +1,2 @@ +title: Package with skipped tests +type: metrics diff --git a/test/packages/with_links/docs/README.md b/test/packages/with_links/docs/README.md new file mode 100644 index 000000000..1c9bf4968 --- /dev/null +++ b/test/packages/with_links/docs/README.md @@ -0,0 +1 @@ +Main \ No newline at end of file diff --git a/test/packages/with_links/elasticsearch/ingest_pipeline/default.yml.link b/test/packages/with_links/elasticsearch/ingest_pipeline/default.yml.link new file mode 100644 index 000000000..46d111b6e --- /dev/null +++ b/test/packages/with_links/elasticsearch/ingest_pipeline/default.yml.link @@ -0,0 +1 @@ +../../_dev/shared/default.yml 5cd4673985b327ccb7a424d2941d802da8345bf66f8f78f8ad1cc0d275f71c85 \ No newline at end of file diff --git a/test/packages/with_links/elasticsearch/ml_model/with_links_ml_model_abc_1.json b/test/packages/with_links/elasticsearch/ml_model/with_links_ml_model_abc_1.json new file mode 100644 index 000000000..a994c24ce --- /dev/null +++ b/test/packages/with_links/elasticsearch/ml_model/with_links_ml_model_abc_1.json @@ -0,0 +1,99 @@ +{ + "model_id": "default", + "version": "8.0.0", + "create_time": 1632242448443, + "estimated_heap_memory_usage_bytes": 365968, + "description": "for api test", + "compressed_definition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w9PIncuw48enO44c85DoiYBHuvQVj9+eNrqrdP5zbNdifvqKDwl96rnapKrdWlr0Ya+uDhqgjIl9lM7UyXBOjVaj8/vPDk94ZqXOnRTPUYrLONXD+/trdTdF3dOh/Ncei4f3dk9S08fPNrbmPuPnx4v9Zr0KLNoEecinaB9efSVuePnu0J3/1oMdL60fpKRooPVE7rgWpVt7Mztzx/uvtzXD49H46OfyieFdbH7JN+8OD5JnVWStdSk904LW3Pn7q6oPrj8avcZJSOnQzN6zzlNvdUykzSATv3XD25/eTob2vBey5CUYEH1h39++PXeMj/74smujN/98vaeon7+5eWuSD5/tLtxXz96fC15esRR3jkmcie+uL2n0P712VFRL2suWUs2xqhjaAMkyc8udh//9pPTOdywGLefXEvJuSI86fes15YCX/X/uppYxztPH+z+2hf3n+y+9u37z3aF68nlo10j+uWjvW17eu/P+792rT43rt15Z6FuKqBvvtx97duPTo8vU6I3aLnJhmbtnJ7j4UkNblivR8+/2LOGl9/c3VGej7+8c7rfUvTSWul1leZa9Bh/+nz/nZ89vLMnj19cnBS8hKePrnMolSZriEZ7/mJ3Xx7febgrPd988697G/Pg9GZZUiofNun5Fp2eUDEv9lXMw5N7sPVulxdf7WmL219+vi9Yzz7fv+XnT3bV1uW9i72lvH95rSzOFMKdR/f2he7pvt69++WzXdV098sdw3zn5ApuKsl7j3df7fZFKvsb/uf9N3h87R+fHZtH91/sKLRHF5e797t/vSIb1+5+fa11z5XMnevnON+Apw++3nXS7n69ryQfPN5dkfv33rlG56v16OHek1zeebQvXBf7onD5+e3dv7tzkcbuIXhyuXvPRxdf73sRD5/vvd3zp/tm/c79L/aF7/LprtK4eHjn8d7BuvdsXzU8fnixe8+7l493n+X2kzR3b/r0xf4p+dPFvv24/+4Ft9bzYv9h7j7aX7Tbl7vPeXHtTGxt0td7135f+uFm0L2RhJCD1bNCv5YmYf0nAnOTizg9q7yXtfW+xMMmPfW7N9y4clqXjSun1dy4ctqDjSunndu4ctrvrbsdpWTrCU7CtXHpJJNbL7T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cqWDb259p3BXFOBg86Vnr7+VyWItsKGuREFnzlNdHTCoUX9tunJl/+yxMOGjmnLp2PgtGa4puGHW4dE6uYSM60dEYI8Yugr9Lr838kYbXgG/29tZ7eaQAwF4fs+Sy/yc7LZPI1IkUUoWIq+f+ezheKegCG0BW+qLGrck5lPdybF6sYkKboSKjCjTPPxAHgqbk8v2RJLtTbqmbxM6SiD7PTFSqB4WLh4l9w2d5AeCnLqM0gPpKIj0S4mHT/EY6Jnq+bgBjVVJSA5jDLR3brqWUeJZi0sSX55dlUn8YwM5/PBm6k41FQl2bpRdv5ovtA1kDJsGVvmrH0cgK9dWpM6WK+4zYPSHj3S6Har+2kgwdAoxb4niZKEMzuAZ+lN9RbYkckoR8AnpIZ7MPDuRZBt/X/OpcdvqmMY/IAJclEprJByiNW74N54TM+xJuXBmhQknpGd8GdfUYxwoM5AtOhGWaTetZCdSr69tvEhfhPNv4cNWS4Ja02KIKxDEMXr+0UnJQl1VPNC3kewhpkfB+5UMgpeaMpqqa3fEG+3U5H2yGWeC61eIU+fTANspjOWU/Xb7Z7ekju1kDNIll6Nj2qMKcB1+FYDV1inWas2wEW7gKVjsqzS31ZpbCDBegSwJMve/LZIEGkL7LjBOlig59aczyryRdgsgsTzam6v7HEOGUxv13S+pHtzQJYDGAIdtePoCRArNNuTrxuz4ddkU47b9nnajtfT4XK7ftyueLf3yyYDdH476B6tN8vHv39djxzO689NR9HfyxcUO/PXt88BAA==", + "tags": [ + "test-class-01" + ], + "metadata": { + "analytics_config": { + "max_num_threads": 1, + "create_time": 1632242433674, + "model_memory_limit": "24mb", + "allow_lazy_start": false, + "description": "for api test", + "analyzed_fields": { + "excludes": [], + "includes": [ + "AvgTicketPrice", + "Cancelled", + "Carrier", + "DestAirportID", + "DestWeather", + "DistanceMiles", + "FlightDelay", + "FlightDelayMin", + "FlightDelayType", + "FlightTimeHour", + "OriginWeather", + "dayOfWeek", + "hour_of_day", + "OriginAirportID" + ] + }, + "id": "test-class-01", + "source": { + "runtime_mappings": { + "hour_of_day": { + "type": "long", + "script": { + "source": "emit(doc['timestamp'].value.getHour());" + } + } + }, + "query": { + "match_all": {} + }, + "index": [ + "kibana_sample_data_flights" + ] + }, + "dest": { + "index": "test-class-01", + "results_field": "ml" + }, + "analysis": { + "classification": { + "early_stopping_enabled": true, + "randomize_seed": -3456303245926199422, + "dependent_variable": "Cancelled", + "num_top_classes": -1, + "training_percent": 17.0, + "class_assignment_objective": "maximize_minimum_recall", + "num_top_feature_importance_values": 0, + "prediction_field_name": "Cancelled_prediction" + } + }, + "version": "8.0.0" + } + }, + "input": { + "field_names": [ + "AvgTicketPrice", + "Carrier", + "DestAirportID", + "DestWeather", + "DistanceMiles", + "FlightDelay", + "FlightDelayMin", + "FlightDelayType", + "FlightTimeHour", + "OriginAirportID", + "OriginWeather", + "dayOfWeek", + "hour_of_day" + ] + }, + "inference_config": { + "classification": { + "num_top_classes": -1, + "top_classes_results_field": "top_classes", + "results_field": "Cancelled_prediction", + "num_top_feature_importance_values": 0, + "prediction_field_type": "boolean" + } + } +} diff --git a/test/packages/with_links/elasticsearch/transform/good_example_abc_1/transform.yml b/test/packages/with_links/elasticsearch/transform/good_example_abc_1/transform.yml new file mode 100644 index 000000000..e79aab35b --- /dev/null +++ b/test/packages/with_links/elasticsearch/transform/good_example_abc_1/transform.yml @@ -0,0 +1,28 @@ +source: + index: kibana_sample_data_ecommerce + query: + term: + geoip.continent_name: + value: Asia +pivot: + group_by: + customer_id: + terms: + field: customer_id + aggregations: + max_price: + max: + field: taxful_total_price +description: Maximum priced ecommerce data by customer_id in Asia +dest: + index: kibana_sample_data_ecommerce_transform1 + pipeline: add_timestamp_pipeline +frequency: 5m +sync: + time: + field: order_date + delay: 60s +retention_policy: + time: + field: order_date + max_age: 30d \ No newline at end of file diff --git a/test/packages/with_links/elasticsearch/transform/good_example_bdc_2/manifest.yml b/test/packages/with_links/elasticsearch/transform/good_example_bdc_2/manifest.yml new file mode 100644 index 000000000..ffb9462a0 --- /dev/null +++ b/test/packages/with_links/elasticsearch/transform/good_example_bdc_2/manifest.yml @@ -0,0 +1 @@ +start: false \ No newline at end of file diff --git a/test/packages/with_links/elasticsearch/transform/good_example_bdc_2/transform.yml b/test/packages/with_links/elasticsearch/transform/good_example_bdc_2/transform.yml new file mode 100644 index 000000000..e79aab35b --- /dev/null +++ b/test/packages/with_links/elasticsearch/transform/good_example_bdc_2/transform.yml @@ -0,0 +1,28 @@ +source: + index: kibana_sample_data_ecommerce + query: + term: + geoip.continent_name: + value: Asia +pivot: + group_by: + customer_id: + terms: + field: customer_id + aggregations: + max_price: + max: + field: taxful_total_price +description: Maximum priced ecommerce data by customer_id in Asia +dest: + index: kibana_sample_data_ecommerce_transform1 + pipeline: add_timestamp_pipeline +frequency: 5m +sync: + time: + field: order_date + delay: 60s +retention_policy: + time: + field: order_date + max_age: 30d \ No newline at end of file diff --git a/test/packages/with_links/elasticsearch/transform/metadata_current/fields/fields.yml b/test/packages/with_links/elasticsearch/transform/metadata_current/fields/fields.yml new file mode 100644 index 000000000..00d5202b6 --- /dev/null +++ b/test/packages/with_links/elasticsearch/transform/metadata_current/fields/fields.yml @@ -0,0 +1,198 @@ +- name: '@timestamp' + type: date +- name: updated_at + type: alias + path: event.ingested +- name: Endpoint + type: group + fields: + - name: configuration + type: group + fields: + - name: isolation + type: boolean + null_value: false + - name: policy + type: group + fields: + - name: applied + type: group + fields: + - name: id + type: keyword + ignore_above: 1024 + - name: name + type: keyword + ignore_above: 1024 + - name: status + type: keyword + ignore_above: 1024 + - name: state + type: group + fields: + - name: isolation + type: boolean + null_value: false + - name: status + type: keyword + ignore_above: 1024 + - name: capabilities + type: keyword + ignore_above: 128 + doc_values: false +- name: agent + type: group + fields: + - name: id + type: keyword + ignore_above: 1024 + - name: name + type: keyword + ignore_above: 1024 + - name: type + type: keyword + ignore_above: 1024 + - name: version + type: keyword + ignore_above: 1024 +- name: data_stream + type: group + fields: + - name: dataset + type: constant_keyword + value: endpoint.metadata + - name: namespace + type: keyword + - name: type + type: constant_keyword + value: metrics +- name: ecs + type: group + fields: + - name: version + type: keyword + ignore_above: 1024 +- name: elastic + type: group + fields: + - name: agent + type: group + fields: + - name: id + type: keyword + ignore_above: 1024 +- name: event + type: group + fields: + - name: action + type: keyword + ignore_above: 1024 + - name: category + type: keyword + ignore_above: 1024 + - name: code + type: keyword + ignore_above: 1024 + - name: created + type: date + - name: dataset + type: keyword + ignore_above: 1024 + - name: hash + type: keyword + ignore_above: 1024 + - name: id + type: keyword + ignore_above: 1024 + - name: ingested + type: date + - name: kind + type: keyword + ignore_above: 1024 + - name: module + type: keyword + ignore_above: 1024 + - name: outcome + type: keyword + ignore_above: 1024 + - name: provider + type: keyword + ignore_above: 1024 + - name: sequence + type: long + - name: severity + type: long + - name: type + type: keyword + ignore_above: 1024 +- name: host + type: group + fields: + - name: architecture + type: keyword + ignore_above: 1024 + - name: domain + type: keyword + ignore_above: 1024 + - name: hostname + type: keyword + ignore_above: 1024 + - name: id + type: keyword + ignore_above: 1024 + - name: ip + type: ip + - name: mac + type: keyword + ignore_above: 1024 + - name: name + type: keyword + ignore_above: 1024 + - name: os + type: group + fields: + - name: Ext + type: group + fields: + - name: variant + type: keyword + ignore_above: 1024 + - name: family + type: keyword + ignore_above: 1024 + - name: full + type: keyword + ignore_above: 1024 + multi_fields: + - name: caseless + type: keyword + ignore_above: 1024 + normalizer: lowercase + - name: text + type: text + norms: false + - name: kernel + type: keyword + ignore_above: 1024 + - name: name + type: keyword + ignore_above: 1024 + multi_fields: + - name: caseless + type: keyword + ignore_above: 1024 + normalizer: lowercase + - name: text + type: text + norms: false + - name: platform + type: keyword + ignore_above: 1024 + - name: version + type: keyword + ignore_above: 1024 + - name: type + type: keyword + ignore_above: 1024 + - name: uptime + type: long diff --git a/test/packages/with_links/elasticsearch/transform/metadata_current/manifest.yml b/test/packages/with_links/elasticsearch/transform/metadata_current/manifest.yml new file mode 100644 index 000000000..3dd6ca71b --- /dev/null +++ b/test/packages/with_links/elasticsearch/transform/metadata_current/manifest.yml @@ -0,0 +1,13 @@ +destination_index_template: + settings: + index: + codec: best_compression + refresh_interval: 5s + number_of_shards: 1 + number_of_routing_shards: 30 + sort.field: + - "@timestamp" + - agent.id + sort.order: + - desc + - asc \ No newline at end of file diff --git a/test/packages/with_links/elasticsearch/transform/metadata_current/transform.yml b/test/packages/with_links/elasticsearch/transform/metadata_current/transform.yml new file mode 100644 index 000000000..16efe1e99 --- /dev/null +++ b/test/packages/with_links/elasticsearch/transform/metadata_current/transform.yml @@ -0,0 +1,22 @@ +source: + index: metrics-endpoint.metadata-* + query: + range: + "@timestamp": + gt: now-90d/d +dest: + index: metrics-endpoint.metadata_current_default +latest: + unique_key: + - elastic.agent.id + sort: "@timestamp" +description: Latest Endpoint metadata document per host +_meta: + managed: true +frequency: 1s +sync: + time: + field: event.ingested + delay: 1s +settings: + unattended: true diff --git a/test/packages/with_links/elasticsearch/transform/metadata_united/fields/fields.yml b/test/packages/with_links/elasticsearch/transform/metadata_united/fields/fields.yml new file mode 100644 index 000000000..df1ad9e80 --- /dev/null +++ b/test/packages/with_links/elasticsearch/transform/metadata_united/fields/fields.yml @@ -0,0 +1,359 @@ +- name: agent + type: group + fields: + - name: id + type: keyword + ignore_above: 1024 +- name: united + type: group + fields: + - name: endpoint + type: group + fields: + - name: '@timestamp' + type: date + - name: Endpoint + type: group + fields: + - name: configuration + type: group + fields: + - name: isolation + type: boolean + null_value: false + - name: policy + type: group + fields: + - name: applied + type: group + fields: + - name: id + type: keyword + ignore_above: 1024 + - name: name + type: keyword + ignore_above: 1024 + - name: status + type: keyword + ignore_above: 1024 + - name: state + type: group + fields: + - name: isolation + type: boolean + null_value: false + - name: status + type: keyword + ignore_above: 1024 + - name: capabilities + type: keyword + ignore_above: 128 + doc_values: false + - name: agent + type: group + fields: + - name: id + type: keyword + ignore_above: 1024 + - name: name + type: keyword + ignore_above: 1024 + - name: type + type: keyword + ignore_above: 1024 + - name: version + type: keyword + ignore_above: 1024 + - name: data_stream + type: group + fields: + - name: dataset + type: constant_keyword + value: endpoint.metadata + - name: namespace + type: keyword + - name: type + type: constant_keyword + value: metrics + - name: ecs + type: group + fields: + - name: version + type: keyword + ignore_above: 1024 + - name: elastic + type: group + fields: + - name: agent + type: group + fields: + - name: id + type: keyword + ignore_above: 1024 + - name: event + type: group + fields: + - name: action + type: keyword + ignore_above: 1024 + - name: category + type: keyword + ignore_above: 1024 + - name: code + type: keyword + ignore_above: 1024 + - name: created + type: date + - name: dataset + type: keyword + ignore_above: 1024 + - name: hash + type: keyword + ignore_above: 1024 + - name: id + type: keyword + ignore_above: 1024 + - name: ingested + type: date + - name: kind + type: keyword + ignore_above: 1024 + - name: module + type: keyword + ignore_above: 1024 + - name: outcome + type: keyword + ignore_above: 1024 + - name: provider + type: keyword + ignore_above: 1024 + - name: sequence + type: long + - name: severity + type: long + - name: type + type: keyword + ignore_above: 1024 + - name: host + type: group + fields: + - name: architecture + type: keyword + ignore_above: 1024 + - name: domain + type: keyword + ignore_above: 1024 + - name: hostname + type: keyword + ignore_above: 1024 + - name: id + type: keyword + ignore_above: 1024 + - name: ip + type: ip + - name: mac + type: keyword + ignore_above: 1024 + - name: name + type: keyword + ignore_above: 1024 + - name: os + type: group + fields: + - name: Ext + type: group + fields: + - name: variant + type: keyword + ignore_above: 1024 + - name: family + type: keyword + ignore_above: 1024 + - name: full + type: keyword + ignore_above: 1024 + multi_fields: + - name: caseless + type: keyword + ignore_above: 1024 + normalizer: lowercase + - name: text + type: text + norms: false + - name: kernel + type: keyword + ignore_above: 1024 + - name: name + type: keyword + ignore_above: 1024 + multi_fields: + - name: caseless + type: keyword + ignore_above: 1024 + normalizer: lowercase + - name: text + type: text + norms: false + - name: platform + type: keyword + ignore_above: 1024 + - name: version + type: keyword + ignore_above: 1024 + - name: type + type: keyword + ignore_above: 1024 + - name: uptime + type: long + - name: agent + type: group + fields: + - name: access_api_key_id + type: keyword + - name: action_seq_no + type: integer + index: false + - name: active + type: boolean + - name: agent + type: group + fields: + - name: id + type: keyword + - name: version + type: keyword + - name: default_api_key + type: keyword + - name: default_api_key_id + type: keyword + - name: enrolled_at + type: date + - name: last_checkin + type: date + - name: last_checkin_status + type: keyword + - name: last_updated + type: date + - name: local_metadata + type: group + fields: + - name: elastic + type: group + fields: + - name: agent + type: group + fields: + - name: build + type: group + fields: + - name: original + type: text + multi_fields: + - name: keyword + type: keyword + ignore_above: 256 + - name: id + type: keyword + - name: log_level + type: keyword + - name: snapshot + type: boolean + - name: upgradeable + type: boolean + - name: version + type: text + multi_fields: + - name: keyword + type: keyword + ignore_above: 16 + - name: host + type: group + fields: + - name: architecture + type: keyword + - name: hostname + type: text + multi_fields: + - name: keyword + type: keyword + ignore_above: 256 + - name: id + type: keyword + - name: ip + type: text + multi_fields: + - name: keyword + type: keyword + ignore_above: 64 + - name: mac + type: text + multi_fields: + - name: keyword + type: keyword + ignore_above: 17 + - name: name + type: text + multi_fields: + - name: keyword + type: keyword + ignore_above: 256 + - name: os + type: group + fields: + - name: family + type: keyword + - name: full + type: text + multi_fields: + - name: keyword + type: keyword + ignore_above: 128 + - name: kernel + type: text + multi_fields: + - name: keyword + type: keyword + ignore_above: 128 + - name: name + type: text + multi_fields: + - name: keyword + type: keyword + ignore_above: 256 + - name: platform + type: keyword + - name: version + type: text + multi_fields: + - name: keyword + type: keyword + ignore_above: 32 + - name: packages + type: keyword + - name: policy_coordinator_idx + type: integer + - name: policy_id + type: keyword + - name: policy_output_permissions_hash + type: keyword + - name: policy_revision_idx + type: integer + - name: shared_id + type: keyword + - name: type + type: keyword + - name: unenrolled_at + type: date + - name: unenrolled_reason + type: keyword + - name: unenrollment_started_at + type: date + - name: updated_at + type: date + - name: upgrade_started_at + type: date + - name: upgraded_at + type: date + - name: user_provided_metadata + type: object + enabled: false diff --git a/test/packages/with_links/elasticsearch/transform/metadata_united/manifest.yml b/test/packages/with_links/elasticsearch/transform/metadata_united/manifest.yml new file mode 100644 index 000000000..ce9b6dc54 --- /dev/null +++ b/test/packages/with_links/elasticsearch/transform/metadata_united/manifest.yml @@ -0,0 +1,19 @@ +destination_index_template: + settings: + index: + codec: best_compression + refresh_interval: 5s + number_of_shards: 1 + number_of_routing_shards: 30 + hidden: true + mappings: + dynamic: false + _meta: {} + dynamic_templates: + - strings_as_keyword: + match_mapping_type: string + mapping: + ignore_above: 1024 + type: keyword + date_detection: false + \ No newline at end of file diff --git a/test/packages/with_links/elasticsearch/transform/metadata_united/transform.yml b/test/packages/with_links/elasticsearch/transform/metadata_united/transform.yml new file mode 100644 index 000000000..cdf743230 --- /dev/null +++ b/test/packages/with_links/elasticsearch/transform/metadata_united/transform.yml @@ -0,0 +1,30 @@ +source: + index: + - metrics-endpoint.metadata_current_default* + - ".fleet-agents*" +dest: + index: ".metrics-endpoint.metadata_united_default" +frequency: 1s +sync: + time: + delay: 4s + field: updated_at +pivot: + aggs: + united: + scripted_metric: + init_script: state.docs = [] + map_script: state.docs.add(new HashMap(params['_source'])) + combine_script: return state.docs + reduce_script: def ret = new HashMap(); for (s in states) { for (d in s) { + if (d.containsKey('Endpoint')) { ret.endpoint = d } else { ret.agent = d + } }} return ret + group_by: + agent.id: + terms: + field: agent.id +description: Merges latest Endpoint and Agent metadata documents +_meta: + managed: true +settings: + unattended: true diff --git a/test/packages/with_links/img/kibana-system.png b/test/packages/with_links/img/kibana-system.png new file mode 100644 index 000000000..8741a5662 Binary files /dev/null and b/test/packages/with_links/img/kibana-system.png differ diff --git a/test/packages/with_links/img/metricbeat_system_dashboard.png b/test/packages/with_links/img/metricbeat_system_dashboard.png new file mode 100644 index 000000000..2ff6ad8bd Binary files /dev/null and b/test/packages/with_links/img/metricbeat_system_dashboard.png differ diff --git a/test/packages/with_links/img/system.svg b/test/packages/with_links/img/system.svg new file mode 100644 index 000000000..0aba96275 --- /dev/null +++ b/test/packages/with_links/img/system.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/test/packages/with_links/kibana/csp_rule_template/with_links-csp-rule-template-abc-1.json b/test/packages/with_links/kibana/csp_rule_template/with_links-csp-rule-template-abc-1.json new file mode 100644 index 000000000..5d568f178 --- /dev/null +++ b/test/packages/with_links/kibana/csp_rule_template/with_links-csp-rule-template-abc-1.json @@ -0,0 +1,36 @@ +{ + "attributes": { + "metadata": { + "id": "6664c1b8-05f2-5872-a516-4b2c3c36d2d7", + "name": "Ensure that the API server pod specification file permissions are set to 644 or more restrictive (Automated)", + "profile_applicability": "* Level 1 - Master Node\n", + "description": "Ensure that the API server pod specification file has permissions of `644` or more restrictive.\n", + "rationale": "The API server pod specification file controls various parameters that set the behavior of the API server. You should restrict its file permissions to maintain the integrity of the file. The file should be writable by only the administrators on the system.\n", + "audit": "Run the below command (based on the file location on your system) on the\ncontrol plane node.\nFor example,\n```\nstat -c %a /etc/kubernetes/manifests/kube-apiserver.yaml\n```\nVerify that the permissions are `644` or more restrictive.\n", + "remediation": "Run the below command (based on the file location on your system) on the\ncontrol plane node.\nFor example,\n```\nchmod 644 /etc/kubernetes/manifests/kube-apiserver.yaml\n```\n", + "impact": "None\n", + "default_value": "By default, the `kube-apiserver.yaml` file has permissions of `640`.\n", + "references": "1. [https://kubernetes.io/docs/admin/kube-apiserver/](https://kubernetes.io/docs/admin/kube-apiserver/)\n", + "section": "Control Plane Node Configuration Files", + "version": "1.0", + "tags": [ + "CIS", + "Kubernetes", + "CIS 1.1.1", + "Control Plane Node Configuration Files" + ], + "benchmark": { + "name": "CIS Kubernetes V1.23", + "version": "v1.0.0", + "id": "cis_k8s" + }, + "rego_rule_id": "cis_1_1_1" + } + }, + "id": "with_links-csp-rule-template-abc-1", + "type": "csp-rule-template", + "migrationVersion": { + "csp-rule-template": "8.7.0" + }, + "coreMigrationVersion": "8.7.0" +} \ No newline at end of file diff --git a/test/packages/with_links/kibana/dashboard/with_links-dashboard-abc-1.json b/test/packages/with_links/kibana/dashboard/with_links-dashboard-abc-1.json new file mode 100644 index 000000000..3f71fbfc2 --- /dev/null +++ b/test/packages/with_links/kibana/dashboard/with_links-dashboard-abc-1.json @@ -0,0 +1,4 @@ +{ + "id": "with_links-dashboard-abc-1", + "type": "dashboard" +} \ No newline at end of file diff --git a/test/packages/with_links/kibana/lens/with_links-lens-abc-1.json b/test/packages/with_links/kibana/lens/with_links-lens-abc-1.json new file mode 100644 index 000000000..3dbea51d7 --- /dev/null +++ b/test/packages/with_links/kibana/lens/with_links-lens-abc-1.json @@ -0,0 +1,4 @@ +{ + "id": "with_links-lens-abc-1", + "type": "lens" +} \ No newline at end of file diff --git a/test/packages/with_links/kibana/map/with_links-map-abc-1.json b/test/packages/with_links/kibana/map/with_links-map-abc-1.json new file mode 100644 index 000000000..d8e255ec2 --- /dev/null +++ b/test/packages/with_links/kibana/map/with_links-map-abc-1.json @@ -0,0 +1,4 @@ +{ + "id": "with_links-map-abc-1", + "type": "map" +} \ No newline at end of file diff --git a/test/packages/with_links/kibana/ml_module/with_links-ml-module-abc-1.json b/test/packages/with_links/kibana/ml_module/with_links-ml-module-abc-1.json new file mode 100644 index 000000000..65368d5fd --- /dev/null +++ b/test/packages/with_links/kibana/ml_module/with_links-ml-module-abc-1.json @@ -0,0 +1,403 @@ +{ + "attributes": { + "id": "nginx_ecs", + "title": "Nginx access logs", + "description": "Find unusual activity in HTTP access logs from filebeat (ECS).", + "type": "Web Access Logs", + "logo": { + "icon": "logoNginx" + }, + "defaultIndexPattern": "filebeat-*", + "query": { + "bool": { + "filter": [ + { + "term": { + "event.dataset": "nginx.access" + } + }, + { + "exists": { + "field": "source.address" + } + }, + { + "exists": { + "field": "url.original" + } + }, + { + "exists": { + "field": "http.response.status_code" + } + } + ] + } + }, + "jobs": [ + { + "id": "visitor_rate_ecs", + "config": { + "groups": [ + "nginx" + ], + "description": "HTTP Access Logs: Detect unusual visitor rates (ECS)", + "analysis_config": { + "bucket_span": "15m", + "summary_count_field_name": "dc_source_address", + "detectors": [ + { + "detector_description": "Nginx access visitor rate", + "function": "non_zero_count" + } + ], + "influencers": [] + }, + "analysis_limits": { + "model_memory_limit": "10mb" + }, + "data_description": { + "time_field": "@timestamp", + "time_format": "epoch_ms" + }, + "model_plot_config": { + "enabled": true + }, + "custom_settings": { + "created_by": "ml-module-nginx-access", + "custom_urls": [ + { + "url_name": "Raw data", + "url_value": "discover#/?_g=(time:(from:\u0027$earliest$\u0027,mode:absolute,to:\u0027$latest$\u0027))&_a=(columns:!(_source),filters:!((\u0027$state\u0027:(store:appState),meta:(alias:!n,disabled:!f,index:\u0027INDEX_PATTERN_ID\u0027,key:event.dataset,negate:!f,params:(query:\u0027nginx.access\u0027),type:phrase,value:\u0027nginx.access\u0027),query:(match:(event.dataset:(query:\u0027nginx.access\u0027,type:phrase))))),index:\u0027INDEX_PATTERN_ID\u0027,interval:auto,query:(language:kuery,query:\u0027\u0027),sort:!(\u0027@timestamp\u0027,desc))" + } + ] + } + } + }, + { + "id": "status_code_rate_ecs", + "config": { + "groups": [ + "nginx" + ], + "description": "HTTP Access Logs: Detect unusual status code rates (ECS)", + "analysis_config": { + "bucket_span": "15m", + "detectors": [ + { + "detector_description": "Nginx access status code rate", + "function": "count", + "partition_field_name": "http.response.status_code" + } + ], + "influencers": [ + "http.response.status_code", + "source.address" + ] + }, + "analysis_limits": { + "model_memory_limit": "100mb" + }, + "data_description": { + "time_field": "@timestamp", + "time_format": "epoch_ms" + }, + "model_plot_config": { + "enabled": true + }, + "custom_settings": { + "created_by": "ml-module-nginx-access", + "custom_urls": [ + { + "url_name": "Investigate status code", + "url_value": "dashboards#/view/ml_http_access_explorer_ecs?_g=(time:(from:\u0027$earliest$\u0027,mode:absolute,to:\u0027$latest$\u0027))&_a=(description:\u0027\u0027,filters:!((\u0027$state\u0027:(store:appState),meta:(alias:!n,disabled:!f,index:\u0027INDEX_PATTERN_ID\u0027,key:event.dataset,negate:!f,params:(query:\u0027nginx.access\u0027),type:phrase,value:\u0027nginx.access\u0027),query:(match:(event.dataset:(query:\u0027nginx.access\u0027,type:phrase)))),(\u0027$state\u0027:(store:appState),meta:(alias:!n,disabled:!f,index:\u0027INDEX_PATTERN_ID\u0027,key:http.response.status_code,negate:!f,params:(query:\u0027$http.response.status_code$\u0027),type:phrase,value:\u0027$http.response.status_code$\u0027),query:(match:(http.response.status_code:(query:\u0027$http.response.status_code$\u0027,type:phrase))))),query:(language:kuery,query:\u0027\u0027))" + }, + { + "url_name": "Raw data", + "url_value": "discover#/?_g=(time:(from:\u0027$earliest$\u0027,mode:absolute,to:\u0027$latest$\u0027))&_a=(columns:!(_source),filters:!((\u0027$state\u0027:(store:appState),meta:(alias:!n,disabled:!f,index:\u0027INDEX_PATTERN_ID\u0027,key:event.dataset,negate:!f,params:(query:\u0027nginx.access\u0027),type:phrase,value:\u0027nginx.access\u0027),query:(match:(event.dataset:(query:\u0027nginx.access\u0027,type:phrase)))),(\u0027$state\u0027:(store:appState),meta:(alias:!n,disabled:!f,index:\u0027INDEX_PATTERN_ID\u0027,key:http.response.status_code,negate:!f,params:(query:\u0027$http.response.status_code$\u0027),type:phrase,value:\u0027$http.response.status_code$\u0027),query:(match:(http.response.status_code:(query:\u0027$http.response.status_code$\u0027,type:phrase))))),index:\u0027INDEX_PATTERN_ID\u0027,interval:auto,query:(language:kuery,query:\u0027\u0027),sort:!(\u0027@timestamp\u0027,desc))" + } + ] + } + } + }, + { + "id": "source_ip_url_count_ecs", + "config": { + "groups": [ + "nginx" + ], + "description": "HTTP Access Logs: Detect unusual source IPs - high distinct count of URLs (ECS)", + "analysis_config": { + "bucket_span": "1h", + "detectors": [ + { + "detector_description": "Nginx access source IP high dc URL", + "function": "high_distinct_count", + "field_name": "url.original", + "over_field_name": "source.address" + } + ], + "influencers": [ + "source.address" + ] + }, + "data_description": { + "time_field": "@timestamp", + "time_format": "epoch_ms" + }, + "custom_settings": { + "created_by": "ml-module-nginx-access", + "custom_urls": [ + { + "url_name": "Investigate source IP", + "url_value": "dashboards#/view/ml_http_access_explorer_ecs?_g=(time:(from:\u0027$earliest$\u0027,mode:absolute,to:\u0027$latest$\u0027))&_a=(description:\u0027\u0027,filters:!((\u0027$state\u0027:(store:appState),meta:(alias:!n,disabled:!f,index:\u0027INDEX_PATTERN_ID\u0027,key:event.dataset,negate:!f,params:(query:\u0027nginx.access\u0027),type:phrase,value:\u0027nginx.access\u0027),query:(match:(event.dataset:(query:\u0027nginx.access\u0027,type:phrase)))),(\u0027$state\u0027:(store:appState),meta:(alias:!n,disabled:!f,index:\u0027INDEX_PATTERN_ID\u0027,key:source.address,negate:!f,params:(query:\u0027$source.address$\u0027),type:phrase,value:\u0027$source.address$\u0027),query:(match:(source.address:(query:\u0027$source.address$\u0027,type:phrase))))),query:(language:kuery,query:\u0027\u0027))" + }, + { + "url_name": "Raw data", + "url_value": "discover#/?_g=(time:(from:\u0027$earliest$\u0027,mode:absolute,to:\u0027$latest$\u0027))&_a=(columns:!(_source),filters:!((\u0027$state\u0027:(store:appState),meta:(alias:!n,disabled:!f,index:\u0027INDEX_PATTERN_ID\u0027,key:event.dataset,negate:!f,params:(query:\u0027nginx.access\u0027),type:phrase,value:\u0027nginx.access\u0027),query:(match:(event.dataset:(query:\u0027nginx.access\u0027,type:phrase)))),(\u0027$state\u0027:(store:appState),meta:(alias:!n,disabled:!f,index:\u0027INDEX_PATTERN_ID\u0027,key:source.address,negate:!f,params:(query:\u0027$source.address$\u0027),type:phrase,value:\u0027$source.address$\u0027),query:(match:(source.address:(query:\u0027$source.address$\u0027,type:phrase))))),index:\u0027INDEX_PATTERN_ID\u0027,interval:auto,query:(language:kuery,query:\u0027\u0027),sort:!(\u0027@timestamp\u0027,desc))" + } + ] + } + } + }, + { + "id": "source_ip_request_rate_ecs", + "config": { + "groups": [ + "nginx" + ], + "description": "HTTP Access Logs: Detect unusual source IPs - high request rates (ECS)", + "analysis_config": { + "bucket_span": "1h", + "detectors": [ + { + "detector_description": "Nginx access source IP high count", + "function": "high_count", + "over_field_name": "source.address" + } + ], + "influencers": [ + "source.address" + ] + }, + "data_description": { + "time_field": "@timestamp", + "time_format": "epoch_ms" + }, + "custom_settings": { + "created_by": "ml-module-nginx-access", + "custom_urls": [ + { + "url_name": "Investigate source IP", + "url_value": "dashboards#/view/ml_http_access_explorer_ecs?_g=(time:(from:\u0027$earliest$\u0027,mode:absolute,to:\u0027$latest$\u0027))&_a=(description:\u0027\u0027,filters:!((\u0027$state\u0027:(store:appState),meta:(alias:!n,disabled:!f,index:\u0027INDEX_PATTERN_ID\u0027,key:event.dataset,negate:!f,params:(query:\u0027nginx.access\u0027),type:phrase,value:\u0027nginx.access\u0027),query:(match:(event.dataset:(query:\u0027nginx.access\u0027,type:phrase)))),(\u0027$state\u0027:(store:appState),meta:(alias:!n,disabled:!f,index:\u0027INDEX_PATTERN_ID\u0027,key:source.address,negate:!f,params:(query:\u0027$source.address$\u0027),type:phrase,value:\u0027$source.address$\u0027),query:(match:(source.address:(query:\u0027$source.address$\u0027,type:phrase))))),query:(language:kuery,query:\u0027\u0027))" + }, + { + "url_name": "Raw data", + "url_value": "discover#/?_g=(time:(from:\u0027$earliest$\u0027,mode:absolute,to:\u0027$latest$\u0027))&_a=(columns:!(_source),filters:!((\u0027$state\u0027:(store:appState),meta:(alias:!n,disabled:!f,index:\u0027INDEX_PATTERN_ID\u0027,key:event.dataset,negate:!f,params:(query:\u0027nginx.access\u0027),type:phrase,value:\u0027nginx.access\u0027),query:(match:(event.dataset:(query:\u0027nginx.access\u0027,type:phrase)))),(\u0027$state\u0027:(store:appState),meta:(alias:!n,disabled:!f,index:\u0027INDEX_PATTERN_ID\u0027,key:source.address,negate:!f,params:(query:\u0027$source.address$\u0027),type:phrase,value:\u0027$source.address$\u0027),query:(match:(source.address:(query:\u0027$source.address$\u0027,type:phrase))))),index:\u0027INDEX_PATTERN_ID\u0027,interval:auto,query:(language:kuery,query:\u0027\u0027),sort:!(\u0027@timestamp\u0027,desc))" + } + ] + } + } + }, + { + "id": "low_request_rate_ecs", + "config": { + "groups": [ + "nginx" + ], + "description": "HTTP Access Logs: Detect low request rates (ECS)", + "analysis_config": { + "bucket_span": "15m", + "summary_count_field_name": "doc_count", + "detectors": [ + { + "detector_description": "Nginx access low request rate", + "function": "low_count" + } + ], + "influencers": [] + }, + "analysis_limits": { + "model_memory_limit": "10mb" + }, + "data_description": { + "time_field": "@timestamp", + "time_format": "epoch_ms" + }, + "model_plot_config": { + "enabled": true + }, + "custom_settings": { + "created_by": "ml-module-nginx-access", + "custom_urls": [ + { + "url_name": "Raw data", + "url_value": "discover#/?_g=(time:(from:\u0027$earliest$\u0027,mode:absolute,to:\u0027$latest$\u0027))&_a=(columns:!(_source),filters:!((\u0027$state\u0027:(store:appState),meta:(alias:!n,disabled:!f,index:\u0027INDEX_PATTERN_ID\u0027,key:event.dataset,negate:!f,params:(query:\u0027nginx.access\u0027),type:phrase,value:\u0027nginx.access\u0027),query:(match:(event.dataset:(query:\u0027nginx.access\u0027,type:phrase))))),index:\u0027INDEX_PATTERN_ID\u0027,interval:auto,query:(language:kuery,query:\u0027\u0027),sort:!(\u0027@timestamp\u0027,desc))" + } + ] + } + } + } + ], + "datafeeds": [ + { + "id": "datafeed-visitor_rate_ecs", + "job_id": "visitor_rate_ecs", + "config": { + "job_id": "visitor_rate_ecs", + "indices": [ + "INDEX_PATTERN_NAME" + ], + "query": { + "bool": { + "filter": [ + { + "term": { + "event.dataset": "nginx.access" + } + } + ] + } + }, + "aggregations": { + "buckets": { + "date_histogram": { + "field": "@timestamp", + "fixed_interval": "15m", + "offset": 0, + "order": { + "_key": "asc" + }, + "keyed": false, + "min_doc_count": 0 + }, + "aggregations": { + "@timestamp": { + "max": { + "field": "@timestamp" + } + }, + "dc_source_address": { + "cardinality": { + "field": "source.address" + } + } + } + } + } + } + }, + { + "id": "datafeed-status_code_rate_ecs", + "job_id": "status_code_rate_ecs", + "config": { + "job_id": "status_code_rate_ecs", + "indices": [ + "INDEX_PATTERN_NAME" + ], + "query": { + "bool": { + "filter": [ + { + "term": { + "event.dataset": "nginx.access" + } + } + ] + } + } + } + }, + { + "id": "datafeed-source_ip_url_count_ecs", + "job_id": "source_ip_url_count_ecs", + "config": { + "job_id": "source_ip_url_count_ecs", + "indices": [ + "INDEX_PATTERN_NAME" + ], + "query": { + "bool": { + "filter": [ + { + "term": { + "event.dataset": "nginx.access" + } + } + ] + } + } + } + }, + { + "id": "datafeed-source_ip_request_rate_ecs", + "job_id": "source_ip_request_rate_ecs", + "config": { + "job_id": "source_ip_request_rate_ecs", + "indices": [ + "INDEX_PATTERN_NAME" + ], + "query": { + "bool": { + "filter": [ + { + "term": { + "event.dataset": "nginx.access" + } + } + ] + } + } + } + }, + { + "id": "datafeed-low_request_rate_ecs", + "job_id": "low_request_rate_ecs", + "config": { + "job_id": "low_request_rate_ecs", + "indices": [ + "INDEX_PATTERN_NAME" + ], + "query": { + "bool": { + "filter": [ + { + "term": { + "event.dataset": "nginx.access" + } + } + ] + } + }, + "aggregations": { + "buckets": { + "date_histogram": { + "field": "@timestamp", + "fixed_interval": "15m", + "offset": 0, + "order": { + "_key": "asc" + }, + "keyed": false, + "min_doc_count": 0 + }, + "aggregations": { + "@timestamp": { + "max": { + "field": "@timestamp" + } + } + } + } + } + } + } + ] + }, + "id": "with_links-ml-module-abc-1", + "migrationVersion": { + "search": "7.9.3" + }, + "references": [], + "type": "ml-module" +} \ No newline at end of file diff --git a/test/packages/with_links/kibana/osquery_pack_asset/with_links-osquery-pack-asset-1.json b/test/packages/with_links/kibana/osquery_pack_asset/with_links-osquery-pack-asset-1.json new file mode 100644 index 000000000..e10ada621 --- /dev/null +++ b/test/packages/with_links/kibana/osquery_pack_asset/with_links-osquery-pack-asset-1.json @@ -0,0 +1,135 @@ +{ + "attributes": { + "name": "vuln-management", + "version": 1, + "queries": [ + { + "id": "kernel_info", + "interval": 86400, + "query": "select * from kernel_info;", + "version": "1.4.5" + }, + { + "id": "os_version", + "interval": 86400, + "query": "select * from os_version;", + "version": "1.4.5" + }, + { + "id": "kextstat", + "interval": 86400, + "platform": "darwin", + "query": "select * from kernel_extensions;", + "version": "1.4.5" + }, + { + "id": "kernel_modules", + "interval": 86400, + "platform": "linux", + "query": "select * from kernel_modules;", + "version": "1.4.5" + }, + { + "id": "installed_applications", + "interval": 86400, + "platform": "darwin", + "query": "select * from apps;", + "version": "1.4.5" + }, + { + "id": "browser_plugins", + "interval": 86400, + "platform": "darwin", + "query": "select browser_plugins.* from users join browser_plugins using (uid);", + "version": "1.6.1" + }, + { + "id": "safari_extensions", + "interval": 86400, + "platform": "darwin", + "query": "select safari_extensions.* from users join safari_extensions using (uid);", + "version": "1.6.1" + }, + { + "id": "opera_extensions", + "interval": 86400, + "platform": "darwin,linux", + "query": "select opera_extensions.* from users join opera_extensions using (uid);", + "version": "1.6.1" + }, + { + "id": "chrome_extensions", + "interval": 86400, + "query": "select chrome_extensions.* from users join chrome_extensions using (uid);", + "version": "1.6.1" + }, + { + "id": "firefox_addons", + "interval": 86400, + "platform": "darwin,linux", + "query": "select firefox_addons.* from users join firefox_addons using (uid);", + "version": "1.6.1" + }, + { + "id": "homebrew_packages", + "interval": 86400, + "platform": "darwin", + "query": "select * from homebrew_packages;", + "version": "1.4.5" + }, + { + "id": "package_receipts", + "interval": 86400, + "platform": "darwin", + "query": "select * from package_receipts;", + "version": "1.4.5" + }, + { + "id": "deb_packages", + "interval": 86400, + "platform": "linux", + "query": "select * from deb_packages;", + "version": "1.4.5" + }, + { + "id": "apt_sources", + "interval": 86400, + "platform": "linux", + "query": "select * from apt_sources;", + "version": "1.4.5" + }, + { + "id": "portage_packages", + "interval": 86400, + "platform": "linux", + "query": "select * from portage_packages;", + "version": "2.0.0" + }, + { + "id": "rpm_packages", + "interval": 86400, + "platform": "linux", + "query": "select * from rpm_packages;", + "version": "1.4.5" + }, + { + "id": "unauthenticated_sparkle_feeds", + "interval": 86400, + "platform": "darwin", + "query": "select feeds.*, p2.value as sparkle_version from (select a.name as app_name, a.path as app_path, a.bundle_identifier as bundle_id, p.value as feed_url from (select name, path, bundle_identifier from apps) a, plist p where p.path = a.path || '/Contents/Info.plist' and p.key = 'SUFeedURL' and feed_url like 'http://%') feeds left outer join plist p2 on p2.path = app_path || '/Contents/Frameworks/Sparkle.framework/Resources/Info.plist' where (p2.key = 'CFBundleShortVersionString' OR coalesce(p2.key, '') = '');", + "version": "1.4.5" + }, + { + "id": "backdoored_python_packages", + "interval": 86400, + "platform": "darwin,linux", + "query": "select name as package_name, version as package_version, path as package_path from python_packages where package_name = 'acqusition' or package_name = 'apidev-coop' or package_name = 'bzip' or package_name = 'crypt' or package_name = 'django-server' or package_name = 'pwd' or package_name = 'setup-tools' or package_name = 'telnet' or package_name = 'urlib3' or package_name = 'urllib';", + "version": "1.4.5" + } + ] + }, + "coreMigrationVersion": "8.2.0", + "id": "with_links-osquery-pack-asset-1", + "references": [], + "type": "osquery-pack-asset" +} \ No newline at end of file diff --git a/test/packages/with_links/kibana/osquery_saved_query/with_links-osquery-saved-query-1.json b/test/packages/with_links/kibana/osquery_saved_query/with_links-osquery-saved-query-1.json new file mode 100644 index 000000000..07cef8a8c --- /dev/null +++ b/test/packages/with_links/kibana/osquery_saved_query/with_links-osquery-saved-query-1.json @@ -0,0 +1,19 @@ +{ + "attributes": { + "created_at": "2022-04-05T06:25:25.392Z", + "created_by": "elastic", + "description": "A list of applications configured to launch when a system reboots.", + "id": "Persistence", + "interval": "3600", + "query": "select * from startup_items;", + "updated_at": "2022-04-05T06:25:25.392Z", + "updated_by": "elastic", + "version": "1" + }, + "coreMigrationVersion": "8.3.0", + "id": "with_links-osquery-saved-query-1", + "references": [], + "type": "osquery-saved-query", + "updated_at": "2022-04-05T06:25:25.395Z", + "version": "Wzc1MSwxXQ==" +} \ No newline at end of file diff --git a/test/packages/with_links/kibana/search/with_links-search-abc-1.json b/test/packages/with_links/kibana/search/with_links-search-abc-1.json new file mode 100644 index 000000000..f888dd0cc --- /dev/null +++ b/test/packages/with_links/kibana/search/with_links-search-abc-1.json @@ -0,0 +1,4 @@ +{ + "id": "with_links-search-abc-1", + "type": "search" +} \ No newline at end of file diff --git a/test/packages/with_links/kibana/security_rule/000047bb-b27a-47ec-8b62-ef1a5d2c9e19.json b/test/packages/with_links/kibana/security_rule/000047bb-b27a-47ec-8b62-ef1a5d2c9e19.json new file mode 100644 index 000000000..f37b0a335 --- /dev/null +++ b/test/packages/with_links/kibana/security_rule/000047bb-b27a-47ec-8b62-ef1a5d2c9e19.json @@ -0,0 +1,41 @@ +{ + "attributes": { + "author": [ + "Elastic" + ], + "description": "Detects attempts to modify a rule within an Okta policy. An adversary may attempt to modify an Okta policy rule in order to weaken an organization's security controls.", + "false_positives": [ + "Consider adding exceptions to this rule to filter false positives if Okta MFA rules are regularly modified in your organization." + ], + "index": [ + "filebeat-*", + "logs-okta*" + ], + "language": "kuery", + "license": "Elastic License v2", + "name": "Attempt to Modify an Okta Policy Rule", + "note": "The Okta Fleet integration or Filebeat module must be enabled to use this rule.", + "query": "event.dataset:okta.system and event.action:policy.rule.update", + "references": [ + "https://help.okta.com/en/prod/Content/Topics/Security/Security_Policies.htm", + "https://developer.okta.com/docs/reference/api/system-log/", + "https://developer.okta.com/docs/reference/api/event-types/" + ], + "risk_score": 21, + "rule_id": "000047bb-b27a-47ec-8b62-ef1a5d2c9e19", + "severity": "low", + "tags": [ + "Elastic", + "Identity", + "Okta", + "Continuous Monitoring", + "SecOps", + "Identity and Access" + ], + "timestamp_override": "event.ingested", + "type": "query", + "version": 5 + }, + "id": "000047bb-b27a-47ec-8b62-ef1a5d2c9e19", + "type": "security-rule" +} \ No newline at end of file diff --git a/test/packages/with_links/kibana/security_rule/000047bb-b27a-47ec-8b62-ef1a5d2c9e19_5.json b/test/packages/with_links/kibana/security_rule/000047bb-b27a-47ec-8b62-ef1a5d2c9e19_5.json new file mode 100644 index 000000000..9a7862b15 --- /dev/null +++ b/test/packages/with_links/kibana/security_rule/000047bb-b27a-47ec-8b62-ef1a5d2c9e19_5.json @@ -0,0 +1,36 @@ +{ + "attributes": { + "author": ["Elastic"], + "description": "Detects attempts to modify a rule within an Okta policy. An adversary may attempt to modify an Okta policy rule in order to weaken an organization's security controls.", + "false_positives": [ + "Consider adding exceptions to this rule to filter false positives if Okta MFA rules are regularly modified in your organization." + ], + "index": ["filebeat-*", "logs-okta*"], + "language": "kuery", + "license": "Elastic License v2", + "name": "Attempt to Modify an Okta Policy Rule", + "note": "The Okta Fleet integration or Filebeat module must be enabled to use this rule.", + "query": "event.dataset:okta.system and event.action:policy.rule.update", + "references": [ + "https://help.okta.com/en/prod/Content/Topics/Security/Security_Policies.htm", + "https://developer.okta.com/docs/reference/api/system-log/", + "https://developer.okta.com/docs/reference/api/event-types/" + ], + "risk_score": 21, + "rule_id": "000047bb-b27a-47ec-8b62-ef1a5d2c9e19", + "severity": "low", + "tags": [ + "Elastic", + "Identity", + "Okta", + "Continuous Monitoring", + "SecOps", + "Identity and Access" + ], + "timestamp_override": "event.ingested", + "type": "query", + "version": 5 + }, + "id": "000047bb-b27a-47ec-8b62-ef1a5d2c9e19_5", + "type": "security-rule" +} diff --git a/test/packages/with_links/kibana/tag/with_links-tag-abc-1.json b/test/packages/with_links/kibana/tag/with_links-tag-abc-1.json new file mode 100644 index 000000000..1b7308bdb --- /dev/null +++ b/test/packages/with_links/kibana/tag/with_links-tag-abc-1.json @@ -0,0 +1,11 @@ +{ + "attributes": { + "color": "#e20b7f", + "description": "", + "name": "abc" + }, + "coreMigrationVersion": "7.15.0", + "id": "with_links-tag-abc-1", + "references": [], + "type": "tag" +} \ No newline at end of file diff --git a/test/packages/with_links/kibana/visualization/with_links-visualization-abc-1.json b/test/packages/with_links/kibana/visualization/with_links-visualization-abc-1.json new file mode 100644 index 000000000..1cfff5295 --- /dev/null +++ b/test/packages/with_links/kibana/visualization/with_links-visualization-abc-1.json @@ -0,0 +1,4 @@ +{ + "id": "with_links-visualization-abc-1", + "type": "visualization" +} \ No newline at end of file diff --git a/test/packages/with_links/manifest.yml b/test/packages/with_links/manifest.yml new file mode 100644 index 000000000..9b6347d30 --- /dev/null +++ b/test/packages/with_links/manifest.yml @@ -0,0 +1,50 @@ +format_version: 1.0.0 +name: with_links +title: Package with links +description: This package is good. +version: 1.0.0 +type: integration +source: + license: "Apache-2.0" +conditions: + kibana.version: '^7.9.0' + elastic.subscription: 'basic' +policy_templates: + - name: apache + title: Apache logs and metrics + description: Collect logs and metrics from Apache instances + inputs: + - type: apache/metrics + title: Collect metrics from Apache instances + description: Collecting Apache status metrics + multi: false + vars: + - name: hosts + type: url + url_allowed_schemes: ['http', 'https'] + title: Hosts + multi: true + required: true + show_user: true + default: + - http://127.0.0.1 +owner: + github: elastic/foobar +screenshots: + - src: /img/kibana-system.png + title: kibana system + size: 1220x852 + type: image/png + - src: /img/metricbeat_system_dashboard.png + title: metricbeat system dashboard + size: 2097x1933 + type: image/png +icons: + - src: /img/system.svg + title: system + size: 1000x1000 + type: image/svg+xml +# /main is a specific action underneath the monitor privilege. Declaring +# "monitor/main" limits the provided privilege, "monitor", to only the "main" +# action. +elasticsearch.privileges.cluster: [monitor/main]