View as Markdown

SDK reference · Node SDK

prov.identify.policies.ruleSuggestions

prov.identify.policies.ruleSuggestions in the Node SDK: 5 methods. authorize.policies.ruleSuggestions (checkout) or identify.policies.ruleSuggestions (traffic).

Methods

list

prov.identify.policies.ruleSuggestions.list(params?: ListRuleSuggestionsParams): Promise<ListResponse<RuleSuggestion>>

Open, shadowed and recent (90 days) suggestions, newest first; status filters.

get

prov.identify.policies.ruleSuggestions.get(id: string): Promise<RuleSuggestion>

refresh

prov.identify.policies.ruleSuggestions.refresh(): Promise<RuleSuggestionRefresh>

Run the drafts now (once a day per product; 429 after).

shadow

prov.identify.policies.ruleSuggestions.shadow(id: string): Promise<RuleSuggestion>

A draft version (the live rules plus this rule), shadowed on live traffic; the suggestion's shadowVersion names it.

dismiss

prov.identify.policies.ruleSuggestions.dismiss(id: string): Promise<RuleSuggestion>

Hide it for 90 days; a draft with the same conditions isn't suggested again meanwhile.

Was this page helpful? Send us feedback

LLM? Read llms.txt.