From 2cd3227dd6df3ee5d7024b3a7d9643665f449040 Mon Sep 17 00:00:00 2001 From: Manabu Niseki Date: Thu, 5 Feb 2026 10:07:30 +0900 Subject: [PATCH] fix: remove hostnames/ip --- cmd/pro/subscription/common.go | 2 +- docs/urlscan_pro_subscription_create.md | 2 +- docs/urlscan_pro_subscription_update.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/pro/subscription/common.go b/cmd/pro/subscription/common.go index 4636578..91e944a 100644 --- a/cmd/pro/subscription/common.go +++ b/cmd/pro/subscription/common.go @@ -28,7 +28,7 @@ func setCreateOrUpdateFlags(cmd *cobra.Command) { cmd.Flags().String("incident-profile-id", "", "Incident Profile ID associated with this subscription") cmd.Flags().String("incident-visibility", "", "Incident visibility (unlisted, private)") cmd.Flags().String("incident-creation-mode", "", "Incident creation rule (none, default, always, ignore-if-exists)") - cmd.Flags().String("incident-watch-keys", "", "Source/key to watch in the incident (scans/page.url, scans/page.domain, scans/page.ip, scans/page.apexDomain, hostnames/hostname, hostnames/ip, hostnames/domain)") + cmd.Flags().String("incident-watch-keys", "", "Source/key to watch in the incident (scans/page.url, scans/page.domain, scans/page.ip, scans/page.apexDomain, hostnames/hostname, hostnames/domain)") } func mapCmdToSubscriptionOptions(cmd *cobra.Command) (opts []api.SubscriptionOption, err error) { diff --git a/docs/urlscan_pro_subscription_create.md b/docs/urlscan_pro_subscription_create.md index 1a22776..992d294 100644 --- a/docs/urlscan_pro_subscription_create.md +++ b/docs/urlscan_pro_subscription_create.md @@ -25,7 +25,7 @@ urlscan pro subscription create [flags] --incident-creation-mode string Incident creation rule (none, default, always, ignore-if-exists) --incident-profile-id string Incident Profile ID associated with this subscription --incident-visibility string Incident visibility (unlisted, private) - --incident-watch-keys string Source/key to watch in the incident (scans/page.url, scans/page.domain, scans/page.ip, scans/page.apexDomain, hostnames/hostname, hostnames/ip, hostnames/domain) + --incident-watch-keys string Source/key to watch in the incident (scans/page.url, scans/page.domain, scans/page.ip, scans/page.apexDomain, hostnames/hostname, hostnames/domain) -a, --is-active Whether the subscription is active (default true) -n, --name string Name of the subscription (required) --permissions strings Permissions (team:read, team:write) diff --git a/docs/urlscan_pro_subscription_update.md b/docs/urlscan_pro_subscription_update.md index 20e51ff..6bf3611 100644 --- a/docs/urlscan_pro_subscription_update.md +++ b/docs/urlscan_pro_subscription_update.md @@ -25,7 +25,7 @@ urlscan pro subscription update [flags] --incident-creation-mode string Incident creation rule (none, default, always, ignore-if-exists) --incident-profile-id string Incident Profile ID associated with this subscription --incident-visibility string Incident visibility (unlisted, private) - --incident-watch-keys string Source/key to watch in the incident (scans/page.url, scans/page.domain, scans/page.ip, scans/page.apexDomain, hostnames/hostname, hostnames/ip, hostnames/domain) + --incident-watch-keys string Source/key to watch in the incident (scans/page.url, scans/page.domain, scans/page.ip, scans/page.apexDomain, hostnames/hostname, hostnames/domain) -a, --is-active Whether the subscription is active (default true) -n, --name string Name of the subscription (required) --permissions strings Permissions (team:read, team:write)