meraki.organizations.ApplianceSecurityIntrusion
Explore with Pulumi AI
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.meraki.organizations.ApplianceSecurityIntrusion;
import com.pulumi.meraki.organizations.ApplianceSecurityIntrusionArgs;
import com.pulumi.meraki.organizations.inputs.ApplianceSecurityIntrusionAllowedRuleArgs;
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 example = new ApplianceSecurityIntrusion("example", ApplianceSecurityIntrusionArgs.builder()
.allowedRules(ApplianceSecurityIntrusionAllowedRuleArgs.builder()
.message("SQL sa login failed")
.rule_id("meraki:intrusion/snort/GID/01/SID/688")
.build())
.organizationId("string")
.build());
ctx.export("merakiOrganizationsApplianceSecurityIntrusionExample", example);
}
}
resources:
example:
type: meraki:organizations:ApplianceSecurityIntrusion
properties:
allowedRules:
- message: SQL sa login failed
rule_id: meraki:intrusion/snort/GID/01/SID/688
organizationId: string
outputs:
merakiOrganizationsApplianceSecurityIntrusionExample: ${example}
Create ApplianceSecurityIntrusion Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ApplianceSecurityIntrusion(name: string, args: ApplianceSecurityIntrusionArgs, opts?: CustomResourceOptions);
@overload
def ApplianceSecurityIntrusion(resource_name: str,
args: ApplianceSecurityIntrusionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ApplianceSecurityIntrusion(resource_name: str,
opts: Optional[ResourceOptions] = None,
organization_id: Optional[str] = None,
allowed_rules: Optional[Sequence[ApplianceSecurityIntrusionAllowedRuleArgs]] = None)
func NewApplianceSecurityIntrusion(ctx *Context, name string, args ApplianceSecurityIntrusionArgs, opts ...ResourceOption) (*ApplianceSecurityIntrusion, error)
public ApplianceSecurityIntrusion(string name, ApplianceSecurityIntrusionArgs args, CustomResourceOptions? opts = null)
public ApplianceSecurityIntrusion(String name, ApplianceSecurityIntrusionArgs args)
public ApplianceSecurityIntrusion(String name, ApplianceSecurityIntrusionArgs args, CustomResourceOptions options)
type: meraki:organizations:ApplianceSecurityIntrusion
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 ApplianceSecurityIntrusionArgs
- 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 ApplianceSecurityIntrusionArgs
- 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 ApplianceSecurityIntrusionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ApplianceSecurityIntrusionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ApplianceSecurityIntrusionArgs
- 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 merakiApplianceSecurityIntrusionResource = new Meraki.Organizations.ApplianceSecurityIntrusion("merakiApplianceSecurityIntrusionResource", new()
{
OrganizationId = "string",
AllowedRules = new[]
{
new Meraki.Organizations.Inputs.ApplianceSecurityIntrusionAllowedRuleArgs
{
Message = "string",
RuleId = "string",
},
},
});
example, err := organizations.NewApplianceSecurityIntrusion(ctx, "merakiApplianceSecurityIntrusionResource", &organizations.ApplianceSecurityIntrusionArgs{
OrganizationId: pulumi.String("string"),
AllowedRules: organizations.ApplianceSecurityIntrusionAllowedRuleArray{
&organizations.ApplianceSecurityIntrusionAllowedRuleArgs{
Message: pulumi.String("string"),
RuleId: pulumi.String("string"),
},
},
})
var merakiApplianceSecurityIntrusionResource = new ApplianceSecurityIntrusion("merakiApplianceSecurityIntrusionResource", ApplianceSecurityIntrusionArgs.builder()
.organizationId("string")
.allowedRules(ApplianceSecurityIntrusionAllowedRuleArgs.builder()
.message("string")
.ruleId("string")
.build())
.build());
meraki_appliance_security_intrusion_resource = meraki.organizations.ApplianceSecurityIntrusion("merakiApplianceSecurityIntrusionResource",
organization_id="string",
allowed_rules=[{
"message": "string",
"rule_id": "string",
}])
const merakiApplianceSecurityIntrusionResource = new meraki.organizations.ApplianceSecurityIntrusion("merakiApplianceSecurityIntrusionResource", {
organizationId: "string",
allowedRules: [{
message: "string",
ruleId: "string",
}],
});
type: meraki:organizations:ApplianceSecurityIntrusion
properties:
allowedRules:
- message: string
ruleId: string
organizationId: string
ApplianceSecurityIntrusion 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 ApplianceSecurityIntrusion resource accepts the following input properties:
- Organization
Id string - organizationId path parameter. Organization ID
- Allowed
Rules List<ApplianceSecurity Intrusion Allowed Rule> - Sets a list of specific SNORT signatures to allow
- Organization
Id string - organizationId path parameter. Organization ID
- Allowed
Rules []ApplianceSecurity Intrusion Allowed Rule Args - Sets a list of specific SNORT signatures to allow
- organization
Id String - organizationId path parameter. Organization ID
- allowed
Rules List<ApplianceSecurity Intrusion Allowed Rule> - Sets a list of specific SNORT signatures to allow
- organization
Id string - organizationId path parameter. Organization ID
- allowed
Rules ApplianceSecurity Intrusion Allowed Rule[] - Sets a list of specific SNORT signatures to allow
- organization_
id str - organizationId path parameter. Organization ID
- allowed_
rules Sequence[ApplianceSecurity Intrusion Allowed Rule Args] - Sets a list of specific SNORT signatures to allow
- organization
Id String - organizationId path parameter. Organization ID
- allowed
Rules List<Property Map> - Sets a list of specific SNORT signatures to allow
Outputs
All input properties are implicitly available as output properties. Additionally, the ApplianceSecurityIntrusion 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 ApplianceSecurityIntrusion Resource
Get an existing ApplianceSecurityIntrusion 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?: ApplianceSecurityIntrusionState, opts?: CustomResourceOptions): ApplianceSecurityIntrusion
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
allowed_rules: Optional[Sequence[ApplianceSecurityIntrusionAllowedRuleArgs]] = None,
organization_id: Optional[str] = None) -> ApplianceSecurityIntrusion
func GetApplianceSecurityIntrusion(ctx *Context, name string, id IDInput, state *ApplianceSecurityIntrusionState, opts ...ResourceOption) (*ApplianceSecurityIntrusion, error)
public static ApplianceSecurityIntrusion Get(string name, Input<string> id, ApplianceSecurityIntrusionState? state, CustomResourceOptions? opts = null)
public static ApplianceSecurityIntrusion get(String name, Output<String> id, ApplianceSecurityIntrusionState 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.
- Allowed
Rules List<ApplianceSecurity Intrusion Allowed Rule> - Sets a list of specific SNORT signatures to allow
- Organization
Id string - organizationId path parameter. Organization ID
- Allowed
Rules []ApplianceSecurity Intrusion Allowed Rule Args - Sets a list of specific SNORT signatures to allow
- Organization
Id string - organizationId path parameter. Organization ID
- allowed
Rules List<ApplianceSecurity Intrusion Allowed Rule> - Sets a list of specific SNORT signatures to allow
- organization
Id String - organizationId path parameter. Organization ID
- allowed
Rules ApplianceSecurity Intrusion Allowed Rule[] - Sets a list of specific SNORT signatures to allow
- organization
Id string - organizationId path parameter. Organization ID
- allowed_
rules Sequence[ApplianceSecurity Intrusion Allowed Rule Args] - Sets a list of specific SNORT signatures to allow
- organization_
id str - organizationId path parameter. Organization ID
- allowed
Rules List<Property Map> - Sets a list of specific SNORT signatures to allow
- organization
Id String - organizationId path parameter. Organization ID
Supporting Types
ApplianceSecurityIntrusionAllowedRule, ApplianceSecurityIntrusionAllowedRuleArgs
- Message string
- Message is optional and is ignored on a PUT call. It is allowed in order for PUT to be compatible with GET
- Rule
Id string - A rule identifier of the format meraki:intrusion/snort/GID/\n\n/SID/\n\n. gid and sid can be obtained from either https://www.snort.org/rule-docs or as ruleIds from the security events in /organization/[orgId]/securityEvents
- Message string
- Message is optional and is ignored on a PUT call. It is allowed in order for PUT to be compatible with GET
- Rule
Id string - A rule identifier of the format meraki:intrusion/snort/GID/\n\n/SID/\n\n. gid and sid can be obtained from either https://www.snort.org/rule-docs or as ruleIds from the security events in /organization/[orgId]/securityEvents
- message String
- Message is optional and is ignored on a PUT call. It is allowed in order for PUT to be compatible with GET
- rule
Id String - A rule identifier of the format meraki:intrusion/snort/GID/\n\n/SID/\n\n. gid and sid can be obtained from either https://www.snort.org/rule-docs or as ruleIds from the security events in /organization/[orgId]/securityEvents
- message string
- Message is optional and is ignored on a PUT call. It is allowed in order for PUT to be compatible with GET
- rule
Id string - A rule identifier of the format meraki:intrusion/snort/GID/\n\n/SID/\n\n. gid and sid can be obtained from either https://www.snort.org/rule-docs or as ruleIds from the security events in /organization/[orgId]/securityEvents
- message str
- Message is optional and is ignored on a PUT call. It is allowed in order for PUT to be compatible with GET
- rule_
id str - A rule identifier of the format meraki:intrusion/snort/GID/\n\n/SID/\n\n. gid and sid can be obtained from either https://www.snort.org/rule-docs or as ruleIds from the security events in /organization/[orgId]/securityEvents
- message String
- Message is optional and is ignored on a PUT call. It is allowed in order for PUT to be compatible with GET
- rule
Id String - A rule identifier of the format meraki:intrusion/snort/GID/\n\n/SID/\n\n. gid and sid can be obtained from either https://www.snort.org/rule-docs or as ruleIds from the security events in /organization/[orgId]/securityEvents
Import
$ pulumi import meraki:organizations/applianceSecurityIntrusion:ApplianceSecurityIntrusion example "organization_id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- meraki pulumi/pulumi-meraki
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
meraki
Terraform Provider.