Configure the Web Query Client Policy for GCP
Using the Client Policy Builder, you can create and modify policies for your Tenable Log Correlation Engine Web Query Client. The following steps are performed via the web interface on the Tenable Log Correlation Engine server that you configured your Tenable Log Correlation Engine Web Query Client to communicate with.
To configure the Web Query Client Policy for GCP:
-
Using the Client Policy Builder, create a policy for your Tenable Log Correlation Engine Web Query Client. This documentation includes a list of valid configuration items for the client policy.
A Web Query Client policy for GCP (Google Cloud Platform) requires you to add a Google Cloud endpoint to the policy. You must provide the following:
- The service account key in the .json file that was downloaded when completing the prerequisite tasks.
- The subscription name for the Pub/Sub service topic.
To add the endpoint:-
In the Basic pane of the Client Policy Builder, click the button in to add a group.
The Add a new endpoint group window appears.
-
Click the Add Google Cloud endpoint button.
A new Google Cloud endpoint appears.
- In the Endpoint name box, enter a name that identifies the endpoint.
- Select the Active check box.
- In the Query interval box, enter the number of seconds between each query to the Cloud Pub/Sub service.
-
In the JSON service account key box, enter the entire service account key including the braces.
For example:
{
"type": "service_account",
"project_id": "blinkum-genovese-011599",
"private_key_id": "d644c15c7332d29574f0f36ec31659db2e7cdad2",
"private_key": "-----BEGIN PRIVATE KEY-----\nPmxlQ6i3kz/sO7NtLX2lcRuUAzgHiET99UAlqLWGsF2Msqfb38rtvBfFOmTg+NOQH8BkX8XbhGPN1Ks4xDHxtgKbSvWlUg+Eit3rSp1NuWjSz7YqUuCSgsOwbbRQvXtNKvr2RllbFyyymMpakB6iXT5UnfJqftZa5M6pWlMt2wikmkRQxlmpJTHPmaRr3fyhnYJqM/v\TJL4bjprvuYSqzMiXaWq0\Fo0ND28kB30dAhhao5NM6oykq8\OdYc6v534Y+eQfpkpOCN8qRyTTzyYLh0fKm2vEzO/O2n7+jm31h/zNlLqXf/87HsKE8TwGqw05xii21XlrL3\j8DKrNuYy9UClaxxND/r8ncgK6Cv\AYp1DJ1qLw2aIndYZaN9iXyvVQ5GdpUazj0eHORbibfjMCwP1diOAlnmlXfYMk3hTjT2/+teZtOplDL/4OCzuP\k3foR5\G5aT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HrFD1wRDQ2HNV+vgklewhMOiHmSqTc5oZlNQmOH0+dgKwkkNgc12yu/z5FSOxm\bl0b+fZ54KI3lJa45jJyq3+BMyN0pJ\nIWoSRqSIbyD/TlmGsfGzoQLTrUm1SgLh2RKmaCogdBlsGg6hD2C8Uf\n-----END PRIVATE KEY-----\n",
"client_email": "test-credential-service-acct@blinkum-genovese-011599.iam.gserviceaccount.com",
"client_id": "404842616201342653591",
"auth_uri": "https://accounts.google.com/o/oauth2/auth",
"token_uri": "https://accounts.google.com/o/oauth2/token",
"auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
"client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/test-credential-service-acct%40blinkum-genovese-011599.iam.gserviceaccount.com"
}
-
In the Subscription box, enter the subscription name. For example,
projects/my-project-name/subscriptions/my-subscription-name
.Note: You can add multiple endpoints to a single group. For example, one group could contain three Google Cloud endpoints. Another group could contain a Salesforce endpoint, an AWS CloudTrail endpoint, and a Google Cloud endpoint.
- Assign the policy to the Tenable Log Correlation Engine Web Query Client.