junipermist.org.Idpprofile
Explore with Pulumi AI
This resource manages WAN Assurance Idp Profiles. An IDP Profile is a configuration setting that defines the behavior and actions of an intrusion detection and prevention (IDP) system.It specifies how the idp system should detect and respond to potential security threats or attacks on a network.The profile includes rules and policies that determine which types of traffic or attacks should be monitored,what actions should be taken when a threat is detected, and any exceptions or exclusions for specific destinations or attack types.
Example Usage
Coming soon!
Coming soon!
Coming soon!
Coming soon!
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.junipermist.org.Idpprofile;
import com.pulumi.junipermist.org.IdpprofileArgs;
import com.pulumi.junipermist.org.inputs.IdpprofileOverwriteArgs;
import com.pulumi.junipermist.org.inputs.IdpprofileOverwriteMatchingArgs;
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) {
var idpprofileOne = new Idpprofile("idpprofileOne", IdpprofileArgs.builder()
.orgId(terraformTest.id())
.baseProfile("standard")
.overwrites(
IdpprofileOverwriteArgs.builder()
.name("server_bypass")
.matching(IdpprofileOverwriteMatchingArgs.builder()
.severity()
.dstSubnet()
.attackName("SSL:OVERFLOW:KEY-ARG-NO-ENTROPY")
.build())
.build(),
IdpprofileOverwriteArgs.builder()
.name("guest-bypass")
.matching(IdpprofileOverwriteMatchingArgs.builder()
.severity()
.dstSubnet("8.8.8.8/32")
.attackName("UDP:ZERO-DATA")
.build())
.build())
.name("idpprofile_one")
.build());
}
}
resources:
idpprofileOne:
type: junipermist:org:Idpprofile
name: idpprofile_one
properties:
orgId: ${terraformTest.id}
baseProfile: standard
overwrites:
- name: server_bypass
matching:
severity: []
dstSubnet: []
attackName:
- SSL:OVERFLOW:KEY-ARG-NO-ENTROPY
- name: guest-bypass
matching:
severity: []
dstSubnet:
- 8.8.8.8/32
attackName:
- UDP:ZERO-DATA
name: idpprofile_one
Create Idpprofile Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Idpprofile(name: string, args: IdpprofileArgs, opts?: CustomResourceOptions);
@overload
def Idpprofile(resource_name: str,
args: IdpprofileArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Idpprofile(resource_name: str,
opts: Optional[ResourceOptions] = None,
base_profile: Optional[str] = None,
org_id: Optional[str] = None,
name: Optional[str] = None,
overwrites: Optional[Sequence[IdpprofileOverwriteArgs]] = None)
func NewIdpprofile(ctx *Context, name string, args IdpprofileArgs, opts ...ResourceOption) (*Idpprofile, error)
public Idpprofile(string name, IdpprofileArgs args, CustomResourceOptions? opts = null)
public Idpprofile(String name, IdpprofileArgs args)
public Idpprofile(String name, IdpprofileArgs args, CustomResourceOptions options)
type: junipermist:org:Idpprofile
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args IdpprofileArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args IdpprofileArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args IdpprofileArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IdpprofileArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IdpprofileArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var idpprofileResource = new JuniperMist.Org.Idpprofile("idpprofileResource", new()
{
BaseProfile = "string",
OrgId = "string",
Name = "string",
Overwrites = new[]
{
new JuniperMist.Org.Inputs.IdpprofileOverwriteArgs
{
Name = "string",
Action = "string",
Matching = new JuniperMist.Org.Inputs.IdpprofileOverwriteMatchingArgs
{
AttackNames = new[]
{
"string",
},
DstSubnets = new[]
{
"string",
},
Severities = new[]
{
"string",
},
},
},
},
});
example, err := org.NewIdpprofile(ctx, "idpprofileResource", &org.IdpprofileArgs{
BaseProfile: pulumi.String("string"),
OrgId: pulumi.String("string"),
Name: pulumi.String("string"),
Overwrites: org.IdpprofileOverwriteArray{
&org.IdpprofileOverwriteArgs{
Name: pulumi.String("string"),
Action: pulumi.String("string"),
Matching: &org.IdpprofileOverwriteMatchingArgs{
AttackNames: pulumi.StringArray{
pulumi.String("string"),
},
DstSubnets: pulumi.StringArray{
pulumi.String("string"),
},
Severities: pulumi.StringArray{
pulumi.String("string"),
},
},
},
},
})
var idpprofileResource = new Idpprofile("idpprofileResource", IdpprofileArgs.builder()
.baseProfile("string")
.orgId("string")
.name("string")
.overwrites(IdpprofileOverwriteArgs.builder()
.name("string")
.action("string")
.matching(IdpprofileOverwriteMatchingArgs.builder()
.attackNames("string")
.dstSubnets("string")
.severities("string")
.build())
.build())
.build());
idpprofile_resource = junipermist.org.Idpprofile("idpprofileResource",
base_profile="string",
org_id="string",
name="string",
overwrites=[{
"name": "string",
"action": "string",
"matching": {
"attack_names": ["string"],
"dst_subnets": ["string"],
"severities": ["string"],
},
}])
const idpprofileResource = new junipermist.org.Idpprofile("idpprofileResource", {
baseProfile: "string",
orgId: "string",
name: "string",
overwrites: [{
name: "string",
action: "string",
matching: {
attackNames: ["string"],
dstSubnets: ["string"],
severities: ["string"],
},
}],
});
type: junipermist:org:Idpprofile
properties:
baseProfile: string
name: string
orgId: string
overwrites:
- action: string
matching:
attackNames:
- string
dstSubnets:
- string
severities:
- string
name: string
Idpprofile Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Idpprofile resource accepts the following input properties:
- Base
Profile string - enum:
critical
,standard
,strict
- Org
Id string - Name string
- Overwrites
List<Pulumi.
Juniper Mist. Org. Inputs. Idpprofile Overwrite>
- Base
Profile string - enum:
critical
,standard
,strict
- Org
Id string - Name string
- Overwrites
[]Idpprofile
Overwrite Args
- base
Profile String - enum:
critical
,standard
,strict
- org
Id String - name String
- overwrites
List<Idpprofile
Overwrite>
- base
Profile string - enum:
critical
,standard
,strict
- org
Id string - name string
- overwrites
Idpprofile
Overwrite[]
- base_
profile str - enum:
critical
,standard
,strict
- org_
id str - name str
- overwrites
Sequence[Idpprofile
Overwrite Args]
- base
Profile String - enum:
critical
,standard
,strict
- org
Id String - name String
- overwrites List<Property Map>
Outputs
All input properties are implicitly available as output properties. Additionally, the Idpprofile resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing Idpprofile Resource
Get an existing Idpprofile resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: IdpprofileState, opts?: CustomResourceOptions): Idpprofile
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
base_profile: Optional[str] = None,
name: Optional[str] = None,
org_id: Optional[str] = None,
overwrites: Optional[Sequence[IdpprofileOverwriteArgs]] = None) -> Idpprofile
func GetIdpprofile(ctx *Context, name string, id IDInput, state *IdpprofileState, opts ...ResourceOption) (*Idpprofile, error)
public static Idpprofile Get(string name, Input<string> id, IdpprofileState? state, CustomResourceOptions? opts = null)
public static Idpprofile get(String name, Output<String> id, IdpprofileState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Base
Profile string - enum:
critical
,standard
,strict
- Name string
- Org
Id string - Overwrites
List<Pulumi.
Juniper Mist. Org. Inputs. Idpprofile Overwrite>
- Base
Profile string - enum:
critical
,standard
,strict
- Name string
- Org
Id string - Overwrites
[]Idpprofile
Overwrite Args
- base
Profile String - enum:
critical
,standard
,strict
- name String
- org
Id String - overwrites
List<Idpprofile
Overwrite>
- base
Profile string - enum:
critical
,standard
,strict
- name string
- org
Id string - overwrites
Idpprofile
Overwrite[]
- base_
profile str - enum:
critical
,standard
,strict
- name str
- org_
id str - overwrites
Sequence[Idpprofile
Overwrite Args]
- base
Profile String - enum:
critical
,standard
,strict
- name String
- org
Id String - overwrites List<Property Map>
Supporting Types
IdpprofileOverwrite, IdpprofileOverwriteArgs
- Name string
- Action string
- enum:
- alert (default)
- drop: siliently dropping packets
- close: notify client/server to close connection
- Matching
Pulumi.
Juniper Mist. Org. Inputs. Idpprofile Overwrite Matching
- Name string
- Action string
- enum:
- alert (default)
- drop: siliently dropping packets
- close: notify client/server to close connection
- Matching
Idpprofile
Overwrite Matching
- name String
- action String
- enum:
- alert (default)
- drop: siliently dropping packets
- close: notify client/server to close connection
- matching
Idpprofile
Overwrite Matching
- name string
- action string
- enum:
- alert (default)
- drop: siliently dropping packets
- close: notify client/server to close connection
- matching
Idpprofile
Overwrite Matching
- name str
- action str
- enum:
- alert (default)
- drop: siliently dropping packets
- close: notify client/server to close connection
- matching
Idpprofile
Overwrite Matching
- name String
- action String
- enum:
- alert (default)
- drop: siliently dropping packets
- close: notify client/server to close connection
- matching Property Map
IdpprofileOverwriteMatching, IdpprofileOverwriteMatchingArgs
- Attack
Names List<string> - Dst
Subnets List<string> - Severities List<string>
- Attack
Names []string - Dst
Subnets []string - Severities []string
- attack
Names List<String> - dst
Subnets List<String> - severities List<String>
- attack
Names string[] - dst
Subnets string[] - severities string[]
- attack_
names Sequence[str] - dst_
subnets Sequence[str] - severities Sequence[str]
- attack
Names List<String> - dst
Subnets List<String> - severities List<String>
Import
Using pulumi import
, import mist_org_idpprofile
with:
IDP Profile can be imported by specifying the org_id and the idpprofile_id
$ pulumi import junipermist:org/idpprofile:Idpprofile idpprofile_one 17b46405-3a6d-4715-8bb4-6bb6d06f316a.d3c42998-9012-4859-9743-6b9bee475309
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- junipermist pulumi/pulumi-junipermist
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
mist
Terraform Provider.