Cisco Catalyst SD-WAN v0.3.2 published on Wednesday, Jul 16, 2025 by Pulumi
sdwan.getSecurityPolicy
Explore with Pulumi AI
This data source can read the Security Policy .
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as sdwan from "@pulumi/sdwan";
const example = sdwan.getSecurityPolicy({
id: "f6b2c44c-693c-4763-b010-895aa3d236bd",
});
import pulumi
import pulumi_sdwan as sdwan
example = sdwan.get_security_policy(id="f6b2c44c-693c-4763-b010-895aa3d236bd")
package main
import (
"github.com/pulumi/pulumi-sdwan/sdk/go/sdwan"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := sdwan.LookupSecurityPolicy(ctx, &sdwan.LookupSecurityPolicyArgs{
Id: "f6b2c44c-693c-4763-b010-895aa3d236bd",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Sdwan = Pulumi.Sdwan;
return await Deployment.RunAsync(() =>
{
var example = Sdwan.GetSecurityPolicy.Invoke(new()
{
Id = "f6b2c44c-693c-4763-b010-895aa3d236bd",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.sdwan.SdwanFunctions;
import com.pulumi.sdwan.inputs.GetSecurityPolicyArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = SdwanFunctions.getSecurityPolicy(GetSecurityPolicyArgs.builder()
.id("f6b2c44c-693c-4763-b010-895aa3d236bd")
.build());
}
}
variables:
example:
fn::invoke:
function: sdwan:getSecurityPolicy
arguments:
id: f6b2c44c-693c-4763-b010-895aa3d236bd
Using getSecurityPolicy
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getSecurityPolicy(args: GetSecurityPolicyArgs, opts?: InvokeOptions): Promise<GetSecurityPolicyResult>
function getSecurityPolicyOutput(args: GetSecurityPolicyOutputArgs, opts?: InvokeOptions): Output<GetSecurityPolicyResult>
def get_security_policy(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSecurityPolicyResult
def get_security_policy_output(id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSecurityPolicyResult]
func LookupSecurityPolicy(ctx *Context, args *LookupSecurityPolicyArgs, opts ...InvokeOption) (*LookupSecurityPolicyResult, error)
func LookupSecurityPolicyOutput(ctx *Context, args *LookupSecurityPolicyOutputArgs, opts ...InvokeOption) LookupSecurityPolicyResultOutput
> Note: This function is named LookupSecurityPolicy
in the Go SDK.
public static class GetSecurityPolicy
{
public static Task<GetSecurityPolicyResult> InvokeAsync(GetSecurityPolicyArgs args, InvokeOptions? opts = null)
public static Output<GetSecurityPolicyResult> Invoke(GetSecurityPolicyInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetSecurityPolicyResult> getSecurityPolicy(GetSecurityPolicyArgs args, InvokeOptions options)
public static Output<GetSecurityPolicyResult> getSecurityPolicy(GetSecurityPolicyArgs args, InvokeOptions options)
fn::invoke:
function: sdwan:index/getSecurityPolicy:getSecurityPolicy
arguments:
# arguments dictionary
The following arguments are supported:
- Id string
- The id of the object
- Id string
- The id of the object
- id String
- The id of the object
- id string
- The id of the object
- id str
- The id of the object
- id String
- The id of the object
getSecurityPolicy Result
The following output properties are available:
- Audit
Trail string - Audit trail
- Definitions
List<Get
Security Policy Definition> - List of policy definitions
- Description string
- The description of the security policy
- Direct
Internet Applications string - Bypass firewall policy and allow all Internet traffic to/from VPN 0
- Failure
Mode string - Failure mode
- High
Speed Logging Server Ip string - High Speed Logging Server IP
- High
Speed Logging Server Port string - High Speed Logging Port
- High
Speed Logging Server Source Interface string - High Speed Logging Source Interface
- High
Speed Logging Vpn string - High Speed Logging VPN
- Id string
- The id of the object
- Imcp
Unreachable Allow bool - ICMP Unreachable Allow
- Loggings
List<Get
Security Policy Logging> - Match
Statistics Per Filter string - Match Statistics per-filter
- Max
Incomplete Icmp Limit int - Max Incomplete ICMP Limit
- Max
Incomplete Tcp Limit int - Max Incomplete TCP Limit
- Max
Incomplete Udp Limit int - Max Incomplete UDP Limit
- Mode string
- The policy mode
- Name string
- The name of the security policy
- Session
Reclassify Allow bool - Session Reclassify Allow
- Tcp
Syn Flood Limit string - TCP SYN Flood Limit, value from 1 to 4294967295
- Unified
Logging bool - Unified Logging
- Use
Case string - The use case of the security policy
- Version int
- The version of the object
- Audit
Trail string - Audit trail
- Definitions
[]Get
Security Policy Definition - List of policy definitions
- Description string
- The description of the security policy
- Direct
Internet Applications string - Bypass firewall policy and allow all Internet traffic to/from VPN 0
- Failure
Mode string - Failure mode
- High
Speed Logging Server Ip string - High Speed Logging Server IP
- High
Speed Logging Server Port string - High Speed Logging Port
- High
Speed Logging Server Source Interface string - High Speed Logging Source Interface
- High
Speed Logging Vpn string - High Speed Logging VPN
- Id string
- The id of the object
- Imcp
Unreachable Allow bool - ICMP Unreachable Allow
- Loggings
[]Get
Security Policy Logging - Match
Statistics Per Filter string - Match Statistics per-filter
- Max
Incomplete Icmp Limit int - Max Incomplete ICMP Limit
- Max
Incomplete Tcp Limit int - Max Incomplete TCP Limit
- Max
Incomplete Udp Limit int - Max Incomplete UDP Limit
- Mode string
- The policy mode
- Name string
- The name of the security policy
- Session
Reclassify Allow bool - Session Reclassify Allow
- Tcp
Syn Flood Limit string - TCP SYN Flood Limit, value from 1 to 4294967295
- Unified
Logging bool - Unified Logging
- Use
Case string - The use case of the security policy
- Version int
- The version of the object
- audit
Trail String - Audit trail
- definitions
List<Get
Security Policy Definition> - List of policy definitions
- description String
- The description of the security policy
- direct
Internet Applications String - Bypass firewall policy and allow all Internet traffic to/from VPN 0
- failure
Mode String - Failure mode
- high
Speed Logging Server Ip String - High Speed Logging Server IP
- high
Speed Logging Server Port String - High Speed Logging Port
- high
Speed Logging Server Source Interface String - High Speed Logging Source Interface
- high
Speed Logging Vpn String - High Speed Logging VPN
- id String
- The id of the object
- imcp
Unreachable Allow Boolean - ICMP Unreachable Allow
- loggings
List<Get
Security Policy Logging> - match
Statistics Per Filter String - Match Statistics per-filter
- max
Incomplete Icmp Limit Integer - Max Incomplete ICMP Limit
- max
Incomplete Tcp Limit Integer - Max Incomplete TCP Limit
- max
Incomplete Udp Limit Integer - Max Incomplete UDP Limit
- mode String
- The policy mode
- name String
- The name of the security policy
- session
Reclassify Allow Boolean - Session Reclassify Allow
- tcp
Syn Flood Limit String - TCP SYN Flood Limit, value from 1 to 4294967295
- unified
Logging Boolean - Unified Logging
- use
Case String - The use case of the security policy
- version Integer
- The version of the object
- audit
Trail string - Audit trail
- definitions
Get
Security Policy Definition[] - List of policy definitions
- description string
- The description of the security policy
- direct
Internet Applications string - Bypass firewall policy and allow all Internet traffic to/from VPN 0
- failure
Mode string - Failure mode
- high
Speed Logging Server Ip string - High Speed Logging Server IP
- high
Speed Logging Server Port string - High Speed Logging Port
- high
Speed Logging Server Source Interface string - High Speed Logging Source Interface
- high
Speed Logging Vpn string - High Speed Logging VPN
- id string
- The id of the object
- imcp
Unreachable Allow boolean - ICMP Unreachable Allow
- loggings
Get
Security Policy Logging[] - match
Statistics Per Filter string - Match Statistics per-filter
- max
Incomplete Icmp Limit number - Max Incomplete ICMP Limit
- max
Incomplete Tcp Limit number - Max Incomplete TCP Limit
- max
Incomplete Udp Limit number - Max Incomplete UDP Limit
- mode string
- The policy mode
- name string
- The name of the security policy
- session
Reclassify Allow boolean - Session Reclassify Allow
- tcp
Syn Flood Limit string - TCP SYN Flood Limit, value from 1 to 4294967295
- unified
Logging boolean - Unified Logging
- use
Case string - The use case of the security policy
- version number
- The version of the object
- audit_
trail str - Audit trail
- definitions
Sequence[Get
Security Policy Definition] - List of policy definitions
- description str
- The description of the security policy
- direct_
internet_ applications str - Bypass firewall policy and allow all Internet traffic to/from VPN 0
- failure_
mode str - Failure mode
- high_
speed_ logging_ server_ ip str - High Speed Logging Server IP
- high_
speed_ logging_ server_ port str - High Speed Logging Port
- high_
speed_ logging_ server_ source_ interface str - High Speed Logging Source Interface
- high_
speed_ logging_ vpn str - High Speed Logging VPN
- id str
- The id of the object
- imcp_
unreachable_ allow bool - ICMP Unreachable Allow
- loggings
Sequence[Get
Security Policy Logging] - match_
statistics_ per_ filter str - Match Statistics per-filter
- max_
incomplete_ icmp_ limit int - Max Incomplete ICMP Limit
- max_
incomplete_ tcp_ limit int - Max Incomplete TCP Limit
- max_
incomplete_ udp_ limit int - Max Incomplete UDP Limit
- mode str
- The policy mode
- name str
- The name of the security policy
- session_
reclassify_ allow bool - Session Reclassify Allow
- tcp_
syn_ flood_ limit str - TCP SYN Flood Limit, value from 1 to 4294967295
- unified_
logging bool - Unified Logging
- use_
case str - The use case of the security policy
- version int
- The version of the object
- audit
Trail String - Audit trail
- definitions List<Property Map>
- List of policy definitions
- description String
- The description of the security policy
- direct
Internet Applications String - Bypass firewall policy and allow all Internet traffic to/from VPN 0
- failure
Mode String - Failure mode
- high
Speed Logging Server Ip String - High Speed Logging Server IP
- high
Speed Logging Server Port String - High Speed Logging Port
- high
Speed Logging Server Source Interface String - High Speed Logging Source Interface
- high
Speed Logging Vpn String - High Speed Logging VPN
- id String
- The id of the object
- imcp
Unreachable Allow Boolean - ICMP Unreachable Allow
- loggings List<Property Map>
- match
Statistics Per Filter String - Match Statistics per-filter
- max
Incomplete Icmp Limit Number - Max Incomplete ICMP Limit
- max
Incomplete Tcp Limit Number - Max Incomplete TCP Limit
- max
Incomplete Udp Limit Number - Max Incomplete UDP Limit
- mode String
- The policy mode
- name String
- The name of the security policy
- session
Reclassify Allow Boolean - Session Reclassify Allow
- tcp
Syn Flood Limit String - TCP SYN Flood Limit, value from 1 to 4294967295
- unified
Logging Boolean - Unified Logging
- use
Case String - The use case of the security policy
- version Number
- The version of the object
Supporting Types
Get Security Policy Definition
- Destination
Zone string - Destination Zone
- Id string
- Policy definition ID
- Source
Zone string - Source Zone
- Type string
- Policy definition type
- Version int
- Policy definition version
- Destination
Zone string - Destination Zone
- Id string
- Policy definition ID
- Source
Zone string - Source Zone
- Type string
- Policy definition type
- Version int
- Policy definition version
- destination
Zone String - Destination Zone
- id String
- Policy definition ID
- source
Zone String - Source Zone
- type String
- Policy definition type
- version Integer
- Policy definition version
- destination
Zone string - Destination Zone
- id string
- Policy definition ID
- source
Zone string - Source Zone
- type string
- Policy definition type
- version number
- Policy definition version
- destination_
zone str - Destination Zone
- id str
- Policy definition ID
- source_
zone str - Source Zone
- type str
- Policy definition type
- version int
- Policy definition version
- destination
Zone String - Destination Zone
- id String
- Policy definition ID
- source
Zone String - Source Zone
- type String
- Policy definition type
- version Number
- Policy definition version
Get Security Policy Logging
- External
Syslog Server Ip string - External Syslog Server IP
- External
Syslog Server Source Interface string - External Syslog Server Source Interface
- External
Syslog Server Vpn string - External Syslog Server VPN
- External
Syslog Server Ip string - External Syslog Server IP
- External
Syslog Server Source Interface string - External Syslog Server Source Interface
- External
Syslog Server Vpn string - External Syslog Server VPN
- external
Syslog Server Ip String - External Syslog Server IP
- external
Syslog Server Source Interface String - External Syslog Server Source Interface
- external
Syslog Server Vpn String - External Syslog Server VPN
- external
Syslog Server Ip string - External Syslog Server IP
- external
Syslog Server Source Interface string - External Syslog Server Source Interface
- external
Syslog Server Vpn string - External Syslog Server VPN
- external_
syslog_ server_ ip str - External Syslog Server IP
- external_
syslog_ server_ source_ interface str - External Syslog Server Source Interface
- external_
syslog_ server_ vpn str - External Syslog Server VPN
- external
Syslog Server Ip String - External Syslog Server IP
- external
Syslog Server Source Interface String - External Syslog Server Source Interface
- external
Syslog Server Vpn String - External Syslog Server VPN
Package Details
- Repository
- sdwan pulumi/pulumi-sdwan
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
sdwan
Terraform Provider.