107 lines
4.1 KiB
Plaintext
107 lines
4.1 KiB
Plaintext
// Copyright (c) 2007-2010, Intel Corporation. All rights reserved.
|
|
[Version ( "6.0.0" ),
|
|
Description ( "Describes a System Defense Policy" )]
|
|
class AMT_SystemDefensePolicy : CIM_ManagedElement {
|
|
|
|
[Key, Override ( "InstanceID" ),
|
|
Description (
|
|
"Opaquely and uniquely identifies an instance of this class."
|
|
)]
|
|
string InstanceID;
|
|
|
|
[Description ( "Policy name." )]
|
|
string PolicyName;
|
|
|
|
[Required, Description (
|
|
"In case multiple policies are being activated "
|
|
"simultaneously, the policy with the highest precedence "
|
|
"value takes effect. (Policies with the same precedence "
|
|
"are chosen arbitrarily)." )]
|
|
uint32 PolicyPrecedence;
|
|
|
|
[Description (
|
|
"Anti Spoofing has the highest priority for blocking. Any "
|
|
"packet that does NOT pass AS filter will not be "
|
|
"transmitted even if it passes other filters. Any packet "
|
|
"that does pass the AS filter is subject to the rest of "
|
|
"the CB filters before it is transmitted." ),
|
|
ValueMap { "0", "1", "2", "3", "4" },
|
|
Values { "Off", "EventOnMatch", "Count",
|
|
"Counting + EventOnMatch", "On without Counting or EventOnMatch"}]
|
|
uint32 AntiSpoofingSupport;
|
|
|
|
[Description (
|
|
"A list of Filter Creation Handles to be included in the Policy."
|
|
)]
|
|
uint32 FilterCreationHandles[];
|
|
|
|
[Required, Description (
|
|
"Specifies whether the TX packet should be dropped on filter match."
|
|
)]
|
|
boolean TxDefaultDrop;
|
|
|
|
[Required, Description (
|
|
"Specifies whether an Event should be created in the "
|
|
"Event Manager when this filter is matched. (The event "
|
|
"will be generated once and will be allowed again only "
|
|
"after statistics are read)." )]
|
|
boolean TxDefaultMatchEvent;
|
|
|
|
[Required, Description (
|
|
"Specifies whether to count filter matches. (Specifying "
|
|
"TRUE in this action will consume one extra counter from "
|
|
"the counter resources of the Policy)." )]
|
|
boolean TxDefaultCount;
|
|
|
|
[Required, Description (
|
|
"Specifies whether the RX packet should be dropped on filter match."
|
|
)]
|
|
boolean RxDefaultDrop;
|
|
|
|
[Required, Description (
|
|
"Specifies whether an Event should be created in the "
|
|
"Event Manager when this filter is matched. (The event "
|
|
"will be generated once and will be allowed again only "
|
|
"after statistics are read)." )]
|
|
boolean RxDefaultMatchEvent;
|
|
|
|
[Required, Description (
|
|
"Specifies whether to count filter matches. (Specifying "
|
|
"TRUE in this action will consume one extra counter from "
|
|
"the counter resources of the Policy)." )]
|
|
boolean RxDefaultCount;
|
|
|
|
|
|
[Description ( "Get the timeout parameter." )]
|
|
uint32 GetTimeout(
|
|
[OUT, Description (
|
|
"The timeout of the policy (timeout is measured in "
|
|
"minutes, and 0 means no timeout)." )]
|
|
uint32 Timeout);
|
|
|
|
[Description ( "Set the timeout parameter." ),
|
|
ValueMap { "0", "36", "38" },
|
|
Values { "PT_STATUS_SUCCESS", "PT_STATUS_INVALID_PARAMETER",
|
|
"PT_STATUS_FLASH_WRITE_LIMIT_EXCEEDED" }]
|
|
uint32 SetTimeout(
|
|
[Required, IN, Description (
|
|
"The timeout for the policy (measured in minutes, "
|
|
"and 0 means no timeout)." ),
|
|
ValueMap { "0", "1..65535", "65536.." },
|
|
Values { "Infinite", "Minutes for timeout", "Reserved" }]
|
|
uint32 Timeout);
|
|
|
|
[Description ( "Updates the statistics objects with new data." ),
|
|
ValueMap { "0", "1", "2" },
|
|
Values { "Success", "Policy not active", "Invalid parameter" }]
|
|
uint32 UpdateStatistics(
|
|
[Required, IN, Description (
|
|
"EPR to the CIM_EthernetPort object representing "
|
|
"the interface for which to update statistics" )]
|
|
CIM_EthernetPort REF NetworkInterface,
|
|
[Required, IN, Description (
|
|
"Causes statistics to be resetted" )]
|
|
boolean ResetOnRead);
|
|
|
|
};
|