共用方式為


RuleProperties interface

表示規則的所有屬性。

屬性

action

應套用相關聯的篩選,可以在訊息上執行的 SQL 類似表達式。

filter

定義規則評估的篩選表達式。 針對 SqlRuleFilter 輸入,表達式字串會解譯為 SQL92 運算式,其必須評估為 True 或 False。 只能定義 CorrelationRuleFilterSqlRuleFilter 之間的一個。

name

規則的名稱

屬性詳細資料

action

應套用相關聯的篩選,可以在訊息上執行的 SQL 類似表達式。

action: SqlRuleAction

屬性值

filter

定義規則評估的篩選表達式。 針對 SqlRuleFilter 輸入,表達式字串會解譯為 SQL92 運算式,其必須評估為 True 或 False。 只能定義 CorrelationRuleFilterSqlRuleFilter 之間的一個。

filter: CorrelationRuleFilter | SqlRuleFilter

屬性值

name

規則的名稱

name: string

屬性值

string