Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Change xml processor names in script processor to match convention #26263

Merged

Conversation

andrewkroh
Copy link
Member

What does this PR do?

In the script processor, the decode_xml and decode_xml_wineventlog processors are now available as DecodeXML and DecodeXMLWineventlog respectively. This follows the same naming conventions as other processors exposed though the script processor. For example you can write new processor.DecodeXML({...}).

Why is it important?

This keeps the naming consistent in the script processor.

Checklist

  • My code follows the style guidelines of this project
  • I have added an entry in CHANGELOG.next.asciidoc or CHANGELOG-developer.next.asciidoc.

In the script processor, the `decode_xml` and `decode_xml_wineventlog` processors are now available as `DecodeXML` and `DecodeXMLWineventlog` respectively. This follows the same naming conventions as other processors exposed though the `script` processor. For example you can write `new processor.DecodeXML({...})`.
@elasticmachine
Copy link
Collaborator

Pinging @elastic/security-external-integrations (Team:Security-External Integrations)

@botelastic botelastic bot added needs_team Indicates that the issue/PR needs a Team:* label and removed needs_team Indicates that the issue/PR needs a Team:* label labels Jun 11, 2021
@elasticmachine
Copy link
Collaborator

💔 Build Failed

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: Pull request #26263 opened

  • Start Time: 2021-06-11T15:36:46.096+0000

  • Duration: 125 min 26 sec

  • Commit: 8e96d9a

Test stats 🧪

Test Results
Failed 0
Passed 47454
Skipped 5256
Total 52710

Trends 🧪

Image of Build Times

Image of Tests

Log output

Expand to view the last 100 lines of log output

[2021-06-11T17:40:52.062Z]  API version:       1.41
[2021-06-11T17:40:52.062Z]  Go version:        go1.13.15
[2021-06-11T17:40:52.062Z]  Git commit:        48d30b5
[2021-06-11T17:40:52.062Z]  Built:             Fri Jan 29 14:33:13 2021
[2021-06-11T17:40:52.062Z]  OS/Arch:           linux/amd64
[2021-06-11T17:40:52.062Z]  Context:           default
[2021-06-11T17:40:52.062Z]  Experimental:      true
[2021-06-11T17:40:52.062Z] 
[2021-06-11T17:40:52.063Z] Server: Docker Engine - Community
[2021-06-11T17:40:52.063Z]  Engine:
[2021-06-11T17:40:52.063Z]   Version:          20.10.3
[2021-06-11T17:40:52.063Z]   API version:      1.41 (minimum version 1.12)
[2021-06-11T17:40:52.063Z]   Go version:       go1.13.15
[2021-06-11T17:40:52.063Z]   Git commit:       46229ca
[2021-06-11T17:40:52.063Z]   Built:            Fri Jan 29 14:31:25 2021
[2021-06-11T17:40:52.063Z]   OS/Arch:          linux/amd64
[2021-06-11T17:40:52.063Z]   Experimental:     false
[2021-06-11T17:40:52.063Z]  containerd:
[2021-06-11T17:40:52.063Z]   Version:          1.4.3
[2021-06-11T17:40:52.063Z]   GitCommit:        269548fa27e0089a8b8278fc4fc781d7f65a939b
[2021-06-11T17:40:52.063Z]  runc:
[2021-06-11T17:40:52.063Z]   Version:          1.0.0-rc92
[2021-06-11T17:40:52.063Z]   GitCommit:        ff819c7e9184c13b7c2607fe6c30ae19403a7aff
[2021-06-11T17:40:52.063Z]  docker-init:
[2021-06-11T17:40:52.063Z]   Version:          0.19.0
[2021-06-11T17:40:52.063Z]   GitCommit:        de40ad0
[2021-06-11T17:40:52.063Z] Change ownership of all files inside the specific folder from root/root to current user/group
[2021-06-11T17:40:52.063Z] Unable to find image 'alpine:3.4' locally
[2021-06-11T17:40:53.010Z] 3.4: Pulling from library/alpine
[2021-06-11T17:40:53.010Z] c1e54eec4b57: Pulling fs layer
[2021-06-11T17:40:53.273Z] c1e54eec4b57: Verifying Checksum
[2021-06-11T17:40:53.273Z] c1e54eec4b57: Download complete
[2021-06-11T17:40:53.536Z] c1e54eec4b57: Pull complete
[2021-06-11T17:40:53.536Z] Digest: sha256:b733d4a32c4da6a00a84df2ca32791bb03df95400243648d8c539e7b4cce329c
[2021-06-11T17:40:53.536Z] Status: Downloaded newer image for alpine:3.4
[2021-06-11T17:40:54.926Z] Change permissions with write access of all files inside the specific folder
[2021-06-11T17:40:56.355Z] Running in /var/lib/jenkins/workspace/PR-26263-1-c8bc4379-b7e0-41a6-9972-6b574a4f4daf/src/github.com/elastic/beats/build
[2021-06-11T17:40:56.692Z] + rm -rf ve
[2021-06-11T17:40:56.692Z] + find . -type d -name vendor -exec rm -r {} ;
[2021-06-11T17:40:57.095Z] + python .ci/scripts/pre_archive_test.py
[2021-06-11T17:41:07.111Z] Copy ./x-pack/elastic-agent/build into build/x-pack/elastic-agent/build
[2021-06-11T17:41:07.111Z] Copy ./x-pack/elastic-agent/build/golang-crossbuild into build/x-pack/elastic-agent/build/golang-crossbuild
[2021-06-11T17:41:07.111Z] Copy ./x-pack/elastic-agent/build/package/elastic-agent/elastic-agent-linux-amd64.docker/docker-build into build/x-pack/elastic-agent/build/package/elastic-agent/elastic-agent-linux-amd64.docker/docker-build
[2021-06-11T17:41:07.111Z] Copy ./x-pack/elastic-agent/build/package/elastic-agent-ubi8/elastic-agent-linux-amd64.docker/docker-build into build/x-pack/elastic-agent/build/package/elastic-agent-ubi8/elastic-agent-linux-amd64.docker/docker-build
[2021-06-11T17:41:07.111Z] Copy ./x-pack/filebeat/build into build/x-pack/filebeat/build
[2021-06-11T17:41:07.111Z] Copy ./x-pack/filebeat/build/golang-crossbuild into build/x-pack/filebeat/build/golang-crossbuild
[2021-06-11T17:41:07.111Z] Copy ./x-pack/metricbeat/build into build/x-pack/metricbeat/build
[2021-06-11T17:41:07.111Z] Copy ./x-pack/metricbeat/build/golang-crossbuild into build/x-pack/metricbeat/build/golang-crossbuild
[2021-06-11T17:41:07.111Z] Copy ./x-pack/heartbeat/build into build/x-pack/heartbeat/build
[2021-06-11T17:41:07.111Z] Copy ./x-pack/heartbeat/build/golang-crossbuild into build/x-pack/heartbeat/build/golang-crossbuild
[2021-06-11T17:41:07.150Z] Running in /var/lib/jenkins/workspace/PR-26263-1-c8bc4379-b7e0-41a6-9972-6b574a4f4daf/src/github.com/elastic/beats/build
[2021-06-11T17:41:07.207Z] Recording test results
[2021-06-11T17:41:09.789Z] None of the test reports contained any result
[2021-06-11T17:41:09.805Z] [Checks API] No suitable checks publisher found.
[2021-06-11T17:41:10.315Z] + go clean -modcache
[2021-06-11T17:41:13.965Z] Cleaning up /var/lib/jenkins/workspace/PR-26263-1-c8bc4379-b7e0-41a6-9972-6b574a4f4daf
[2021-06-11T17:41:13.965Z] Client: Docker Engine - Community
[2021-06-11T17:41:13.965Z]  Version:           20.10.3
[2021-06-11T17:41:13.965Z]  API version:       1.41
[2021-06-11T17:41:13.965Z]  Go version:        go1.13.15
[2021-06-11T17:41:13.965Z]  Git commit:        48d30b5
[2021-06-11T17:41:13.965Z]  Built:             Fri Jan 29 14:33:13 2021
[2021-06-11T17:41:13.965Z]  OS/Arch:           linux/amd64
[2021-06-11T17:41:13.965Z]  Context:           default
[2021-06-11T17:41:13.965Z]  Experimental:      true
[2021-06-11T17:41:13.965Z] 
[2021-06-11T17:41:13.965Z] Server: Docker Engine - Community
[2021-06-11T17:41:13.965Z]  Engine:
[2021-06-11T17:41:13.965Z]   Version:          20.10.3
[2021-06-11T17:41:13.965Z]   API version:      1.41 (minimum version 1.12)
[2021-06-11T17:41:13.965Z]   Go version:       go1.13.15
[2021-06-11T17:41:13.965Z]   Git commit:       46229ca
[2021-06-11T17:41:13.965Z]   Built:            Fri Jan 29 14:31:25 2021
[2021-06-11T17:41:13.965Z]   OS/Arch:          linux/amd64
[2021-06-11T17:41:13.965Z]   Experimental:     false
[2021-06-11T17:41:13.965Z]  containerd:
[2021-06-11T17:41:13.965Z]   Version:          1.4.3
[2021-06-11T17:41:13.965Z]   GitCommit:        269548fa27e0089a8b8278fc4fc781d7f65a939b
[2021-06-11T17:41:13.965Z]  runc:
[2021-06-11T17:41:13.965Z]   Version:          1.0.0-rc92
[2021-06-11T17:41:13.965Z]   GitCommit:        ff819c7e9184c13b7c2607fe6c30ae19403a7aff
[2021-06-11T17:41:13.965Z]  docker-init:
[2021-06-11T17:41:13.965Z]   Version:          0.19.0
[2021-06-11T17:41:13.965Z]   GitCommit:        de40ad0
[2021-06-11T17:41:13.965Z] Change ownership of all files inside the specific folder from root/root to current user/group
[2021-06-11T17:42:00.711Z] Change permissions with write access of all files inside the specific folder
[2021-06-11T17:42:00.772Z] Running in /var/lib/jenkins/workspace/PR-26263-1-c8bc4379-b7e0-41a6-9972-6b574a4f4daf
[2021-06-11T17:42:05.513Z] + gsutil --version
[2021-06-11T17:42:06.922Z] Masking supported pattern matches of $FILE_CREDENTIAL
[2021-06-11T17:42:07.287Z] + gcloud auth activate-service-account --key-file ****
[2021-06-11T17:42:07.860Z] Activated service account credentials for: [beats-ci-gcs-plugin@elastic-ci-prod.iam.gserviceaccount.com]
[2021-06-11T17:42:08.255Z] + gsutil -m -q cp -a public-read eC1wYWNrL2VsYXN0aWMtYWdlbnQtcGFja2FnaW5nLWxpbnV4OGU5NmQ5YTM5ZDI4YWIwZjg3NWMzMWVmMTJjNzg4YzQxNWNlNWVmYw gs://beats-ci-temp/ci/cache/
[2021-06-11T17:42:10.701Z] Stage "Packaging-Pipeline" skipped due to earlier failure(s)
[2021-06-11T17:42:10.850Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-26263/src/github.com/elastic/beats
[2021-06-11T17:42:11.317Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats_PR-26263
[2021-06-11T17:42:11.440Z] [INFO] getVaultSecret: Getting secrets
[2021-06-11T17:42:11.498Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2021-06-11T17:42:12.554Z] + chmod 755 generate-build-data.sh
[2021-06-11T17:42:12.554Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-26263/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-26263/runs/1 FAILURE 7526184
[2021-06-11T17:42:12.554Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-26263/runs/1/steps/?limit=10000 -o steps-info.json

💚 Flaky test report

Tests succeeded.

Expand to view the summary

Test stats 🧪

Test Results
Failed 0
Passed 47454
Skipped 5256
Total 52710

@andrewkroh andrewkroh merged commit 2ebf83e into elastic:master Jun 14, 2021
mergify bot pushed a commit that referenced this pull request Jun 14, 2021
…26263)

In the script processor, the `decode_xml` and `decode_xml_wineventlog` processors are now available as `DecodeXML` and `DecodeXMLWineventlog` respectively. This follows the same naming conventions as other processors exposed though the `script` processor. For example you can write `new processor.DecodeXML({...})`.

(cherry picked from commit 2ebf83e)
andrewkroh added a commit that referenced this pull request Jun 14, 2021
…26263) (#26282)

In the script processor, the `decode_xml` and `decode_xml_wineventlog` processors are now available as `DecodeXML` and `DecodeXMLWineventlog` respectively. This follows the same naming conventions as other processors exposed though the `script` processor. For example you can write `new processor.DecodeXML({...})`.

(cherry picked from commit 2ebf83e)

Co-authored-by: Andrew Kroh <andrew.kroh@elastic.co>
michalpristas pushed a commit to michalpristas/beats that referenced this pull request Jun 17, 2021
…lastic#26263)

In the script processor, the `decode_xml` and `decode_xml_wineventlog` processors are now available as `DecodeXML` and `DecodeXMLWineventlog` respectively. This follows the same naming conventions as other processors exposed though the `script` processor. For example you can write `new processor.DecodeXML({...})`.
mdelapenya added a commit to mdelapenya/beats that referenced this pull request Jun 21, 2021
* master: (26 commits)
  Report total and free CPU for vSphere virtual machines (elastic#26167)
  [filebeat] Add preserve_original_event option to o365audit input (elastic#26273)
  Change xml processor names in script processor to match convention (elastic#26263)
  [Oracle] Fixing default values for paths in config template (elastic#26276)
  Add more ECS fields to logs (elastic#25998)
  [Heartbeat] Fix broken invocation of synth package (elastic#26228)
  rename sqs file name (elastic#26227)
  Populate the agent action result if there is no matching action handlers (elastic#26152)
  Add ISO8601 as supported timestamp type (elastic#25564)
  Move Filebeat azure module to GA (elastic#26168)
  Filebeat azure module pipeline fixes and changes (elastic#26148)
  libbeat: monitor version (elastic#26214)
  Add new parser to filestream input: container (elastic#26115)
  [Metricbeat] Add state_statefulset replicas.ready (elastic#26088)
  Disable test processors system test for windows 10 (elastic#26216)
  Fix startup with failing configuration (elastic#26126)
  Remove 32 bits version of Elastic Agent. (elastic#25708)
  Chane fleetmode detection to ony use management.enabled (elastic#26180)
  Make `filestream` input GA (elastic#26127)
  libbeat/idxmgmt/ilm: fix alias creation (elastic#26146)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants