Policies

Search Policies

post/policies/search

Search for policies using optional filters.

Related SDK Methods:
Java

PoliciesApi.searchPolicies([param1, param2, ...])

Python

PoliciesApi.search_policies([param1, param2, ...])

JavaScript

PoliciesApi.searchPolicies([param1, param2, ...])

Request
query Parameters
overrides
boolean

Show only overrides defined for the current policy.

header Parameters
api-version
required
string

The version of the api being called.

Example: YOUR VERSION
Request Body schema: application/json

A collection of options used to filter the search results.

maxItems
integer <int32>

Limits the number of objects returned. Default 5000.

Array of objects (searchCriteria)

Array of search critiera used to filter objects. Searching with multiple criteria returns results that satisfy all of the criteria. Searching with no criteria returns all objects.

sortByObjectID
boolean

If true, forces the response objects to be sorted by ID, overriding the default sort order. Default "false".

Responses
200

successful operation

403

Not authorized to view policies.

Request samples
application/json
{
  • "maxItems": 0,
  • "searchCriteria": [
    ],
  • "sortByObjectID": true
}
Response samples
application/json
{
  • "policies": [
    ]
}

Describe a Policy

get/policies/{policyID}

Describe a policy by ID.

Related SDK Methods:
Java

PoliciesApi.describePolicy([param1, param2, ...])

Python

PoliciesApi.describe_policy([param1, param2, ...])

JavaScript

PoliciesApi.describePolicy([param1, param2, ...])

Request
path Parameters
policyID
required
integer <int32> \d+

The ID number of the policy to describe.

Example: 1
query Parameters
overrides
boolean

Show only overrides defined for the current policy.

header Parameters
api-version
required
string

The version of the api being called.

Example: YOUR VERSION
Responses
200

successful operation

403

Not authorized to view policies.

404

The policy does not exist.

Request samples
import com.trendmicro.deepsecurity.ApiClient;
import com.trendmicro.deepsecurity.Configuration;
import com.trendmicro.deepsecurity.auth.ApiKeyAuth;
import com.trendmicro.deepsecurity.ApiException;
import com.trendmicro.deepsecurity.api.PoliciesApi;
import com.trendmicro.deepsecurity.model.Policy;


public class DescribePolicyExample {
	
	public static void main(String[] args) {
		// Setup
		ApiClient defaultClient = Configuration.getDefaultApiClient();
		defaultClient.setBasePath("YOUR HOST");

		// Authentication
		ApiKeyAuth DefaultAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("DefaultAuthentication");
		DefaultAuthentication.setApiKey("YOUR API KEY");
		try {
			defaultClient.trustAllCertificates(false);
		} catch (Exception e) {
			System.err.println("An exception occurred when calling ApiClient.trustAllCertificates");
			e.printStackTrace();
		}
		
		// Initialization
		// Set Any Required Values
		PoliciesApi instance = new PoliciesApi();
		Integer policyID = 1;
		Boolean overrides = false;
		String apiVersion = "YOUR VERSION";
		try {
			// Please replace the parameter values with yours
			Policy result = instance.describePolicy(policyID, overrides, apiVersion);
			System.out.println(result);
		} catch (ApiException e) {
			System.err.println("An exception occurred when calling PoliciesApi.describePolicy");
			e.printStackTrace();
		}
	}
}

Response samples
application/json
{
  • "parentID": 0,
  • "name": "string",
  • "description": "string",
  • "policySettings": {
    },
  • "recommendationScanMode": "off",
  • "autoRequiresUpdate": "off",
  • "interfaceTypes": {
    },
  • "ID": 0,
  • "antiMalware": {
    },
  • "webReputation": {
    },
  • "firewall": {
    },
  • "intrusionPrevention": {
    },
  • "integrityMonitoring": {
    },
  • "logInspection": {
    },
  • "applicationControl": {
    },
  • "SAP": {
    }
}

Modify a Policy

post/policies/{policyID}

Modify a policy by ID.

Related SDK Methods:
Java

PoliciesApi.modifyPolicy([param1, param2, ...])

Python

PoliciesApi.modify_policy([param1, param2, ...])

JavaScript

PoliciesApi.modifyPolicy([param1, param2, ...])

Request
path Parameters
policyID
required
integer <int32> \d+

The ID number of the policy to modify.

Example: 1
query Parameters
overrides
boolean

Show only overrides defined for the current policy.

header Parameters
api-version
required
string

The version of the api being called.

Example: YOUR VERSION
Request Body schema: application/json

The settings of the policy to modify.

object (AntiMalwarePolicyExtension)

Policy-level configuration for the Anti-Malware module

object (ApplicationControlPolicyExtension)

Policy-level configuration for the Application Control module

autoRequiresUpdate
string

Automatically update computers assigned this policy when the configuration changes. Searchable as Choice.

Enum: "off" "on"
description
string

Description of the policy. Searchable as String.

object (FirewallPolicyExtension)

Policy-level configuration for the Firewall module

object (IntegrityMonitoringPolicyExtension)

Policy-level configuration for the Integrity Monitoring module

object (InterfaceTypes)
object (IntrusionPreventionPolicyExtension)

Policy-level configuration for the Intrusion Prevention module

object (LogInspectionPolicyExtension)

Policy-level configuration for the Log Inspection module

name
string

Name of the policy. Searchable as String.

parentID
integer <int32>

ID of the parent policy. Searchable as Numeric.

object (PolicySettings)
recommendationScanMode
string

Enable or disable ongoing recommendation scans for computers assigned this policy. Searchable as Choice.

Enum: "off" "ongoing"
object (SAPPolicyExtension)

Policy-level configuration for the SAP module

object (WebReputationPolicyExtension)

Policy-level configuration for the Web Reputation module

Responses
200

successful operation

403

Not authorized to modify policies or the requested modification is not permitted.

404

The policy does not exist.

Request samples
application/json
{
  • "parentID": 0,
  • "name": "string",
  • "description": "string",
  • "policySettings": {
    },
  • "recommendationScanMode": "off",
  • "autoRequiresUpdate": "off",
  • "interfaceTypes": {
    },
  • "antiMalware": {
    },
  • "webReputation": {
    },
  • "firewall": {
    },
  • "intrusionPrevention": {
    },
  • "integrityMonitoring": {
    },
  • "logInspection": {
    },
  • "applicationControl": {
    },
  • "SAP": {
    }
}
Response samples
application/json
{
  • "parentID": 0,
  • "name": "string",
  • "description": "string",
  • "policySettings": {
    },
  • "recommendationScanMode": "off",
  • "autoRequiresUpdate": "off",
  • "interfaceTypes": {
    },
  • "ID": 0,
  • "antiMalware": {
    },
  • "webReputation": {
    },
  • "firewall": {
    },
  • "intrusionPrevention": {
    },
  • "integrityMonitoring": {
    },
  • "logInspection": {
    },
  • "applicationControl": {
    },
  • "SAP": {
    }
}

Delete a Policy

delete/policies/{policyID}

Delete a policy by ID.

Related SDK Methods:
Java

PoliciesApi.deletePolicy([param1, param2, ...])

Python

PoliciesApi.delete_policy([param1, param2, ...])

JavaScript

PoliciesApi.deletePolicy([param1, param2, ...])

Request
path Parameters
policyID
required
integer <int32> \d+

The ID number of the policy to delete.

Example: 1
header Parameters
api-version
required
string

The version of the api being called.

Example: YOUR VERSION
Responses
200

Request is successful.

403

Not authorized to delete policies.

Request samples
import com.trendmicro.deepsecurity.ApiClient;
import com.trendmicro.deepsecurity.Configuration;
import com.trendmicro.deepsecurity.auth.ApiKeyAuth;
import com.trendmicro.deepsecurity.ApiException;
import com.trendmicro.deepsecurity.api.PoliciesApi;


public class DeletePolicyExample {
	
	public static void main(String[] args) {
		// Setup
		ApiClient defaultClient = Configuration.getDefaultApiClient();
		defaultClient.setBasePath("YOUR HOST");

		// Authentication
		ApiKeyAuth DefaultAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("DefaultAuthentication");
		DefaultAuthentication.setApiKey("YOUR API KEY");
		try {
			defaultClient.trustAllCertificates(false);
		} catch (Exception e) {
			System.err.println("An exception occurred when calling ApiClient.trustAllCertificates");
			e.printStackTrace();
		}
		
		// Initialization
		// Set Any Required Values
		PoliciesApi instance = new PoliciesApi();
		Integer policyID = 1;
		String apiVersion = "YOUR VERSION";
		try {
			// Please replace the parameter values with yours
			instance.deletePolicy(policyID, apiVersion);
		} catch (ApiException e) {
			System.err.println("An exception occurred when calling PoliciesApi.deletePolicy");
			e.printStackTrace();
		}
	}
}

List Default Settings

get/policies/default

Lists all default policy settings.

Related SDK Methods:
Java

PoliciesApi.listDefaultSettings([param1, param2, ...])

Python

PoliciesApi.list_default_settings([param1, param2, ...])

JavaScript

PoliciesApi.listDefaultSettings([param1, param2, ...])

Request
header Parameters
api-version
required
string

The version of the api being called.

Example: YOUR VERSION
Responses
200

successful operation

403

Not authorized to view policies.

Request samples
import com.trendmicro.deepsecurity.ApiClient;
import com.trendmicro.deepsecurity.Configuration;
import com.trendmicro.deepsecurity.auth.ApiKeyAuth;
import com.trendmicro.deepsecurity.ApiException;
import com.trendmicro.deepsecurity.api.PoliciesApi;
import com.trendmicro.deepsecurity.model.DefaultPolicySettings;


public class ListDefaultSettingsExample {
	
	public static void main(String[] args) {
		// Setup
		ApiClient defaultClient = Configuration.getDefaultApiClient();
		defaultClient.setBasePath("YOUR HOST");

		// Authentication
		ApiKeyAuth DefaultAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("DefaultAuthentication");
		DefaultAuthentication.setApiKey("YOUR API KEY");
		try {
			defaultClient.trustAllCertificates(false);
		} catch (Exception e) {
			System.err.println("An exception occurred when calling ApiClient.trustAllCertificates");
			e.printStackTrace();
		}
		
		// Initialization
		// Set Any Required Values
		PoliciesApi instance = new PoliciesApi();
		String apiVersion = "YOUR VERSION";
		try {
			// Please replace the parameter values with yours
			DefaultPolicySettings result = instance.listDefaultSettings(apiVersion);
			System.out.println(result);
		} catch (ApiException e) {
			System.err.println("An exception occurred when calling PoliciesApi.listDefaultSettings");
			e.printStackTrace();
		}
	}
}

Response samples
application/json
{
  • "logInspectionSettingSeverityClippingAgentEventSendSyslogLevelMin": {
    },
  • "firewallSettingEngineOptionConnectionsCleanupMax": {
    },
  • "firewallSettingEngineOptionVerifyTcpChecksumEnabled": {
    },
  • "antiMalwareSettingScanCacheOnDemandConfigId": {
    },
  • "applicationControlSettingSharedRulesetId": {
    },
  • "applicationControlSettingState": {
    },
  • "webReputationSettingSmartProtectionServerConnectionLostWarningEnabled": {
    },
  • "applicationControlSettingExecutionEnforcementLevel": {
    },
  • "webReputationSettingBlockedUrlDomains": {
    },
  • "firewallSettingEngineOptionSynSentTimeout": {
    },
  • "platformSettingAgentSelfProtectionPassword": {
    },
  • "firewallSettingReconnaissanceBlockTcpXmasAttackDuration": {
    },
  • "intrusionPreventionSettingVirtualAndContainerNetworkScanEnabled": {
    },
  • "logInspectionSettingSyslogConfigId": {
    },
  • "firewallSettingEngineOptionDebugModeEnabled": {
    },
  • "firewallSettingVirtualAndContainerNetworkScanEnabled": {
    },
  • "antiMalwareSettingFileHashSha256Enabled": {
    },
  • "firewallSettingReconnaissanceNotifyFingerprintProbeEnabled": {
    },
  • "firewallSettingEventLogFileRetainNum": {
    },
  • "firewallSettingAntiEvasionCheckTcpPawsZero": {
    },
  • "antiMalwareSettingConnectedThreatDefenseUseControlManagerSuspiciousObjectListEnabled": {
    },
  • "intrusionPreventionSettingEngineOptionFragmentedIpKeepMax": {
    },
  • "firewallSettingEngineOptionDrop6To4BogonsAddressesEnabled": {
    },
  • "logInspectionSettingSeverityClippingAgentEventStoreLevelMin": {
    },
  • "platformSettingScanCacheConcurrencyMax": {
    },
  • "antiMalwareSettingSyslogConfigId": {
    },
  • "firewallSettingAntiEvasionTcpPawsWindowPolicy": {
    },
  • "firewallSettingReconnaissanceDetectTcpXmasAttackEnabled": {
    },
  • "applicationControlSettingRulesetMode": {
    },
  • "antiMalwareSettingSmartProtectionGlobalServerUseProxyEnabled": {
    },
  • "webReputationSettingSmartProtectionLocalServerAllowOffDomainGlobal": {
    },
  • "integrityMonitoringSettingCombinedModeProtectionSource": {
    },
  • "firewallSettingEngineOptionCloseWaitTimeout": {
    },
  • "platformSettingScanOpenPortListId": {
    },
  • "platformSettingAgentSelfProtectionPasswordEnabled": {
    },
  • "firewallSettingEngineOptionAckTimeout": {
    },
  • "firewallSettingEventLogFileCachedEntriesStaleTime": {
    },
  • "firewallSettingCombinedModeProtectionSource": {
    },
  • "platformSettingAgentEventsSendInterval": {
    },
  • "platformSettingInactiveAgentCleanupOverrideEnabled": {
    },
  • "firewallSettingFailureResponseEngineSystem": {
    },
  • "platformSettingRelayState": {
    },
  • "firewallSettingEngineOptionDropEvasiveRetransmitEnabled": {
    },
  • "firewallSettingState": {
    },
  • "intrusionPreventionSettingEngineOptionFragmentedIpTimeout": {
    },
  • "firewallSettingAntiEvasionCheckTcpZeroFlags": {
    },
  • "webReputationSettingSmartProtectionGlobalServerUseProxyEnabled": {
    },
  • "intrusionPreventionSettingNsxSecurityTaggingPreventModeLevel": {
    },
  • "firewallSettingReconnaissanceNotifyTcpXmasAttackEnabled": {
    },
  • "firewallSettingEngineOptionUdpTimeout": {
    },
  • "webReputationSettingSmartProtectionLocalServerEnabled": {
    },
  • "firewallSettingEngineOptionTcpMssLimit": {
    },
  • "firewallSettingEngineOptionColdStartTimeout": {
    },
  • "firewallSettingEngineOptionEstablishedTimeout": {
    },
  • "antiMalwareSettingIdentifiedFilesSpaceMaxMbytes": {
    },
  • "webReputationSettingState": {
    },
  • "firewallSettingEngineOptionAllowNullIpEnabled": {
    },
  • "platformSettingNotificationsSuppressPopupsEnabled": {
    },
  • "firewallSettingAntiEvasionCheckTcpRstFinFlags": {
    },
  • "firewallSettingEngineOptionDisconnectTimeout": {
    },
  • "firewallSettingEngineOptionCloseTimeout": {
    },
  • "firewallSettingEngineOptionTunnelDepthMaxExceededAction": {
    },
  • "firewallSettingReconnaissanceDetectTcpNullScanEnabled": {
    },
  • "platformSettingSmartProtectionAntiMalwareGlobalServerProxyId": {
    },
  • "firewallSettingEngineOptionFilterIpv4Tunnels": {
    },
  • "webReputationSettingSmartProtectionLocalServerUrls": {
    },
  • "firewallSettingEngineOptionLogOnePacketPeriod": {
    },
  • "firewallSettingEngineOptionFilterIpv6Tunnels": {
    },
  • "firewallSettingAntiEvasionCheckTcpCongestionFlags": {
    },
  • "platformSettingHeartbeatMissedAlertThreshold": {
    },
  • "intrusionPreventionSettingEngineOptionsEnabled": {
    },
  • "firewallSettingEngineOptionConnectionsNumUdpMax": {
    },
  • "integrityMonitoringSettingAutoApplyRecommendationsEnabled": {
    },
  • "firewallSettingEngineOptionTunnelDepthMax": {
    },
  • "firewallSettingEngineOptionDropUnknownSslProtocolEnabled": {
    },
  • "antiMalwareSettingNsxSecurityTaggingValue": {
    },
  • "intrusionPreventionSettingLogDataRuleFirstMatchEnabled": {
    },
  • "firewallSettingEngineOptionLoggingPolicy": {
    },
  • "platformSettingTroubleshootingLoggingLevel": {
    },
  • "antiMalwareSettingVirtualApplianceOnDemandScanCacheEntriesMax": {
    },
  • "webReputationSettingCombinedModeProtectionSource": {
    },
  • "firewallSettingEngineOptionClosingTimeout": {
    },
  • "antiMalwareSettingState": {
    },
  • "firewallSettingAntiEvasionCheckPaws": {
    },
  • "intrusionPreventionSettingAutoApplyRecommendationsEnabled": {
    },
  • "firewallSettingReconnaissanceDetectFingerprintProbeEnabled": {
    },
  • "antiMalwareSettingNsxSecurityTaggingRemoveOnCleanScanEnabled": {
    },
  • "firewallSettingEngineOptionLogPacketLengthMax": {
    },
  • "firewallSettingEngineOptionDropTeredoAnomaliesEnabled": {
    },
  • "webReputationSettingSecurityLevel": {
    },
  • "firewallSettingEngineOptionDropIpv6SiteLocalAddressesEnabled": {
    },
  • "logInspectionSettingState": {
    },
  • "firewallSettingEngineOptionStrictTerodoPortCheckEnabled": {
    },
  • "webReputationSettingBlockedUrlKeywords": {
    },
  • "webReputationSettingSyslogConfigId": {
    },
  • "firewallSettingFailureResponsePacketSanityCheck": {
    },
  • "firewallSettingNetworkEngineMode": {
    },
  • "firewallSettingEventLogFileSizeMax": {
    },
  • "antiMalwareSettingMalwareScanMultithreadedProcessingEnabled": {
    },
  • "firewallSettingReconnaissanceDetectTcpSynFinScanEnabled": {
    },
  • "firewallSettingEngineOptionDropIpZeroPayloadEnabled": {
    },
  • "firewallSettingEngineOptionBlockIpv6Agent8AndEarlierEnabled": {
    },
  • "intrusionPreventionSettingEngineOptionFragmentedIpPacketSendIcmpEnabled": {
    },
  • "antiMalwareSettingPredictiveMachineLearningExceptions": {
    },
  • "firewallSettingEngineOptionLogEventsPerSecondMax": {
    },
  • "firewallSettingEngineOptionSslSessionTime": {
    },
  • "antiMalwareSettingBehaviorMonitoringScanExclusionList": {
    },
  • "antiMalwareSettingSmartProtectionGlobalServerEnabled": {
    },
  • "firewallSettingEngineOptionLogOnePacketWithinPeriodEnabled": {
    },
  • "firewallSettingEngineOptionGenerateConnectionEventsIcmpEnabled": {
    },
  • "platformSettingHeartbeatInactiveVmOfflineAlertEnabled": {
    },
  • "webReputationSettingSmartProtectionWebReputationGlobalServerProxyId": {
    },
  • "antiMalwareSettingNsxSecurityTaggingEnabled": {
    },
  • "firewallSettingAntiEvasionCheckFragmentedPackets": {
    },
  • "firewallSettingEngineOptionConnectionsNumIcmpMax": {
    },
  • "firewallSettingAntiEvasionCheckTcpSplitHandshake": {
    },
  • "antiMalwareSettingCombinedModeProtectionSource": {
    },
  • "firewallSettingEngineOptionEventNodesMax": {
    },
  • "webReputationSettingMonitorPortListId": {
    },
  • "sapSettingState": {
    },
  • "applicationControlSettingSyslogConfigId": {
    },
  • "firewallSettingAntiEvasionCheckOutNoConnection": {
    },
  • "firewallSettingEngineOptionBlockIpv6Agent9AndLaterEnabled": {
    },
  • "integrityMonitoringSettingVirtualApplianceOptimizationScanCacheEntriesMax": {
    },
  • "firewallSettingReconnaissanceNotifyTcpNullScanEnabled": {
    },
  • "firewallSettingEngineOptionIgnoreStatusCode1": {
    },
  • "firewallSettingEngineOptionIgnoreStatusCode0": {
    },
  • "firewallSettingEngineOptionIgnoreStatusCode2": {
    },
  • "firewallSettingEngineOptionSslSessionSize": {
    },
  • "antiMalwareSettingScanCacheRealTimeConfigId": {
    },
  • "platformSettingRecommendationOngoingScansInterval": {
    },
  • "platformSettingSmartProtectionGlobalServerUseProxyEnabled": {
    },
  • "firewallSettingInterfaceLimitOneActiveEnabled": {
    },
  • "firewallSettingAntiEvasionCheckTcpChecksum": {
    },
  • "firewallSettingEngineOptionDropIpv6ExtType0Enabled": {
    },
  • "antiMalwareSettingScanFileSizeMaxMbytes": {
    },
  • "firewallSettingEngineOptionGenerateConnectionEventsTcpEnabled": {
    },
  • "antiMalwareSettingFileHashSizeMaxMbytes": {
    },
  • "firewallSettingEventLogFileCachedEntriesLifeTime": {
    },
  • "platformSettingSmartProtectionGlobalServerProxyId": {
    },
  • "logInspectionSettingAutoApplyRecommendationsEnabled": {
    },
  • "antiMalwareSettingConnectedThreatDefenseSuspiciousFileDdanSubmissionEnabled": {
    },
  • "webReputationSettingBlockingPageLink": {
    },
  • "firewallSettingSyslogConfigId": {
    },
  • "platformSettingAgentCommunicationsDirection": {
    },
  • "integrityMonitoringSettingScanCacheConfigId": {
    },
  • "antiMalwareSettingDocumentExploitProtectionRuleExceptions": {
    },
  • "firewallSettingAntiEvasionCheckTcpSynWithData": {
    },
  • "antiMalwareSettingFileHashEnabled": {
    },
  • "firewallSettingReconnaissanceBlockFingerprintProbeDuration": {
    },
  • "firewallSettingEngineOptionDropIpv6BogonsAddressesEnabled": {
    },
  • "firewallSettingEngineOptionBootStartTimeout": {
    },
  • "firewallSettingEngineOptionConnectionsNumTcpMax": {
    },
  • "firewallSettingAntiEvasionSecurityPosture": {
    },
  • "firewallSettingInterfacePatterns": {
    },
  • "firewallSettingInterfaceIsolationEnabled": {
    },
  • "antiMalwareSettingVirtualApplianceRealTimeScanCacheEntriesMax": {
    },
  • "firewallSettingEventsOutOfAllowedPolicyEnabled": {
    },
  • "firewallSettingAntiEvasionCheckEvasiveRetransmit": {
    },
  • "firewallSettingEngineOptionIcmpTimeout": {
    },
  • "integrityMonitoringSettingSyslogConfigId": {
    },
  • "firewallSettingEngineOptionConnectionCleanupTimeout": {
    },
  • "antiMalwareSettingSmartProtectionLocalServerAllowOffDomainGlobal": {
    },
  • "firewallSettingReconnaissanceNotifyTcpSynFinScanEnabled": {
    },
  • "firewallSettingEngineOptionErrorTimeout": {
    },
  • "integrityMonitoringSettingState": {
    },
  • "webReputationSettingAllowedUrls": {
    },
  • "firewallSettingReconnaissanceNotifyNetworkOrPortScanEnabled": {
    },
  • "firewallSettingEngineOptionFinWait1Timeout": {
    },
  • "firewallSettingEngineOptionGenerateConnectionEventsUdpEnabled": {
    },
  • "firewallSettingAntiEvasionCheckTcpSynRstFlags": {
    },
  • "antiMalwareSettingSpywareApprovedList": {
    },
  • "firewallSettingAntiEvasionCheckTcpUrgentFlags": {
    },
  • "intrusionPreventionSettingNsxSecurityTaggingDetectModeLevel": {
    },
  • "intrusionPreventionSettingEngineOptionFragmentedIpUnconcernedMacAddressBypassEnabled": {
    },
  • "firewallSettingEngineOptionLogAllPacketDataEnabled": {
    },
  • "firewallSettingAntiEvasionCheckTcpSynFinFlags": {
    },
  • "platformSettingHeartbeatInterval": {
    },
  • "firewallSettingEngineOptionFragmentSizeMin": {
    },
  • "antiMalwareSettingSmartProtectionServerConnectionLostWarningEnabled": {
    },
  • "firewallSettingReconnaissanceBlockNetworkOrPortScanDuration": {
    },
  • "integrityMonitoringSettingContentHashAlgorithm": {
    },
  • "antiMalwareSettingSmartScanState": {
    },
  • "firewallSettingConfigPackageExceedsAlertMaxEnabled": {
    },
  • "platformSettingEnvironmentVariableOverrides": {
    },
  • "firewallSettingEngineOptionFragmentOffsetMin": {
    },
  • "antiMalwareSettingSmartProtectionLocalServerUrls": {
    },
  • "firewallSettingEngineOptionSynRcvdTimeout": {
    },
  • "firewallSettingEventLogFileCachedEntriesNum": {
    },
  • "firewallSettingEngineOptionForceAllowIcmpType3Code4": {
    },
  • "firewallSettingReconnaissanceBlockTcpNullScanDuration": {
    },
  • "platformSettingSmartProtectionGlobalServerEnabled": {
    },
  • "integrityMonitoringSettingRealtimeEnabled": {
    },
  • "firewallSettingEngineOptionLastAckTimeout": {
    },
  • "firewallSettingReconnaissanceExcludeIpListId": {
    },
  • "platformSettingAgentSelfProtectionEnabled": {
    },
  • "firewallSettingEngineOptionDropIpv6ReservedAddressesEnabled": {
    },
  • "firewallSettingAntiEvasionCheckFinNoConnection": {
    },
  • "firewallSettingEngineOptionDebugPacketNumMax": {
    },
  • "intrusionPreventionSettingState": {
    },
  • "firewallSettingEngineOptionBypassCiscoWaasConnectionsEnabled": {
    },
  • "firewallSettingReconnaissanceEnabled": {
    },
  • "platformSettingHeartbeatLocalTimeShiftAlertThreshold": {
    },
  • "antiMalwareSettingFileHashMd5Enabled": {
    },
  • "firewallSettingReconnaissanceDetectNetworkOrPortScanEnabled": {
    },
  • "firewallSettingEngineOptionSilentTcpConnectionDropEnabled": {
    },
  • "firewallSettingEngineOptionBlockSameSrcDstIpEnabled": {
    },
  • "firewallSettingEngineOptionForceAllowDhcpDns": {
    },
  • "firewallSettingReconnaissanceIncludeIpListId": {
    },
  • "firewallSettingEngineOptionsEnabled": {
    },
  • "firewallSettingReconnaissanceBlockTcpSynFinScanDuration": {
    },
  • "webReputationSettingSecurityBlockUntestedPagesEnabled": {
    },
  • "webReputationSettingAllowedUrlDomains": {
    },
  • "firewallSettingEventLogFileIgnoreSourceIpListId": {
    },
  • "firewallSettingEngineOptionDropIpv6FragmentsLowerThanMinMtuEnabled": {
    },
  • "platformSettingAutoAssignNewIntrusionPreventionRulesEnabled": {
    },
  • "firewallSettingAntiEvasionCheckRstNoConnection": {
    },
  • "webReputationSettingBlockedUrls": {
    },
  • "platformSettingCombinedModeNetworkGroupProtectionSource": {
    },
  • "webReputationSettingAlertingEnabled": {
    },
  • "antiMalwareSettingNsxSecurityTaggingOnRemediationFailureEnabled": {
    },
  • "integrityMonitoringSettingCpuUsageLevel": {
    },
  • "platformSettingAutoUpdateAntiMalwareEngineEnabled": {
    },
  • "intrusionPreventionSettingCombinedModeProtectionSource": {
    }
}

Modify Default Settings

post/policies/default

Modify the default policy settings.

Related SDK Methods:
Java

PoliciesApi.modifyDefaultSettings([param1, param2, ...])

Python

PoliciesApi.modify_default_settings([param1, param2, ...])

JavaScript

PoliciesApi.modifyDefaultSettings([param1, param2, ...])

Request
header Parameters
api-version
required
string

The version of the api being called.

Example: YOUR VERSION
Request Body schema: application/json

The default policy settings to modify.

object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
object (SettingValue)
Responses
200

successful operation

403

Not authorized to view policies.

Request samples
application/json
{
  • "logInspectionSettingSeverityClippingAgentEventSendSyslogLevelMin": {
    },
  • "firewallSettingEngineOptionConnectionsCleanupMax": {
    },
  • "firewallSettingEngineOptionVerifyTcpChecksumEnabled": {
    },
  • "antiMalwareSettingScanCacheOnDemandConfigId": {
    },
  • "applicationControlSettingSharedRulesetId": {
    },
  • "applicationControlSettingState": {
    },
  • "webReputationSettingSmartProtectionServerConnectionLostWarningEnabled": {
    },
  • "applicationControlSettingExecutionEnforcementLevel": {
    },
  • "webReputationSettingBlockedUrlDomains": {
    },
  • "firewallSettingEngineOptionSynSentTimeout": {
    },
  • "platformSettingAgentSelfProtectionPassword": {
    },
  • "firewallSettingReconnaissanceBlockTcpXmasAttackDuration": {
    },
  • "intrusionPreventionSettingVirtualAndContainerNetworkScanEnabled": {
    },
  • "logInspectionSettingSyslogConfigId": {
    },
  • "firewallSettingEngineOptionDebugModeEnabled": {
    },
  • "firewallSettingVirtualAndContainerNetworkScanEnabled": {
    },
  • "antiMalwareSettingFileHashSha256Enabled": {
    },
  • "firewallSettingReconnaissanceNotifyFingerprintProbeEnabled": {
    },
  • "firewallSettingEventLogFileRetainNum": {
    },
  • "firewallSettingAntiEvasionCheckTcpPawsZero": {
    },
  • "antiMalwareSettingConnectedThreatDefenseUseControlManagerSuspiciousObjectListEnabled": {
    },
  • "intrusionPreventionSettingEngineOptionFragmentedIpKeepMax": {
    },
  • "firewallSettingEngineOptionDrop6To4BogonsAddressesEnabled": {
    },
  • "logInspectionSettingSeverityClippingAgentEventStoreLevelMin": {
    },
  • "platformSettingScanCacheConcurrencyMax": {
    },
  • "antiMalwareSettingSyslogConfigId": {
    },
  • "firewallSettingAntiEvasionTcpPawsWindowPolicy": {
    },
  • "firewallSettingReconnaissanceDetectTcpXmasAttackEnabled": {
    },
  • "applicationControlSettingRulesetMode": {
    },
  • "antiMalwareSettingSmartProtectionGlobalServerUseProxyEnabled": {
    },
  • "webReputationSettingSmartProtectionLocalServerAllowOffDomainGlobal": {
    },
  • "integrityMonitoringSettingCombinedModeProtectionSource": {
    },
  • "firewallSettingEngineOptionCloseWaitTimeout": {
    },
  • "platformSettingScanOpenPortListId": {
    },
  • "platformSettingAgentSelfProtectionPasswordEnabled": {
    },
  • "firewallSettingEngineOptionAckTimeout": {
    },
  • "firewallSettingEventLogFileCachedEntriesStaleTime": {
    },
  • "firewallSettingCombinedModeProtectionSource": {
    },
  • "platformSettingAgentEventsSendInterval": {
    },
  • "platformSettingInactiveAgentCleanupOverrideEnabled": {
    },
  • "firewallSettingFailureResponseEngineSystem": {
    },
  • "platformSettingRelayState": {
    },
  • "firewallSettingEngineOptionDropEvasiveRetransmitEnabled": {
    },
  • "firewallSettingState": {
    },
  • "intrusionPreventionSettingEngineOptionFragmentedIpTimeout": {
    },
  • "firewallSettingAntiEvasionCheckTcpZeroFlags": {
    },
  • "webReputationSettingSmartProtectionGlobalServerUseProxyEnabled": {
    },
  • "intrusionPreventionSettingNsxSecurityTaggingPreventModeLevel": {
    },
  • "firewallSettingReconnaissanceNotifyTcpXmasAttackEnabled": {
    },
  • "firewallSettingEngineOptionUdpTimeout": {
    },
  • "webReputationSettingSmartProtectionLocalServerEnabled": {
    },
  • "firewallSettingEngineOptionTcpMssLimit": {
    },
  • "firewallSettingEngineOptionColdStartTimeout": {
    },
  • "firewallSettingEngineOptionEstablishedTimeout": {
    },
  • "antiMalwareSettingIdentifiedFilesSpaceMaxMbytes": {
    },
  • "webReputationSettingState": {
    },
  • "firewallSettingEngineOptionAllowNullIpEnabled": {
    },
  • "platformSettingNotificationsSuppressPopupsEnabled": {
    },
  • "firewallSettingAntiEvasionCheckTcpRstFinFlags": {
    },
  • "firewallSettingEngineOptionDisconnectTimeout": {
    },
  • "firewallSettingEngineOptionCloseTimeout": {
    },
  • "firewallSettingEngineOptionTunnelDepthMaxExceededAction": {
    },
  • "firewallSettingReconnaissanceDetectTcpNullScanEnabled": {
    },
  • "platformSettingSmartProtectionAntiMalwareGlobalServerProxyId": {
    },
  • "firewallSettingEngineOptionFilterIpv4Tunnels": {
    },
  • "webReputationSettingSmartProtectionLocalServerUrls": {
    },
  • "firewallSettingEngineOptionLogOnePacketPeriod": {
    },
  • "firewallSettingEngineOptionFilterIpv6Tunnels": {
    },
  • "firewallSettingAntiEvasionCheckTcpCongestionFlags": {
    },
  • "platformSettingHeartbeatMissedAlertThreshold": {
    },
  • "intrusionPreventionSettingEngineOptionsEnabled": {
    },
  • "firewallSettingEngineOptionConnectionsNumUdpMax": {
    },
  • "integrityMonitoringSettingAutoApplyRecommendationsEnabled": {
    },
  • "firewallSettingEngineOptionTunnelDepthMax": {
    },
  • "firewallSettingEngineOptionDropUnknownSslProtocolEnabled": {
    },
  • "antiMalwareSettingNsxSecurityTaggingValue": {
    },
  • "intrusionPreventionSettingLogDataRuleFirstMatchEnabled": {
    },
  • "firewallSettingEngineOptionLoggingPolicy": {
    },
  • "platformSettingTroubleshootingLoggingLevel": {
    },
  • "antiMalwareSettingVirtualApplianceOnDemandScanCacheEntriesMax": {
    },
  • "webReputationSettingCombinedModeProtectionSource": {
    },
  • "firewallSettingEngineOptionClosingTimeout": {
    },
  • "antiMalwareSettingState": {
    },
  • "firewallSettingAntiEvasionCheckPaws": {
    },
  • "intrusionPreventionSettingAutoApplyRecommendationsEnabled": {
    },
  • "firewallSettingReconnaissanceDetectFingerprintProbeEnabled": {
    },
  • "antiMalwareSettingNsxSecurityTaggingRemoveOnCleanScanEnabled": {
    },
  • "firewallSettingEngineOptionLogPacketLengthMax": {
    },
  • "firewallSettingEngineOptionDropTeredoAnomaliesEnabled": {
    },
  • "webReputationSettingSecurityLevel": {
    },
  • "firewallSettingEngineOptionDropIpv6SiteLocalAddressesEnabled": {
    },
  • "logInspectionSettingState": {
    },
  • "firewallSettingEngineOptionStrictTerodoPortCheckEnabled": {
    },
  • "webReputationSettingBlockedUrlKeywords": {
    },
  • "webReputationSettingSyslogConfigId": {
    },
  • "firewallSettingFailureResponsePacketSanityCheck": {
    },
  • "firewallSettingNetworkEngineMode": {
    },
  • "firewallSettingEventLogFileSizeMax": {
    },
  • "antiMalwareSettingMalwareScanMultithreadedProcessingEnabled": {
    },
  • "firewallSettingReconnaissanceDetectTcpSynFinScanEnabled": {
    },
  • "firewallSettingEngineOptionDropIpZeroPayloadEnabled": {
    },
  • "firewallSettingEngineOptionBlockIpv6Agent8AndEarlierEnabled": {
    },
  • "intrusionPreventionSettingEngineOptionFragmentedIpPacketSendIcmpEnabled": {
    },
  • "antiMalwareSettingPredictiveMachineLearningExceptions": {
    },
  • "firewallSettingEngineOptionLogEventsPerSecondMax": {
    },
  • "firewallSettingEngineOptionSslSessionTime": {
    },
  • "antiMalwareSettingBehaviorMonitoringScanExclusionList": {
    },
  • "antiMalwareSettingSmartProtectionGlobalServerEnabled": {
    },
  • "firewallSettingEngineOptionLogOnePacketWithinPeriodEnabled": {
    },
  • "firewallSettingEngineOptionGenerateConnectionEventsIcmpEnabled": {
    },
  • "platformSettingHeartbeatInactiveVmOfflineAlertEnabled": {
    },
  • "webReputationSettingSmartProtectionWebReputationGlobalServerProxyId": {
    },
  • "antiMalwareSettingNsxSecurityTaggingEnabled": {
    },
  • "firewallSettingAntiEvasionCheckFragmentedPackets": {
    },
  • "firewallSettingEngineOptionConnectionsNumIcmpMax": {
    },
  • "firewallSettingAntiEvasionCheckTcpSplitHandshake": {
    },
  • "antiMalwareSettingCombinedModeProtectionSource": {
    },
  • "firewallSettingEngineOptionEventNodesMax": {
    },
  • "webReputationSettingMonitorPortListId": {
    },
  • "sapSettingState": {
    },
  • "applicationControlSettingSyslogConfigId": {
    },
  • "firewallSettingAntiEvasionCheckOutNoConnection": {
    },
  • "firewallSettingEngineOptionBlockIpv6Agent9AndLaterEnabled": {
    },
  • "integrityMonitoringSettingVirtualApplianceOptimizationScanCacheEntriesMax": {
    },
  • "firewallSettingReconnaissanceNotifyTcpNullScanEnabled": {
    },
  • "firewallSettingEngineOptionIgnoreStatusCode1": {
    },
  • "firewallSettingEngineOptionIgnoreStatusCode0": {
    },
  • "firewallSettingEngineOptionIgnoreStatusCode2": {
    },
  • "firewallSettingEngineOptionSslSessionSize": {
    },
  • "antiMalwareSettingScanCacheRealTimeConfigId": {
    },
  • "platformSettingRecommendationOngoingScansInterval": {
    },
  • "platformSettingSmartProtectionGlobalServerUseProxyEnabled": {
    },
  • "firewallSettingInterfaceLimitOneActiveEnabled": {
    },
  • "firewallSettingAntiEvasionCheckTcpChecksum": {
    },
  • "firewallSettingEngineOptionDropIpv6ExtType0Enabled": {
    },
  • "antiMalwareSettingScanFileSizeMaxMbytes": {
    },
  • "firewallSettingEngineOptionGenerateConnectionEventsTcpEnabled": {
    },
  • "antiMalwareSettingFileHashSizeMaxMbytes": {
    },
  • "firewallSettingEventLogFileCachedEntriesLifeTime": {
    },
  • "platformSettingSmartProtectionGlobalServerProxyId": {
    },
  • "logInspectionSettingAutoApplyRecommendationsEnabled": {
    },
  • "antiMalwareSettingConnectedThreatDefenseSuspiciousFileDdanSubmissionEnabled": {
    },
  • "webReputationSettingBlockingPageLink": {
    },
  • "firewallSettingSyslogConfigId": {
    },
  • "platformSettingAgentCommunicationsDirection": {
    },
  • "integrityMonitoringSettingScanCacheConfigId": {
    },
  • "antiMalwareSettingDocumentExploitProtectionRuleExceptions": {
    },
  • "firewallSettingAntiEvasionCheckTcpSynWithData": {
    },
  • "antiMalwareSettingFileHashEnabled": {
    },
  • "firewallSettingReconnaissanceBlockFingerprintProbeDuration": {
    },
  • "firewallSettingEngineOptionDropIpv6BogonsAddressesEnabled": {
    },
  • "firewallSettingEngineOptionBootStartTimeout": {
    },
  • "firewallSettingEngineOptionConnectionsNumTcpMax": {
    },
  • "firewallSettingAntiEvasionSecurityPosture": {
    },
  • "firewallSettingInterfacePatterns": {
    },
  • "firewallSettingInterfaceIsolationEnabled": {
    },
  • "antiMalwareSettingVirtualApplianceRealTimeScanCacheEntriesMax": {
    },
  • "firewallSettingEventsOutOfAllowedPolicyEnabled": {
    },
  • "firewallSettingAntiEvasionCheckEvasiveRetransmit": {
    },
  • "firewallSettingEngineOptionIcmpTimeout": {
    },
  • "integrityMonitoringSettingSyslogConfigId": {
    },
  • "firewallSettingEngineOptionConnectionCleanupTimeout": {
    },
  • "antiMalwareSettingSmartProtectionLocalServerAllowOffDomainGlobal": {
    },
  • "firewallSettingReconnaissanceNotifyTcpSynFinScanEnabled": {
    },
  • "firewallSettingEngineOptionErrorTimeout": {
    },
  • "integrityMonitoringSettingState": {
    },
  • "webReputationSettingAllowedUrls": {
    },
  • "firewallSettingReconnaissanceNotifyNetworkOrPortScanEnabled": {
    },
  • "firewallSettingEngineOptionFinWait1Timeout": {
    },
  • "firewallSettingEngineOptionGenerateConnectionEventsUdpEnabled": {
    },
  • "firewallSettingAntiEvasionCheckTcpSynRstFlags": {
    },
  • "antiMalwareSettingSpywareApprovedList": {
    },
  • "firewallSettingAntiEvasionCheckTcpUrgentFlags": {
    },
  • "intrusionPreventionSettingNsxSecurityTaggingDetectModeLevel": {
    },
  • "intrusionPreventionSettingEngineOptionFragmentedIpUnconcernedMacAddressBypassEnabled": {
    },
  • "firewallSettingEngineOptionLogAllPacketDataEnabled": {
    },
  • "firewallSettingAntiEvasionCheckTcpSynFinFlags": {
    },
  • "platformSettingHeartbeatInterval": {
    },
  • "firewallSettingEngineOptionFragmentSizeMin": {
    },
  • "antiMalwareSettingSmartProtectionServerConnectionLostWarningEnabled": {
    },
  • "firewallSettingReconnaissanceBlockNetworkOrPortScanDuration": {
    },
  • "integrityMonitoringSettingContentHashAlgorithm": {
    },
  • "antiMalwareSettingSmartScanState": {
    },
  • "firewallSettingConfigPackageExceedsAlertMaxEnabled": {
    },
  • "platformSettingEnvironmentVariableOverrides": {
    },
  • "firewallSettingEngineOptionFragmentOffsetMin": {
    },
  • "antiMalwareSettingSmartProtectionLocalServerUrls": {
    },
  • "firewallSettingEngineOptionSynRcvdTimeout": {
    },
  • "firewallSettingEventLogFileCachedEntriesNum": {
    },
  • "firewallSettingEngineOptionForceAllowIcmpType3Code4": {
    },
  • "firewallSettingReconnaissanceBlockTcpNullScanDuration": {
    },
  • "platformSettingSmartProtectionGlobalServerEnabled": {
    },
  • "integrityMonitoringSettingRealtimeEnabled": {
    },
  • "firewallSettingEngineOptionLastAckTimeout": {
    },
  • "firewallSettingReconnaissanceExcludeIpListId": {
    },
  • "platformSettingAgentSelfProtectionEnabled": {
    },
  • "firewallSettingEngineOptionDropIpv6ReservedAddressesEnabled": {
    },
  • "firewallSettingAntiEvasionCheckFinNoConnection": {
    },
  • "firewallSettingEngineOptionDebugPacketNumMax": {
    },
  • "intrusionPreventionSettingState": {
    },
  • "firewallSettingEngineOptionBypassCiscoWaasConnectionsEnabled": {
    },
  • "firewallSettingReconnaissanceEnabled": {
    },
  • "platformSettingHeartbeatLocalTimeShiftAlertThreshold": {
    },
  • "antiMalwareSettingFileHashMd5Enabled": {
    },
  • "firewallSettingReconnaissanceDetectNetworkOrPortScanEnabled": {
    },
  • "firewallSettingEngineOptionSilentTcpConnectionDropEnabled": {
    },
  • "firewallSettingEngineOptionBlockSameSrcDstIpEnabled": {
    },
  • "firewallSettingEngineOptionForceAllowDhcpDns": {
    },
  • "firewallSettingReconnaissanceIncludeIpListId": {
    },
  • "firewallSettingEngineOptionsEnabled": {
    },
  • "firewallSettingReconnaissanceBlockTcpSynFinScanDuration": {
    },
  • "webReputationSettingSecurityBlockUntestedPagesEnabled": {
    },
  • "webReputationSettingAllowedUrlDomains": {
    },
  • "firewallSettingEventLogFileIgnoreSourceIpListId": {
    },
  • "firewallSettingEngineOptionDropIpv6FragmentsLowerThanMinMtuEnabled": {
    },
  • "platformSettingAutoAssignNewIntrusionPreventionRulesEnabled": {
    },
  • "firewallSettingAntiEvasionCheckRstNoConnection": {
    },
  • "webReputationSettingBlockedUrls": {
    },
  • "platformSettingCombinedModeNetworkGroupProtectionSource": {
    },
  • "webReputationSettingAlertingEnabled": {
    },
  • "antiMalwareSettingNsxSecurityTaggingOnRemediationFailureEnabled": {
    },
  • "integrityMonitoringSettingCpuUsageLevel": {
    },
  • "platformSettingAutoUpdateAntiMalwareEngineEnabled": {
    },
  • "intrusionPreventionSettingCombinedModeProtectionSource": {
    }
}
Response samples
application/json
{
  • "logInspectionSettingSeverityClippingAgentEventSendSyslogLevelMin": {
    },
  • "firewallSettingEngineOptionConnectionsCleanupMax": {
    },
  • "firewallSettingEngineOptionVerifyTcpChecksumEnabled": {
    },
  • "antiMalwareSettingScanCacheOnDemandConfigId": {
    },
  • "applicationControlSettingSharedRulesetId": {
    },
  • "applicationControlSettingState": {
    },
  • "webReputationSettingSmartProtectionServerConnectionLostWarningEnabled": {
    },
  • "applicationControlSettingExecutionEnforcementLevel": {
    },
  • "webReputationSettingBlockedUrlDomains": {
    },
  • "firewallSettingEngineOptionSynSentTimeout": {
    },
  • "platformSettingAgentSelfProtectionPassword": {
    },
  • "firewallSettingReconnaissanceBlockTcpXmasAttackDuration": {
    },
  • "intrusionPreventionSettingVirtualAndContainerNetworkScanEnabled": {
    },
  • "logInspectionSettingSyslogConfigId": {
    },
  • "firewallSettingEngineOptionDebugModeEnabled": {
    },
  • "firewallSettingVirtualAndContainerNetworkScanEnabled": {
    },
  • "antiMalwareSettingFileHashSha256Enabled": {
    },
  • "firewallSettingReconnaissanceNotifyFingerprintProbeEnabled": {
    },
  • "firewallSettingEventLogFileRetainNum": {
    },
  • "firewallSettingAntiEvasionCheckTcpPawsZero": {
    },
  • "antiMalwareSettingConnectedThreatDefenseUseControlManagerSuspiciousObjectListEnabled": {
    },
  • "intrusionPreventionSettingEngineOptionFragmentedIpKeepMax": {
    },
  • "firewallSettingEngineOptionDrop6To4BogonsAddressesEnabled": {
    },
  • "logInspectionSettingSeverityClippingAgentEventStoreLevelMin": {
    },
  • "platformSettingScanCacheConcurrencyMax": {
    },
  • "antiMalwareSettingSyslogConfigId": {
    },
  • "firewallSettingAntiEvasionTcpPawsWindowPolicy": {
    },
  • "firewallSettingReconnaissanceDetectTcpXmasAttackEnabled": {
    },
  • "applicationControlSettingRulesetMode": {
    },
  • "antiMalwareSettingSmartProtectionGlobalServerUseProxyEnabled": {
    },
  • "webReputationSettingSmartProtectionLocalServerAllowOffDomainGlobal": {
    },
  • "integrityMonitoringSettingCombinedModeProtectionSource": {
    },
  • "firewallSettingEngineOptionCloseWaitTimeout": {
    },
  • "platformSettingScanOpenPortListId": {
    },
  • "platformSettingAgentSelfProtectionPasswordEnabled": {
    },
  • "firewallSettingEngineOptionAckTimeout": {
    },
  • "firewallSettingEventLogFileCachedEntriesStaleTime": {
    },
  • "firewallSettingCombinedModeProtectionSource": {
    },
  • "platformSettingAgentEventsSendInterval": {
    },
  • "platformSettingInactiveAgentCleanupOverrideEnabled": {
    },
  • "firewallSettingFailureResponseEngineSystem": {
    },
  • "platformSettingRelayState": {
    },
  • "firewallSettingEngineOptionDropEvasiveRetransmitEnabled": {
    },
  • "firewallSettingState": {
    },
  • "intrusionPreventionSettingEngineOptionFragmentedIpTimeout": {
    },
  • "firewallSettingAntiEvasionCheckTcpZeroFlags": {
    },
  • "webReputationSettingSmartProtectionGlobalServerUseProxyEnabled": {
    },
  • "intrusionPreventionSettingNsxSecurityTaggingPreventModeLevel": {
    },
  • "firewallSettingReconnaissanceNotifyTcpXmasAttackEnabled": {
    },
  • "firewallSettingEngineOptionUdpTimeout": {
    },
  • "webReputationSettingSmartProtectionLocalServerEnabled": {
    },
  • "firewallSettingEngineOptionTcpMssLimit": {
    },
  • "firewallSettingEngineOptionColdStartTimeout": {
    },
  • "firewallSettingEngineOptionEstablishedTimeout": {
    },
  • "antiMalwareSettingIdentifiedFilesSpaceMaxMbytes": {
    },
  • "webReputationSettingState": {
    },
  • "firewallSettingEngineOptionAllowNullIpEnabled": {
    },
  • "platformSettingNotificationsSuppressPopupsEnabled": {
    },
  • "firewallSettingAntiEvasionCheckTcpRstFinFlags": {
    },
  • "firewallSettingEngineOptionDisconnectTimeout": {
    },
  • "firewallSettingEngineOptionCloseTimeout": {
    },
  • "firewallSettingEngineOptionTunnelDepthMaxExceededAction": {
    },
  • "firewallSettingReconnaissanceDetectTcpNullScanEnabled": {
    },
  • "platformSettingSmartProtectionAntiMalwareGlobalServerProxyId": {
    },
  • "firewallSettingEngineOptionFilterIpv4Tunnels": {
    },
  • "webReputationSettingSmartProtectionLocalServerUrls": {
    },
  • "firewallSettingEngineOptionLogOnePacketPeriod": {
    },
  • "firewallSettingEngineOptionFilterIpv6Tunnels": {
    },
  • "firewallSettingAntiEvasionCheckTcpCongestionFlags": {
    },
  • "platformSettingHeartbeatMissedAlertThreshold": {
    },
  • "intrusionPreventionSettingEngineOptionsEnabled": {
    },
  • "firewallSettingEngineOptionConnectionsNumUdpMax": {
    },
  • "integrityMonitoringSettingAutoApplyRecommendationsEnabled": {
    },
  • "firewallSettingEngineOptionTunnelDepthMax": {
    },
  • "firewallSettingEngineOptionDropUnknownSslProtocolEnabled": {
    },
  • "antiMalwareSettingNsxSecurityTaggingValue": {
    },
  • "intrusionPreventionSettingLogDataRuleFirstMatchEnabled": {
    },
  • "firewallSettingEngineOptionLoggingPolicy": {
    },
  • "platformSettingTroubleshootingLoggingLevel": {
    },
  • "antiMalwareSettingVirtualApplianceOnDemandScanCacheEntriesMax": {
    },
  • "webReputationSettingCombinedModeProtectionSource": {
    },
  • "firewallSettingEngineOptionClosingTimeout": {
    },
  • "antiMalwareSettingState": {
    },
  • "firewallSettingAntiEvasionCheckPaws": {
    },
  • "intrusionPreventionSettingAutoApplyRecommendationsEnabled": {
    },
  • "firewallSettingReconnaissanceDetectFingerprintProbeEnabled": {
    },
  • "antiMalwareSettingNsxSecurityTaggingRemoveOnCleanScanEnabled": {
    },
  • "firewallSettingEngineOptionLogPacketLengthMax": {
    },
  • "firewallSettingEngineOptionDropTeredoAnomaliesEnabled": {
    },
  • "webReputationSettingSecurityLevel": {
    },
  • "firewallSettingEngineOptionDropIpv6SiteLocalAddressesEnabled": {
    },
  • "logInspectionSettingState": {
    },
  • "firewallSettingEngineOptionStrictTerodoPortCheckEnabled": {
    },
  • "webReputationSettingBlockedUrlKeywords": {
    },
  • "webReputationSettingSyslogConfigId": {
    },
  • "firewallSettingFailureResponsePacketSanityCheck": {
    },
  • "firewallSettingNetworkEngineMode": {
    },
  • "firewallSettingEventLogFileSizeMax": {
    },
  • "antiMalwareSettingMalwareScanMultithreadedProcessingEnabled": {
    },
  • "firewallSettingReconnaissanceDetectTcpSynFinScanEnabled": {
    },
  • "firewallSettingEngineOptionDropIpZeroPayloadEnabled": {
    },
  • "firewallSettingEngineOptionBlockIpv6Agent8AndEarlierEnabled": {
    },
  • "intrusionPreventionSettingEngineOptionFragmentedIpPacketSendIcmpEnabled": {
    },
  • "antiMalwareSettingPredictiveMachineLearningExceptions": {
    },
  • "firewallSettingEngineOptionLogEventsPerSecondMax": {
    },
  • "firewallSettingEngineOptionSslSessionTime": {
    },
  • "antiMalwareSettingBehaviorMonitoringScanExclusionList": {
    },
  • "antiMalwareSettingSmartProtectionGlobalServerEnabled": {
    },
  • "firewallSettingEngineOptionLogOnePacketWithinPeriodEnabled": {
    },
  • "firewallSettingEngineOptionGenerateConnectionEventsIcmpEnabled": {
    },
  • "platformSettingHeartbeatInactiveVmOfflineAlertEnabled": {
    },
  • "webReputationSettingSmartProtectionWebReputationGlobalServerProxyId": {
    },
  • "antiMalwareSettingNsxSecurityTaggingEnabled": {
    },
  • "firewallSettingAntiEvasionCheckFragmentedPackets": {
    },
  • "firewallSettingEngineOptionConnectionsNumIcmpMax": {
    },
  • "firewallSettingAntiEvasionCheckTcpSplitHandshake": {
    },
  • "antiMalwareSettingCombinedModeProtectionSource": {
    },
  • "firewallSettingEngineOptionEventNodesMax": {
    },
  • "webReputationSettingMonitorPortListId": {
    },
  • "sapSettingState": {
    },
  • "applicationControlSettingSyslogConfigId": {
    },
  • "firewallSettingAntiEvasionCheckOutNoConnection": {
    },
  • "firewallSettingEngineOptionBlockIpv6Agent9AndLaterEnabled": {
    },
  • "integrityMonitoringSettingVirtualApplianceOptimizationScanCacheEntriesMax": {
    },
  • "firewallSettingReconnaissanceNotifyTcpNullScanEnabled": {
    },
  • "firewallSettingEngineOptionIgnoreStatusCode1": {
    },
  • "firewallSettingEngineOptionIgnoreStatusCode0": {
    },
  • "firewallSettingEngineOptionIgnoreStatusCode2": {
    },
  • "firewallSettingEngineOptionSslSessionSize": {
    },
  • "antiMalwareSettingScanCacheRealTimeConfigId": {
    },
  • "platformSettingRecommendationOngoingScansInterval": {
    },
  • "platformSettingSmartProtectionGlobalServerUseProxyEnabled": {
    },
  • "firewallSettingInterfaceLimitOneActiveEnabled": {
    },
  • "firewallSettingAntiEvasionCheckTcpChecksum": {
    },
  • "firewallSettingEngineOptionDropIpv6ExtType0Enabled": {
    },
  • "antiMalwareSettingScanFileSizeMaxMbytes": {
    },
  • "firewallSettingEngineOptionGenerateConnectionEventsTcpEnabled": {
    },
  • "antiMalwareSettingFileHashSizeMaxMbytes": {
    },
  • "firewallSettingEventLogFileCachedEntriesLifeTime": {
    },
  • "platformSettingSmartProtectionGlobalServerProxyId": {
    },
  • "logInspectionSettingAutoApplyRecommendationsEnabled": {
    },
  • "antiMalwareSettingConnectedThreatDefenseSuspiciousFileDdanSubmissionEnabled": {
    },
  • "webReputationSettingBlockingPageLink": {
    },
  • "firewallSettingSyslogConfigId": {
    },
  • "platformSettingAgentCommunicationsDirection": {
    },
  • "integrityMonitoringSettingScanCacheConfigId": {
    },
  • "antiMalwareSettingDocumentExploitProtectionRuleExceptions": {
    },
  • "firewallSettingAntiEvasionCheckTcpSynWithData": {
    },
  • "antiMalwareSettingFileHashEnabled": {
    },
  • "firewallSettingReconnaissanceBlockFingerprintProbeDuration": {
    },
  • "firewallSettingEngineOptionDropIpv6BogonsAddressesEnabled": {
    },
  • "firewallSettingEngineOptionBootStartTimeout": {
    },
  • "firewallSettingEngineOptionConnectionsNumTcpMax": {
    },
  • "firewallSettingAntiEvasionSecurityPosture": {
    },
  • "firewallSettingInterfacePatterns": {
    },
  • "firewallSettingInterfaceIsolationEnabled": {
    },
  • "antiMalwareSettingVirtualApplianceRealTimeScanCacheEntriesMax": {
    },
  • "firewallSettingEventsOutOfAllowedPolicyEnabled": {
    },
  • "firewallSettingAntiEvasionCheckEvasiveRetransmit": {
    },
  • "firewallSettingEngineOptionIcmpTimeout": {
    },
  • "integrityMonitoringSettingSyslogConfigId": {
    },
  • "firewallSettingEngineOptionConnectionCleanupTimeout": {
    },
  • "antiMalwareSettingSmartProtectionLocalServerAllowOffDomainGlobal": {
    },
  • "firewallSettingReconnaissanceNotifyTcpSynFinScanEnabled": {
    },
  • "firewallSettingEngineOptionErrorTimeout": {
    },
  • "integrityMonitoringSettingState": {
    },
  • "webReputationSettingAllowedUrls": {
    },
  • "firewallSettingReconnaissanceNotifyNetworkOrPortScanEnabled": {
    },
  • "firewallSettingEngineOptionFinWait1Timeout": {
    },
  • "firewallSettingEngineOptionGenerateConnectionEventsUdpEnabled": {
    },
  • "firewallSettingAntiEvasionCheckTcpSynRstFlags": {
    },
  • "antiMalwareSettingSpywareApprovedList": {
    },
  • "firewallSettingAntiEvasionCheckTcpUrgentFlags": {
    },
  • "intrusionPreventionSettingNsxSecurityTaggingDetectModeLevel": {
    },
  • "intrusionPreventionSettingEngineOptionFragmentedIpUnconcernedMacAddressBypassEnabled": {
    },
  • "firewallSettingEngineOptionLogAllPacketDataEnabled": {
    },
  • "firewallSettingAntiEvasionCheckTcpSynFinFlags": {
    },
  • "platformSettingHeartbeatInterval": {
    },
  • "firewallSettingEngineOptionFragmentSizeMin": {
    },
  • "antiMalwareSettingSmartProtectionServerConnectionLostWarningEnabled": {
    },
  • "firewallSettingReconnaissanceBlockNetworkOrPortScanDuration": {
    },
  • "integrityMonitoringSettingContentHashAlgorithm": {
    },
  • "antiMalwareSettingSmartScanState": {
    },
  • "firewallSettingConfigPackageExceedsAlertMaxEnabled": {
    },
  • "platformSettingEnvironmentVariableOverrides": {
    },
  • "firewallSettingEngineOptionFragmentOffsetMin": {
    },
  • "antiMalwareSettingSmartProtectionLocalServerUrls": {
    },
  • "firewallSettingEngineOptionSynRcvdTimeout": {
    },
  • "firewallSettingEventLogFileCachedEntriesNum": {
    },
  • "firewallSettingEngineOptionForceAllowIcmpType3Code4": {
    },
  • "firewallSettingReconnaissanceBlockTcpNullScanDuration": {
    },
  • "platformSettingSmartProtectionGlobalServerEnabled": {
    },
  • "integrityMonitoringSettingRealtimeEnabled": {
    },
  • "firewallSettingEngineOptionLastAckTimeout": {
    },
  • "firewallSettingReconnaissanceExcludeIpListId": {
    },
  • "platformSettingAgentSelfProtectionEnabled": {
    },
  • "firewallSettingEngineOptionDropIpv6ReservedAddressesEnabled": {
    },
  • "firewallSettingAntiEvasionCheckFinNoConnection": {
    },
  • "firewallSettingEngineOptionDebugPacketNumMax": {
    },
  • "intrusionPreventionSettingState": {
    },
  • "firewallSettingEngineOptionBypassCiscoWaasConnectionsEnabled": {
    },
  • "firewallSettingReconnaissanceEnabled": {
    },
  • "platformSettingHeartbeatLocalTimeShiftAlertThreshold": {
    },
  • "antiMalwareSettingFileHashMd5Enabled": {
    },
  • "firewallSettingReconnaissanceDetectNetworkOrPortScanEnabled": {
    },
  • "firewallSettingEngineOptionSilentTcpConnectionDropEnabled": {
    },
  • "firewallSettingEngineOptionBlockSameSrcDstIpEnabled": {
    },
  • "firewallSettingEngineOptionForceAllowDhcpDns": {
    },
  • "firewallSettingReconnaissanceIncludeIpListId": {
    },
  • "firewallSettingEngineOptionsEnabled": {
    },
  • "firewallSettingReconnaissanceBlockTcpSynFinScanDuration": {
    },
  • "webReputationSettingSecurityBlockUntestedPagesEnabled": {
    },
  • "webReputationSettingAllowedUrlDomains": {
    },
  • "firewallSettingEventLogFileIgnoreSourceIpListId": {
    },
  • "firewallSettingEngineOptionDropIpv6FragmentsLowerThanMinMtuEnabled": {
    },
  • "platformSettingAutoAssignNewIntrusionPreventionRulesEnabled": {
    },
  • "firewallSettingAntiEvasionCheckRstNoConnection": {
    },
  • "webReputationSettingBlockedUrls": {
    },
  • "platformSettingCombinedModeNetworkGroupProtectionSource": {
    },
  • "webReputationSettingAlertingEnabled": {
    },
  • "antiMalwareSettingNsxSecurityTaggingOnRemediationFailureEnabled": {
    },
  • "integrityMonitoringSettingCpuUsageLevel": {
    },
  • "platformSettingAutoUpdateAntiMalwareEngineEnabled": {
    },
  • "intrusionPreventionSettingCombinedModeProtectionSource": {
    }
}

List Policies

get/policies

Lists all policies.

Related SDK Methods:
Java

PoliciesApi.listPolicies([param1, param2, ...])

Python

PoliciesApi.list_policies([param1, param2, ...])

JavaScript

PoliciesApi.listPolicies([param1, param2, ...])

Request
query Parameters
overrides
boolean

Show only overrides defined for the current policy.

header Parameters
api-version
required
string

The version of the api being called.

Example: YOUR VERSION
Responses
200

successful operation

403

Not authorized to view policies.

Request samples
import com.trendmicro.deepsecurity.ApiClient;
import com.trendmicro.deepsecurity.Configuration;
import com.trendmicro.deepsecurity.auth.ApiKeyAuth;
import com.trendmicro.deepsecurity.ApiException;
import com.trendmicro.deepsecurity.api.PoliciesApi;
import com.trendmicro.deepsecurity.model.Policies;


public class ListPoliciesExample {
	
	public static void main(String[] args) {
		// Setup
		ApiClient defaultClient = Configuration.getDefaultApiClient();
		defaultClient.setBasePath("YOUR HOST");

		// Authentication
		ApiKeyAuth DefaultAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("DefaultAuthentication");
		DefaultAuthentication.setApiKey("YOUR API KEY");
		try {
			defaultClient.trustAllCertificates(false);
		} catch (Exception e) {
			System.err.println("An exception occurred when calling ApiClient.trustAllCertificates");
			e.printStackTrace();
		}
		
		// Initialization
		// Set Any Required Values
		PoliciesApi instance = new PoliciesApi();
		Boolean overrides = false;
		String apiVersion = "YOUR VERSION";
		try {
			// Please replace the parameter values with yours
			Policies result = instance.listPolicies(overrides, apiVersion);
			System.out.println(result);
		} catch (ApiException e) {
			System.err.println("An exception occurred when calling PoliciesApi.listPolicies");
			e.printStackTrace();
		}
	}
}

Response samples
application/json
{
  • "policies": [
    ]
}

Create a Policy

post/policies

Create a new policy.

Related SDK Methods:
Java

PoliciesApi.createPolicy([param1, param2, ...])

Python

PoliciesApi.create_policy([param1, param2, ...])

JavaScript

PoliciesApi.createPolicy([param1, param2, ...])

Request
query Parameters
overrides
boolean

Show only overrides defined for the current policy.

header Parameters
api-version
required
string

The version of the api being called.

Example: YOUR VERSION
Request Body schema: application/json

The settings of the new policy.

object (AntiMalwarePolicyExtension)

Policy-level configuration for the Anti-Malware module

object (ApplicationControlPolicyExtension)

Policy-level configuration for the Application Control module

autoRequiresUpdate
string

Automatically update computers assigned this policy when the configuration changes. Searchable as Choice.

Enum: "off" "on"
description
string

Description of the policy. Searchable as String.

object (FirewallPolicyExtension)

Policy-level configuration for the Firewall module

object (IntegrityMonitoringPolicyExtension)

Policy-level configuration for the Integrity Monitoring module

object (InterfaceTypes)
object (IntrusionPreventionPolicyExtension)

Policy-level configuration for the Intrusion Prevention module

object (LogInspectionPolicyExtension)

Policy-level configuration for the Log Inspection module

name
string

Name of the policy. Searchable as String.

parentID
integer <int32>

ID of the parent policy. Searchable as Numeric.

object (PolicySettings)
recommendationScanMode
string

Enable or disable ongoing recommendation scans for computers assigned this policy. Searchable as Choice.

Enum: "off" "ongoing"
object (SAPPolicyExtension)

Policy-level configuration for the SAP module

object (WebReputationPolicyExtension)

Policy-level configuration for the Web Reputation module

Responses
200

successful operation

403

Not authorized to create policies.

Request samples
application/json
{
  • "parentID": 0,
  • "name": "string",
  • "description": "string",
  • "policySettings": {
    },
  • "recommendationScanMode": "off",
  • "autoRequiresUpdate": "off",
  • "interfaceTypes": {
    },
  • "antiMalware": {
    },
  • "webReputation": {
    },
  • "firewall": {
    },
  • "intrusionPrevention": {
    },
  • "integrityMonitoring": {
    },
  • "logInspection": {
    },
  • "applicationControl": {
    },
  • "SAP": {
    }
}
Response samples
application/json
{
  • "parentID": 0,
  • "name": "string",
  • "description": "string",
  • "policySettings": {
    },
  • "recommendationScanMode": "off",
  • "autoRequiresUpdate": "off",
  • "interfaceTypes": {
    },
  • "ID": 0,
  • "antiMalware": {
    },
  • "webReputation": {
    },
  • "firewall": {
    },
  • "intrusionPrevention": {
    },
  • "integrityMonitoring": {
    },
  • "logInspection": {
    },
  • "applicationControl": {
    },
  • "SAP": {
    }
}