diff --git a/packages/prisma_cloud/changelog.yml b/packages/prisma_cloud/changelog.yml index 3f1e9379d4f..38bf8d00833 100644 --- a/packages/prisma_cloud/changelog.yml +++ b/packages/prisma_cloud/changelog.yml @@ -1,4 +1,9 @@ # newer versions go on top +- version: "1.4.2" + changes: + - description: 'Revert: Fix path to API login for host data sources.' + type: bugfix + link: https://github.com/elastic/integrations/pull/11995 - version: "1.4.1" changes: - description: Don't leak access token into debug logs. diff --git a/packages/prisma_cloud/data_stream/host/agent/stream/input.yml.hbs b/packages/prisma_cloud/data_stream/host/agent/stream/input.yml.hbs index 84dec9ae99c..888894c9cd4 100644 --- a/packages/prisma_cloud/data_stream/host/agent/stream/input.yml.hbs +++ b/packages/prisma_cloud/data_stream/host/agent/stream/input.yml.hbs @@ -29,7 +29,7 @@ program: | state.with(has(state.want_more) && !(state.want_more) ? post_request( - state.url + "/login", + state.url + "/authenticate", "application/json", {"username":state.user,"password":state.password}.encode_json() ).do_request().as(resp, bytes(resp.Body).decode_json().as(body, { diff --git a/packages/prisma_cloud/data_stream/host/manifest.yml b/packages/prisma_cloud/data_stream/host/manifest.yml index d25647fc287..22110cfbeb6 100644 --- a/packages/prisma_cloud/data_stream/host/manifest.yml +++ b/packages/prisma_cloud/data_stream/host/manifest.yml @@ -10,7 +10,7 @@ streams: - name: url type: text title: URL - description: Base URL of the Prisma Cloud Server API. + description: Base URL of the Prisma Cloud Server API, in the form `https:///api/v`. required: true show_user: true - name: interval diff --git a/packages/prisma_cloud/data_stream/host_profile/agent/stream/input.yml.hbs b/packages/prisma_cloud/data_stream/host_profile/agent/stream/input.yml.hbs index 9ed0ca29b4e..62fd00d5462 100644 --- a/packages/prisma_cloud/data_stream/host_profile/agent/stream/input.yml.hbs +++ b/packages/prisma_cloud/data_stream/host_profile/agent/stream/input.yml.hbs @@ -29,7 +29,7 @@ program: | state.with(has(state.want_more) && !(state.want_more) ? post_request( - state.url + "/login", + state.url + "/authenticate", "application/json", {"username":state.user,"password":state.password}.encode_json() ).do_request().as(resp, bytes(resp.Body).decode_json().as(body, { diff --git a/packages/prisma_cloud/data_stream/host_profile/manifest.yml b/packages/prisma_cloud/data_stream/host_profile/manifest.yml index 98cbe8b96d7..76a6c5c219e 100644 --- a/packages/prisma_cloud/data_stream/host_profile/manifest.yml +++ b/packages/prisma_cloud/data_stream/host_profile/manifest.yml @@ -10,7 +10,7 @@ streams: - name: url type: text title: URL - description: Base URL of the Prisma Cloud Server API. + description: Base URL of the Prisma Cloud Server API, in the form `https:///api/v`. required: true show_user: true - name: interval diff --git a/packages/prisma_cloud/manifest.yml b/packages/prisma_cloud/manifest.yml index 55e806c9744..edcb3ef056b 100644 --- a/packages/prisma_cloud/manifest.yml +++ b/packages/prisma_cloud/manifest.yml @@ -1,7 +1,7 @@ format_version: 3.0.3 name: prisma_cloud title: "Palo Alto Prisma Cloud" -version: "1.4.1" +version: "1.4.2" description: "Collect logs from Prisma Cloud with Elastic Agent." type: integration categories: