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

[servicenow] Add product version and remove logs from configuration page description. #11639

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

muskan-agarwal26
Copy link
Contributor

@muskan-agarwal26 muskan-agarwal26 commented Nov 5, 2024

Type of change

  • Enhancement

Proposed commit message

  • Add product version in the Readme.
  • Remove logs keyword from the description on configuration page.

Checklist

  • I have reviewed tips for building integrations and this pull request is aligned with them.
  • I have verified that all data streams collect metrics or logs.
  • I have added an entry to my package's changelog.yml file.
  • I have verified that Kibana version constraints are current according to guidelines.
  • I have verified that any added dashboard complies with Kibana's Dashboard good practices

How to test this PR locally

  • Clone integrations repo.
  • Install the elastic package locally.
  • Start the elastic stack using the elastic package.
  • Move to integrations/packages/servicenow directory.
  • Run the following command to run tests.

elastic-package test

elastic-package test -v
2024/11/05 17:04:51 DEBUG Enable verbose logging
2024/11/05 17:04:51 DEBUG latest version (cached): v0.106.0. Download from: https://github.com/elastic/elastic-package/releases/tag/v0.106.0 (Timestamp 2024-11-05 16:43:51.944790794 +0530 IST)
2024/11/05 17:04:51  INFO New version is available - v0.106.0. Download from: https://github.com/elastic/elastic-package/releases/tag/v0.106.0
Run asset tests for the package
2024/11/05 17:04:51 DEBUG output command: /usr/bin/docker ps -a --filter label=com.docker.compose.project=elastic-package-stack --format {{.ID}}
2024/11/05 17:04:51 DEBUG output command: /usr/bin/docker inspect 93421bb70573 9f2f28f1326a 5f8110771408 75137f4571a2 6be967dbf6d4 775135bace75 3042d33548f7 d044681f02bd 7854805f3606 ad13e5fa3ac5
2024/11/05 17:04:51 DEBUG Connecting with Kibana host from current profile (profile: default, host: "https://127.0.0.1:5601")
2024/11/05 17:04:51 DEBUG GET https://127.0.0.1:5601/api/status
2024/11/05 17:04:51 DEBUG Running tests sequentially
2024/11/05 17:04:51 DEBUG installing package...
2024/11/05 17:04:51 DEBUG GET https://127.0.0.1:5601/api/fleet/epm/packages/servicenow
2024/11/05 17:04:51 DEBUG Build directory: /root/github/integrations/build/packages/servicenow/0.1.1
2024/11/05 17:04:51 DEBUG Clear target directory (path: /root/github/integrations/build/packages/servicenow/0.1.1)
2024/11/05 17:04:51 DEBUG Copy package content (source: /root/github/integrations/packages/servicenow)
2024/11/05 17:04:51 DEBUG Copy license file if needed
2024/11/05 17:04:51  INFO License text found in "/root/github/integrations/LICENSE.txt" will be included in package
2024/11/05 17:04:51 DEBUG Encode dashboards
2024/11/05 17:04:51 DEBUG Resolve external fields
2024/11/05 17:04:51 DEBUG Package has external dependencies defined
2024/11/05 17:04:52 DEBUG data_stream/event/fields/base-fields.yml: source file hasn't been changed
2024/11/05 17:04:52 DEBUG data_stream/event/fields/beats.yml: source file hasn't been changed
2024/11/05 17:04:52 DEBUG data_stream/event/fields/fields.yml: source file hasn't been changed
2024/11/05 17:04:52 DEBUG Package doesn't have to import ECS mappings
2024/11/05 17:04:52 DEBUG Build zipped package
2024/11/05 17:04:52 DEBUG Compress using archiver.Zip (destination: /root/github/integrations/build/packages/servicenow-0.1.1.zip)
2024/11/05 17:04:52 DEBUG Create work directory for archiving: /tmp/elastic-package-2383235580/servicenow-0.1.1
2024/11/05 17:04:52 DEBUG Skip validation of the built .zip package
2024/11/05 17:04:52 DEBUG POST https://127.0.0.1:5601/api/fleet/epm/packages
2024/11/05 17:04:55 DEBUG GET https://127.0.0.1:5601/api/fleet/epm/packages/servicenow
2024/11/05 17:04:55 DEBUG removing package...
2024/11/05 17:04:55 DEBUG GET https://127.0.0.1:5601/api/fleet/epm/packages/servicenow
2024/11/05 17:04:55 DEBUG DELETE https://127.0.0.1:5601/api/fleet/epm/packages/servicenow/0.1.1
--- Test results for package: servicenow - START ---
╭────────────┬─────────────┬───────────┬─────────────────────────────────────────────────────────────────────┬────────┬──────────────╮
│ PACKAGE    │ DATA STREAM │ TEST TYPE │ TEST NAME                                                           │ RESULT │ TIME ELAPSED │
├────────────┼─────────────┼───────────┼─────────────────────────────────────────────────────────────────────┼────────┼──────────────┤
│ servicenow │             │ asset     │ dashboard servicenow-014c13b4-59bc-4bfa-bcb2-fdc1828020bf is loaded │ PASS   │      1.329µs │
│ servicenow │             │ asset     │ dashboard servicenow-0305f883-12a8-4021-af73-fbe05e797c3f is loaded │ PASS   │        270ns │
│ servicenow │             │ asset     │ dashboard servicenow-22d413b7-ffb5-450f-b5f8-7dcd54fab22f is loaded │ PASS   │        224ns │
│ servicenow │             │ asset     │ dashboard servicenow-297414cc-3b65-40b1-b15b-e33cf676b3bf is loaded │ PASS   │        251ns │
│ servicenow │             │ asset     │ dashboard servicenow-488772bc-4ce5-48c6-9e8a-d948439dbf39 is loaded │ PASS   │        262ns │
│ servicenow │             │ asset     │ dashboard servicenow-648308f9-ebdf-46fe-b6ce-b90dfcf2d1dd is loaded │ PASS   │        260ns │
│ servicenow │             │ asset     │ dashboard servicenow-b182c6a6-3b4e-413f-899d-dd255b1a3623 is loaded │ PASS   │        270ns │
│ servicenow │             │ asset     │ dashboard servicenow-b4795d3e-8c8b-48b2-900e-edc89db4d336 is loaded │ PASS   │        284ns │
│ servicenow │             │ asset     │ dashboard servicenow-d2eb3f0c-4ddb-4683-afab-2820d2616ca2 is loaded │ PASS   │        301ns │
│ servicenow │             │ asset     │ dashboard servicenow-d8977587-d9b4-4487-b321-a8402da07d48 is loaded │ PASS   │        320ns │
│ servicenow │             │ asset     │ dashboard servicenow-d929c3a1-7af8-428e-8357-8b2e8d3e3050 is loaded │ PASS   │        333ns │
│ servicenow │             │ asset     │ dashboard servicenow-e6093b0d-38a6-4b05-8354-4bbaef28b667 is loaded │ PASS   │        354ns │
│ servicenow │             │ asset     │ search servicenow-00004bce-eac2-46d4-bb4e-ce6849c50a36 is loaded    │ PASS   │        201ns │
│ servicenow │             │ asset     │ search servicenow-01396f16-041b-4ec5-b104-d29fe68f09ad is loaded    │ PASS   │        238ns │
│ servicenow │             │ asset     │ search servicenow-046f04ce-7f31-4929-81fa-34561fb369f0 is loaded    │ PASS   │        287ns │
│ servicenow │             │ asset     │ search servicenow-1c323098-190c-4592-aca5-dd9e64de540b is loaded    │ PASS   │        235ns │
│ servicenow │             │ asset     │ search servicenow-26f2b1af-7d7d-4578-b325-322ac4c783fa is loaded    │ PASS   │        277ns │
│ servicenow │             │ asset     │ search servicenow-44db573d-f3e6-4f59-b1a4-328040220991 is loaded    │ PASS   │        280ns │
│ servicenow │             │ asset     │ search servicenow-722e7751-818d-41e2-b7ac-fcc90bb8241b is loaded    │ PASS   │        297ns │
│ servicenow │             │ asset     │ search servicenow-a5b0060e-4ace-4c9f-96e1-2d815bc9dd28 is loaded    │ PASS   │        322ns │
│ servicenow │             │ asset     │ search servicenow-afa470f8-4e19-4fee-8b17-5649a7b0ae51 is loaded    │ PASS   │        329ns │
│ servicenow │             │ asset     │ search servicenow-b9cc24b4-0cfe-458c-8645-23838623ca09 is loaded    │ PASS   │        354ns │
│ servicenow │             │ asset     │ search servicenow-e28e5e66-d00d-4e2c-af2e-a09d0d261b05 is loaded    │ PASS   │        371ns │
│ servicenow │ event       │ asset     │ index_template logs-servicenow.event is loaded                      │ PASS   │        229ns │
│ servicenow │ event       │ asset     │ ingest_pipeline logs-servicenow.event-0.1.1 is loaded               │ PASS   │        183ns │
╰────────────┴─────────────┴───────────┴─────────────────────────────────────────────────────────────────────┴────────┴──────────────╯
--- Test results for package: servicenow - END   ---
Done
Run pipeline tests for the package
2024/11/05 17:04:58 DEBUG output command: /usr/bin/docker ps -a --filter label=com.docker.compose.project=elastic-package-stack --format {{.ID}}
2024/11/05 17:04:58 DEBUG output command: /usr/bin/docker inspect 93421bb70573 9f2f28f1326a 5f8110771408 75137f4571a2 6be967dbf6d4 775135bace75 3042d33548f7 d044681f02bd 7854805f3606 ad13e5fa3ac5
2024/11/05 17:04:58 DEBUG Connecting with Elasticsearch host from current profile (profile: default, host: "https://127.0.0.1:9200")
2024/11/05 17:04:58 DEBUG Running tests sequentially
2024/11/05 17:05:00 DEBUG Imported ECS fields definition from external schema for validation (embedded in package: false, stack uses ecs@mappings template: true)
2024/11/05 17:05:03 DEBUG Dump Elastic stack data
2024/11/05 17:05:03 DEBUG Dump stack logs (location: )
2024/11/05 17:05:03 DEBUG output command: /usr/bin/docker ps -a --filter label=com.docker.compose.project=elastic-package-stack --format {{.ID}}
2024/11/05 17:05:03 DEBUG output command: /usr/bin/docker inspect 93421bb70573 9f2f28f1326a 5f8110771408 75137f4571a2 6be967dbf6d4 775135bace75 3042d33548f7 d044681f02bd 7854805f3606 ad13e5fa3ac5
2024/11/05 17:05:03 DEBUG Dump stack logs for elasticsearch
2024/11/05 17:05:03 DEBUG running command: /usr/bin/docker compose version --short
2024/11/05 17:05:03 DEBUG Determined Docker Compose version: 2.27.0
2024/11/05 17:05:03 DEBUG running command: /usr/bin/docker compose -f /root/.elastic-package/profiles/default/stack/docker-compose.yml -p elastic-package-stack logs --since 2024-11-05T11:34:58Z elasticsearch
--- Test results for package: servicenow - START ---
╭────────────┬─────────────┬───────────┬───────────────────────────────────────────┬────────┬──────────────╮
│ PACKAGE    │ DATA STREAM │ TEST TYPE │ TEST NAME                                 │ RESULT │ TIME ELAPSED │
├────────────┼─────────────┼───────────┼───────────────────────────────────────────┼────────┼──────────────┤
│ servicenow │ event       │ pipeline  │ (ingest pipeline warnings test-event.log) │ PASS   │ 438.688348ms │
│ servicenow │ event       │ pipeline  │ test-event.log                            │ PASS   │ 2.923488638s │
╰────────────┴─────────────┴───────────┴───────────────────────────────────────────┴────────┴──────────────╯
--- Test results for package: servicenow - END   ---
Done
Run policy tests for the package
2024/11/05 17:05:05 DEBUG output command: /usr/bin/docker ps -a --filter label=com.docker.compose.project=elastic-package-stack --format {{.ID}}
2024/11/05 17:05:05 DEBUG output command: /usr/bin/docker inspect 93421bb70573 9f2f28f1326a 5f8110771408 75137f4571a2 6be967dbf6d4 775135bace75 3042d33548f7 d044681f02bd 7854805f3606 ad13e5fa3ac5
2024/11/05 17:05:05 DEBUG Connecting with Kibana host from current profile (profile: default, host: "https://127.0.0.1:5601")
2024/11/05 17:05:05 DEBUG GET https://127.0.0.1:5601/api/status
--- Test results for package: servicenow - START ---
No test results
--- Test results for package: servicenow - END   ---
Done
Run static tests for the package
2024/11/05 17:05:05 DEBUG Running tests sequentially
2024/11/05 17:05:05 DEBUG Imported ECS fields definition from external schema for validation (embedded in package: false, stack uses ecs@mappings template: true)
--- Test results for package: servicenow - START ---
╭────────────┬─────────────┬───────────┬──────────────────────────┬────────┬──────────────╮
│ PACKAGE    │ DATA STREAM │ TEST TYPE │ TEST NAME                │ RESULT │ TIME ELAPSED │
├────────────┼─────────────┼───────────┼──────────────────────────┼────────┼──────────────┤
│ servicenow │ event       │ static    │ Verify sample_event.json │ PASS   │ 239.320062ms │
╰────────────┴─────────────┴───────────┴──────────────────────────┴────────┴──────────────╯
--- Test results for package: servicenow - END   ---
Done
Run system tests for the package
2024/11/05 17:05:05 DEBUG output command: /usr/bin/docker ps -a --filter label=com.docker.compose.project=elastic-package-stack --format {{.ID}}
2024/11/05 17:05:05 DEBUG output command: /usr/bin/docker inspect 93421bb70573 9f2f28f1326a 5f8110771408 75137f4571a2 6be967dbf6d4 775135bace75 3042d33548f7 d044681f02bd 7854805f3606 ad13e5fa3ac5
2024/11/05 17:05:05 DEBUG Connecting with Kibana host from current profile (profile: default, host: "https://127.0.0.1:5601")
2024/11/05 17:05:05 DEBUG GET https://127.0.0.1:5601/api/status
2024/11/05 17:05:05 DEBUG output command: /usr/bin/docker ps -a --filter label=com.docker.compose.project=elastic-package-stack --format {{.ID}}
2024/11/05 17:05:05 DEBUG output command: /usr/bin/docker inspect 93421bb70573 9f2f28f1326a 5f8110771408 75137f4571a2 6be967dbf6d4 775135bace75 3042d33548f7 d044681f02bd 7854805f3606 ad13e5fa3ac5
2024/11/05 17:05:05 DEBUG Connecting with Elasticsearch host from current profile (profile: default, host: "https://127.0.0.1:9200")
2024/11/05 17:05:05 DEBUG Running suite...
2024/11/05 17:05:05 DEBUG Running system tests for data stream "event"
2024/11/05 17:05:05 DEBUG System runner: data stream "event" config file "test-default-config.yml" variant ""
2024/11/05 17:05:05 DEBUG Installing package...
2024/11/05 17:05:05 DEBUG GET https://127.0.0.1:5601/api/fleet/epm/packages/servicenow
2024/11/05 17:05:05 DEBUG Build directory: /root/github/integrations/build/packages/servicenow/0.1.1
2024/11/05 17:05:05 DEBUG Clear target directory (path: /root/github/integrations/build/packages/servicenow/0.1.1)
2024/11/05 17:05:05 DEBUG Copy package content (source: /root/github/integrations/packages/servicenow)
2024/11/05 17:05:05 DEBUG Copy license file if needed
2024/11/05 17:05:05  INFO License text found in "/root/github/integrations/LICENSE.txt" will be included in package
2024/11/05 17:05:05 DEBUG Encode dashboards
2024/11/05 17:05:06 DEBUG Resolve external fields
2024/11/05 17:05:06 DEBUG Package has external dependencies defined
2024/11/05 17:05:06 DEBUG data_stream/event/fields/base-fields.yml: source file hasn't been changed
2024/11/05 17:05:06 DEBUG data_stream/event/fields/beats.yml: source file hasn't been changed
2024/11/05 17:05:06 DEBUG data_stream/event/fields/fields.yml: source file hasn't been changed
2024/11/05 17:05:06 DEBUG Package doesn't have to import ECS mappings
2024/11/05 17:05:06 DEBUG Build zipped package
2024/11/05 17:05:06 DEBUG Compress using archiver.Zip (destination: /root/github/integrations/build/packages/servicenow-0.1.1.zip)
2024/11/05 17:05:06 DEBUG Create work directory for archiving: /tmp/elastic-package-1938661870/servicenow-0.1.1
2024/11/05 17:05:06 DEBUG Skip validation of the built .zip package
2024/11/05 17:05:06 DEBUG POST https://127.0.0.1:5601/api/fleet/epm/packages
2024/11/05 17:05:09 DEBUG Running tests sequentially
2024/11/05 17:05:09 DEBUG Using config: "default"
2024/11/05 17:05:09 DEBUG running test with configuration 'default'
2024/11/05 17:05:09 DEBUG creating enroll policy...
2024/11/05 17:05:09 DEBUG POST https://127.0.0.1:5601/api/fleet/agent_policies
2024/11/05 17:05:13 DEBUG creating test policy...
2024/11/05 17:05:13 DEBUG POST https://127.0.0.1:5601/api/fleet/agent_policies
2024/11/05 17:05:17 DEBUG setting up service...
2024/11/05 17:05:17 DEBUG setting up service using Docker Compose service deployer
2024/11/05 17:05:17 DEBUG running command: /usr/bin/docker compose version --short
2024/11/05 17:05:17 DEBUG Determined Docker Compose version: 2.27.0
2024/11/05 17:05:17 DEBUG output command: /usr/bin/docker network inspect elastic-package-stack_default
2024/11/05 17:05:17 DEBUG running command: /usr/bin/docker compose -f /root/github/integrations/packages/servicenow/_dev/deploy/docker/docker-compose.yml -p elastic-package-service-64438 up --build -d
WARN[0000] /root/github/integrations/packages/servicenow/_dev/deploy/docker/docker-compose.yml: `version` is obsolete 
[+] Running 2/2
 ✔ Network elastic-package-service-64438_default         Created                                                                                                             0.4s 
 ✔ Container elastic-package-service-64438-servicenow-1  Started                                                                                                             3.2s 
2024/11/05 17:05:21 DEBUG running command: /usr/bin/docker compose -f /root/github/integrations/packages/servicenow/_dev/deploy/docker/docker-compose.yml -p elastic-package-service-64438 ps -a -q
WARN[0000] /root/github/integrations/packages/servicenow/_dev/deploy/docker/docker-compose.yml: `version` is obsolete 
2024/11/05 17:05:21 DEBUG Wait for healthy containers: 9203dc4f311373f31a732a8183ec4366458d77546991f9b4e0c37114ff7d1943
2024/11/05 17:05:21 DEBUG output command: /usr/bin/docker inspect 9203dc4f311373f31a732a8183ec4366458d77546991f9b4e0c37114ff7d1943
2024/11/05 17:05:21 DEBUG Container 9203dc4f311373f31a732a8183ec4366458d77546991f9b4e0c37114ff7d1943 status: running (no health status)
2024/11/05 17:05:21 DEBUG run command: /usr/bin/docker network connect elastic-package-stack_default elastic-package-service-64438-servicenow-1 --alias svc-servicenow
2024/11/05 17:05:21 DEBUG adding service container elastic-package-service-64438-servicenow-1 internal ports to context
2024/11/05 17:05:21 DEBUG running command: /usr/bin/docker compose -f /root/github/integrations/packages/servicenow/_dev/deploy/docker/docker-compose.yml -p elastic-package-service-64438 config
WARN[0000] /root/github/integrations/packages/servicenow/_dev/deploy/docker/docker-compose.yml: `version` is obsolete 
2024/11/05 17:05:21 DEBUG adding package data stream to test policy...
2024/11/05 17:05:21 DEBUG POST https://127.0.0.1:5601/api/fleet/package_policies
2024/11/05 17:05:24 DEBUG deleting old data in data stream...
2024/11/05 17:05:24 DEBUG GET https://127.0.0.1:5601/api/fleet/agents
2024/11/05 17:05:24 DEBUG filter agents using criteria: NamePrefix=docker-fleet-agent
2024/11/05 17:05:24 DEBUG found 1 enrolled agent(s)
2024/11/05 17:05:24 DEBUG Selected enrolled agent "1fdf7f33-0e5f-47cb-bc81-549a7cb67a8c"
2024/11/05 17:05:24 DEBUG Set Debug log level to agent
2024/11/05 17:05:24 DEBUG POST https://127.0.0.1:5601/api/fleet/agents/1fdf7f33-0e5f-47cb-bc81-549a7cb67a8c/actions
2024/11/05 17:05:25 DEBUG GET https://127.0.0.1:5601/api/fleet/agent_policies/5b39cc8f-75e9-4f78-870b-f1119676ebc2
2024/11/05 17:05:25 DEBUG assigning package data stream to agent...
2024/11/05 17:05:25 DEBUG PUT https://127.0.0.1:5601/api/fleet/agents/1fdf7f33-0e5f-47cb-bc81-549a7cb67a8c/reassign
2024/11/05 17:05:26 DEBUG GET https://127.0.0.1:5601/api/fleet/agents/1fdf7f33-0e5f-47cb-bc81-549a7cb67a8c
2024/11/05 17:05:26 DEBUG Agent 1fdf7f33-0e5f-47cb-bc81-549a7cb67a8c (Host: docker-fleet-agent): Policy ID 5b39cc8f-75e9-4f78-870b-f1119676ebc2 LogLevel: info Status: updating
2024/11/05 17:05:26 DEBUG Wait until the policy (ID: 5b39cc8f-75e9-4f78-870b-f1119676ebc2, revision: 2) is assigned to the agent (ID: 1fdf7f33-0e5f-47cb-bc81-549a7cb67a8c)...
2024/11/05 17:05:28 DEBUG GET https://127.0.0.1:5601/api/fleet/agents/1fdf7f33-0e5f-47cb-bc81-549a7cb67a8c
2024/11/05 17:05:28 DEBUG Agent 1fdf7f33-0e5f-47cb-bc81-549a7cb67a8c (Host: docker-fleet-agent): Policy ID 5b39cc8f-75e9-4f78-870b-f1119676ebc2 LogLevel: info Status: updating
2024/11/05 17:05:28 DEBUG Wait until the policy (ID: 5b39cc8f-75e9-4f78-870b-f1119676ebc2, revision: 2) is assigned to the agent (ID: 1fdf7f33-0e5f-47cb-bc81-549a7cb67a8c)...
2024/11/05 17:05:30 DEBUG GET https://127.0.0.1:5601/api/fleet/agents/1fdf7f33-0e5f-47cb-bc81-549a7cb67a8c
2024/11/05 17:05:30 DEBUG Agent 1fdf7f33-0e5f-47cb-bc81-549a7cb67a8c (Host: docker-fleet-agent): Policy ID 5b39cc8f-75e9-4f78-870b-f1119676ebc2 LogLevel: debug Status: updating
2024/11/05 17:05:30 DEBUG Wait until the policy (ID: 5b39cc8f-75e9-4f78-870b-f1119676ebc2, revision: 2) is assigned to the agent (ID: 1fdf7f33-0e5f-47cb-bc81-549a7cb67a8c)...
2024/11/05 17:05:32 DEBUG GET https://127.0.0.1:5601/api/fleet/agents/1fdf7f33-0e5f-47cb-bc81-549a7cb67a8c
2024/11/05 17:05:32 DEBUG Agent 1fdf7f33-0e5f-47cb-bc81-549a7cb67a8c (Host: docker-fleet-agent): Policy ID 5b39cc8f-75e9-4f78-870b-f1119676ebc2 LogLevel: debug Status: online
2024/11/05 17:05:32 DEBUG Policy revision assigned to the agent (ID: 1fdf7f33-0e5f-47cb-bc81-549a7cb67a8c)...
2024/11/05 17:05:32 DEBUG checking for expected data in data stream (10m0s)...
2024/11/05 17:05:32 DEBUG found 0 hits in logs-servicenow.event-20253 data stream
2024/11/05 17:05:33 DEBUG found 0 hits in logs-servicenow.event-20253 data stream
2024/11/05 17:05:34 DEBUG found 0 hits in logs-servicenow.event-20253 data stream
2024/11/05 17:05:35 DEBUG found 0 hits in logs-servicenow.event-20253 data stream
2024/11/05 17:05:36 DEBUG found 0 hits in logs-servicenow.event-20253 data stream
2024/11/05 17:05:37 DEBUG found 0 hits in logs-servicenow.event-20253 data stream
2024/11/05 17:05:38 DEBUG found 0 hits in logs-servicenow.event-20253 data stream
2024/11/05 17:05:39 DEBUG found 0 hits in logs-servicenow.event-20253 data stream
2024/11/05 17:05:40 DEBUG found 0 hits in logs-servicenow.event-20253 data stream
2024/11/05 17:05:41 DEBUG found 0 hits in logs-servicenow.event-20253 data stream
2024/11/05 17:05:42 DEBUG found 0 hits in logs-servicenow.event-20253 data stream
2024/11/05 17:05:43 DEBUG found 0 hits in logs-servicenow.event-20253 data stream
2024/11/05 17:05:44 DEBUG found 0 hits in logs-servicenow.event-20253 data stream
2024/11/05 17:05:46 DEBUG found 0 hits in logs-servicenow.event-20253 data stream
2024/11/05 17:05:47 DEBUG found 3 hits in logs-servicenow.event-20253 data stream
2024/11/05 17:05:51 DEBUG found 3 hits in logs-servicenow.event-20253 data stream
2024/11/05 17:05:51 DEBUG running command: /usr/bin/docker compose version --short
2024/11/05 17:05:52 DEBUG Determined Docker Compose version: 2.27.0
2024/11/05 17:05:52 DEBUG running command: /usr/bin/docker compose -f /root/github/integrations/packages/servicenow/_dev/deploy/docker/docker-compose.yml -p elastic-package-service-64438 ps -a -q servicenow
WARN[0000] /root/github/integrations/packages/servicenow/_dev/deploy/docker/docker-compose.yml: `version` is obsolete 
2024/11/05 17:05:52 DEBUG output command: /usr/bin/docker inspect 9203dc4f311373f31a732a8183ec4366458d77546991f9b4e0c37114ff7d1943
2024/11/05 17:05:52 DEBUG check whether or not synthetics is enabled (data stream logs-servicenow.event-20253)...
2024/11/05 17:05:52 DEBUG data stream logs-servicenow.event-20253 has synthetics enabled: false
2024/11/05 17:05:52 DEBUG Imported ECS fields definition from external schema for validation (embedded in package: false, stack uses ecs@mappings template: true)
2024/11/05 17:05:52 DEBUG assert hit count expected 3, observed 3
2024/11/05 17:05:52 DEBUG reassigning original policy back to agent...
2024/11/05 17:05:52 DEBUG PUT https://127.0.0.1:5601/api/fleet/agents/1fdf7f33-0e5f-47cb-bc81-549a7cb67a8c/reassign
2024/11/05 17:05:53 DEBUG GET https://127.0.0.1:5601/api/fleet/agents/1fdf7f33-0e5f-47cb-bc81-549a7cb67a8c
2024/11/05 17:05:53 DEBUG Agent 1fdf7f33-0e5f-47cb-bc81-549a7cb67a8c (Host: docker-fleet-agent): Policy ID elastic-agent-managed-ep LogLevel: info Status: updating
2024/11/05 17:05:53 DEBUG Wait until the policy (ID: elastic-agent-managed-ep, revision: 2) is assigned to the agent (ID: 1fdf7f33-0e5f-47cb-bc81-549a7cb67a8c)...
2024/11/05 17:05:55 DEBUG GET https://127.0.0.1:5601/api/fleet/agents/1fdf7f33-0e5f-47cb-bc81-549a7cb67a8c
2024/11/05 17:05:55 DEBUG Agent 1fdf7f33-0e5f-47cb-bc81-549a7cb67a8c (Host: docker-fleet-agent): Policy ID elastic-agent-managed-ep LogLevel: info Status: updating
2024/11/05 17:05:55 DEBUG Wait until the policy (ID: elastic-agent-managed-ep, revision: 2) is assigned to the agent (ID: 1fdf7f33-0e5f-47cb-bc81-549a7cb67a8c)...
2024/11/05 17:05:57 DEBUG GET https://127.0.0.1:5601/api/fleet/agents/1fdf7f33-0e5f-47cb-bc81-549a7cb67a8c
2024/11/05 17:05:57 DEBUG Agent 1fdf7f33-0e5f-47cb-bc81-549a7cb67a8c (Host: docker-fleet-agent): Policy ID elastic-agent-managed-ep LogLevel: info Status: updating
2024/11/05 17:05:57 DEBUG Wait until the policy (ID: elastic-agent-managed-ep, revision: 2) is assigned to the agent (ID: 1fdf7f33-0e5f-47cb-bc81-549a7cb67a8c)...
2024/11/05 17:05:59 DEBUG GET https://127.0.0.1:5601/api/fleet/agents/1fdf7f33-0e5f-47cb-bc81-549a7cb67a8c
2024/11/05 17:05:59 DEBUG Agent 1fdf7f33-0e5f-47cb-bc81-549a7cb67a8c (Host: docker-fleet-agent): Policy ID elastic-agent-managed-ep LogLevel: info Status: online
2024/11/05 17:05:59 DEBUG Policy revision assigned to the agent (ID: 1fdf7f33-0e5f-47cb-bc81-549a7cb67a8c)...
2024/11/05 17:05:59 DEBUG tearing down service...
2024/11/05 17:05:59 DEBUG tearing down service using Docker Compose runner
2024/11/05 17:05:59 DEBUG running command: /usr/bin/docker compose version --short
2024/11/05 17:06:00 DEBUG Determined Docker Compose version: 2.27.0
2024/11/05 17:06:00 DEBUG running command: /usr/bin/docker compose -f /root/github/integrations/packages/servicenow/_dev/deploy/docker/docker-compose.yml -p elastic-package-service-64438 stop
WARN[0000] /root/github/integrations/packages/servicenow/_dev/deploy/docker/docker-compose.yml: `version` is obsolete 
[+] Stopping 1/1
 ✔ Container elastic-package-service-64438-servicenow-1  Stopped                                                                                                             1.0s 
2024/11/05 17:06:01 DEBUG running command: /usr/bin/docker compose -f /root/github/integrations/packages/servicenow/_dev/deploy/docker/docker-compose.yml -p elastic-package-service-64438 logs
WARN[0000] /root/github/integrations/packages/servicenow/_dev/deploy/docker/docker-compose.yml: `version` is obsolete 
2024/11/05 17:06:01  INFO Write container logs to file: /root/github/integrations/build/container-logs/servicenow-1730806561250653953.log
2024/11/05 17:06:01 DEBUG running command: /usr/bin/docker compose -f /root/github/integrations/packages/servicenow/_dev/deploy/docker/docker-compose.yml -p elastic-package-service-64438 down --volumes
WARN[0000] /root/github/integrations/packages/servicenow/_dev/deploy/docker/docker-compose.yml: `version` is obsolete 
[+] Running 2/2
 ✔ Container elastic-package-service-64438-servicenow-1  Removed                                                                                                             0.0s 
 ✔ Network elastic-package-service-64438_default         Removed                                                                                                             0.2s 
2024/11/05 17:06:01 DEBUG Deleting data stream for testing logs-servicenow.event-20253
2024/11/05 17:06:01 DEBUG reassigning original log level "info" back to agent...
2024/11/05 17:06:01 DEBUG POST https://127.0.0.1:5601/api/fleet/agents/1fdf7f33-0e5f-47cb-bc81-549a7cb67a8c/actions
2024/11/05 17:06:02 DEBUG deleting test policies...
2024/11/05 17:06:02 DEBUG POST https://127.0.0.1:5601/api/fleet/agent_policies/delete
2024/11/05 17:06:05 DEBUG POST https://127.0.0.1:5601/api/fleet/agent_policies/delete
2024/11/05 17:06:07 DEBUG Dump Elastic stack data
2024/11/05 17:06:07 DEBUG Dump stack logs (location: /tmp/test-system-312219757)
2024/11/05 17:06:07 DEBUG output command: /usr/bin/docker ps -a --filter label=com.docker.compose.project=elastic-package-stack --format {{.ID}}
2024/11/05 17:06:07 DEBUG output command: /usr/bin/docker inspect 93421bb70573 9f2f28f1326a 5f8110771408 75137f4571a2 6be967dbf6d4 775135bace75 3042d33548f7 d044681f02bd 7854805f3606 ad13e5fa3ac5
2024/11/05 17:06:07 DEBUG Dump stack logs for package-registry
2024/11/05 17:06:08 DEBUG running command: /usr/bin/docker compose version --short
2024/11/05 17:06:08 DEBUG Determined Docker Compose version: 2.27.0
2024/11/05 17:06:08 DEBUG running command: /usr/bin/docker compose -f /root/.elastic-package/profiles/default/stack/docker-compose.yml -p elastic-package-stack logs package-registry
2024/11/05 17:06:08 DEBUG Dump stack logs for elastic-agent
2024/11/05 17:06:08 DEBUG running command: /usr/bin/docker compose version --short
2024/11/05 17:06:08 DEBUG Determined Docker Compose version: 2.27.0
2024/11/05 17:06:08 DEBUG running command: /usr/bin/docker compose -f /root/.elastic-package/profiles/default/stack/docker-compose.yml -p elastic-package-stack logs elastic-agent
2024/11/05 17:06:08 DEBUG running command: /usr/bin/docker compose version --short
2024/11/05 17:06:08 DEBUG Determined Docker Compose version: 2.27.0
2024/11/05 17:06:08 DEBUG run command: /usr/bin/docker cp elastic-package-stack-elastic-agent-1:/usr/share/elastic-agent/state/data/logs/ /tmp/test-system-312219757/logs/elastic-agent-internal
2024/11/05 17:06:08 DEBUG Dump stack logs for fleet-server
2024/11/05 17:06:09 DEBUG running command: /usr/bin/docker compose version --short
2024/11/05 17:06:09 DEBUG Determined Docker Compose version: 2.27.0
2024/11/05 17:06:09 DEBUG running command: /usr/bin/docker compose -f /root/.elastic-package/profiles/default/stack/docker-compose.yml -p elastic-package-stack logs fleet-server
2024/11/05 17:06:09 DEBUG running command: /usr/bin/docker compose version --short
2024/11/05 17:06:09 DEBUG Determined Docker Compose version: 2.27.0
2024/11/05 17:06:09 DEBUG run command: /usr/bin/docker cp elastic-package-stack-fleet-server-1:/usr/share/elastic-agent/state/data/logs/ /tmp/test-system-312219757/logs/fleet-server-internal
2024/11/05 17:06:09 DEBUG Dump stack logs for kibana
2024/11/05 17:06:09 DEBUG running command: /usr/bin/docker compose version --short
2024/11/05 17:06:09 DEBUG Determined Docker Compose version: 2.27.0
2024/11/05 17:06:09 DEBUG running command: /usr/bin/docker compose -f /root/.elastic-package/profiles/default/stack/docker-compose.yml -p elastic-package-stack logs kibana
2024/11/05 17:06:10 DEBUG Dump stack logs for elasticsearch
2024/11/05 17:06:10 DEBUG running command: /usr/bin/docker compose version --short
2024/11/05 17:06:10 DEBUG Determined Docker Compose version: 2.27.0
2024/11/05 17:06:10 DEBUG running command: /usr/bin/docker compose -f /root/.elastic-package/profiles/default/stack/docker-compose.yml -p elastic-package-stack logs elasticsearch
2024/11/05 17:06:10 DEBUG Uninstalling package...
2024/11/05 17:06:10 DEBUG GET https://127.0.0.1:5601/api/fleet/epm/packages/servicenow
2024/11/05 17:06:10 DEBUG DELETE https://127.0.0.1:5601/api/fleet/epm/packages/servicenow/0.1.1
--- Test results for package: servicenow - START ---
╭────────────┬─────────────┬───────────┬───────────┬────────┬───────────────╮
│ PACKAGE    │ DATA STREAM │ TEST TYPE │ TEST NAME │ RESULT │  TIME ELAPSED │
├────────────┼─────────────┼───────────┼───────────┼────────┼───────────────┤
│ servicenow │ event       │ system    │ default   │ PASS   │ 43.260980576s │
╰────────────┴─────────────┴───────────┴───────────┴────────┴───────────────╯
--- Test results for package: servicenow - END   ---
Done

@muskan-agarwal26 muskan-agarwal26 requested a review from a team as a code owner November 5, 2024 11:24
@muskan-agarwal26 muskan-agarwal26 changed the title [servicenow] Add product version and remove logs from configuration page. [servicenow] Add product version and remove logs from configuration page description. Nov 5, 2024
@andrewkroh andrewkroh added Integration:servicenow ServiceNow Team:Security-Service Integrations Security Service Integrations Team [elastic/security-service-integrations] labels Nov 5, 2024
@elasticmachine
Copy link

Pinging @elastic/security-service-integrations (Team:Security-Service Integrations)

@andrewkroh andrewkroh added the enhancement New feature or request label Nov 6, 2024
@muskan-agarwal26 muskan-agarwal26 marked this pull request as draft November 6, 2024 05:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Integration:servicenow ServiceNow Team:Security-Service Integrations Security Service Integrations Team [elastic/security-service-integrations]
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants