Slack Webhook
Keeperの高度なレポートとアラートの通知をSlackに送信
Slackのセットアップ
Webhook機能を使用すると、以下の手順でSlackチャンネルにカスタムアラートとアクションを送信できます。

https://api.slack.com/appsに移動して、アプリを新規作成します。

アプリに名前を付け、目的のワークスペースを選択して[Create App] (アプリを作成) をクリックします。

[Incoming Webhooks] (着信Webhooks) をクリックします。

Webhookを有効にして、[Add New Webhook to Workspace] (新しいWebhookをワークスペースに追加) をクリックします。

アラートを送信するSlackチャンネルを選択します。[Copy] (コピー) をクリックして、管理コンソールに接続するために必要なWebhookのURLを取得します。

左側の[Basic Information] (基本情報) セクションで、Keeperアイコンを追加できます。画像を右クリックして保存します。以下のリンクを使用して、Keeperの512 x 512 PNGアイコンをダウンロードします。 https://keeper-email-images.s3.amazonaws.com/common/Keeper_512x512.png

Keeper管理コンソールにログインし、[レポートとアラート] > [アラート]にアクセスして、アラートを新規作成します。目的のイベントタイプと属性を選択しt絵から、[受信者を追加]をクリックします。 以下の例では、すべてのポリシー変更関連イベントが選択されています。



イベント受信者の名前とメールアドレスを入力し、[Webhookを追加]をクリックします。

手順5のWebhook URLを貼り付けます。

以下のJSONコンテンツを[HTTPボディ]のフィールドに貼り付けます。
{
"text":"Keeper Security Event",
"blocks": [
{
"type": "section",
"fields": [
{
"type": "mrkdwn",
"text": "*Alert Name*\n#alert_name"
}
]
},
{
"type": "section",
"fields": [
{
"type": "mrkdwn",
"text": "*Event Details*\n#description"
}
]
},
{
"type": "section",
"fields": [
{
"type": "mrkdwn",
"text": "*IP Address*\n#remote_address"
},
{
"type": "mrkdwn",
"text": "*Timestamp*\n#timestamp"
}
]
},
{
"type": "actions",
"elements": [
{
"type": "button",
"text": {
"type": "plain_text",
"text":"Vault Login",
"emoji": true
},
"value": "vault",
"url": "https://keepersecurity.com/vault",
"action_id": "actionId-1"
},
{
"type": "button",
"text": {
"type": "plain_text",
"text":"Console Login",
"emoji": true
},
"value": "console",
"url": "https://keepersecurity.com/console",
"action_id": "actionId-2"
}
]
}
]
}

[保存]をクリックしてアラートを保存します。


以上です。 イベントの送信が開始するまでに最大15分かかる場合があります。HTTPボディは、任意で変更できます。カスタマイズについてはSlackのBlock Kit Builderをご参照ください。
共有レコードの通知
特定の共有フォルダにレコードが追加された際に通知を送信するのにも使用できます。

上記のSlackの設定手順に従って、基本のSlack統合を作成します。
ウェブボルトで、対象の共有フォルダのUIDを取得します。

管理コンソールで、「共有フォルダへレコードを追加」のイベントを追跡する新しいアラートを作成します。

属性セクションで、共有フォルダのUIDを貼り付けます。

[受信者を追加]をクリックし、新しいWebhookの受信者を作成します。

以下のJSONコードをHTTPボディのフィールドに貼り付けます。作成しているアラートに合わせて、「text」フィールドを編集してください。
{
"text":"Keeper - Added Record to Shared Folder",
"blocks": [
{
"type": "section",
"fields": [
{
"type": "mrkdwn",
"text": "*Alert Name*\n#alert_name"
}
]
},
{
"type": "section",
"fields": [
{
"type": "mrkdwn",
"text": "*Event Details*\n#description"
}
]
},
{
"type": "section",
"fields": [
{
"type": "mrkdwn",
"text": "*IP Address*\n#remote_address"
},
{
"type": "mrkdwn",
"text": "*Timestamp*\n#timestamp"
},
{
"type": "mrkdwn",
"text": "*Record UID*\n#record_uid"
}
]
},
{
"type": "actions",
"elements": [
{
"type": "button",
"text": {
"type": "plain_text",
"text":"Open Record",
"emoji": true
},
"value": "vault",
"url": "https://keepersecurity.com/vault#detail/#record_uid",
"action_id": "actionId-1"
},
{
"type": "button",
"text": {
"type": "plain_text",
"text":"Console Login",
"emoji": true
},
"value": "console",
"url": "https://keepersecurity.com/console",
"action_id": "actionId-2"
}
]
}
]
}
Last updated