Creates and manages Security Events Provider instances for signal ingestion.
Example Usage
Security Events Provider with Well-Known URL
import * as pulumi from "@pulumi/pulumi";
import * as okta from "@pulumi/okta";
const exampleWellknown = new okta.SecurityEventsProvider("example_wellknown", {
name: "Security Events Provider with well-known URL",
type: "okta",
isEnabled: "ACTIVE",
settings: {
wellKnownUrl: "https://example.com/.well-known/ssf_configuration",
},
});
import pulumi
import pulumi_okta as okta
example_wellknown = okta.SecurityEventsProvider("example_wellknown",
name="Security Events Provider with well-known URL",
type="okta",
is_enabled="ACTIVE",
settings={
"well_known_url": "https://example.com/.well-known/ssf_configuration",
})
package main
import (
"github.com/pulumi/pulumi-okta/sdk/v6/go/okta"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := okta.NewSecurityEventsProvider(ctx, "example_wellknown", &okta.SecurityEventsProviderArgs{
Name: pulumi.String("Security Events Provider with well-known URL"),
Type: pulumi.String("okta"),
IsEnabled: pulumi.String("ACTIVE"),
Settings: &okta.SecurityEventsProviderSettingsArgs{
WellKnownUrl: pulumi.String("https://example.com/.well-known/ssf_configuration"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Okta = Pulumi.Okta;
return await Deployment.RunAsync(() =>
{
var exampleWellknown = new Okta.SecurityEventsProvider("example_wellknown", new()
{
Name = "Security Events Provider with well-known URL",
Type = "okta",
IsEnabled = "ACTIVE",
Settings = new Okta.Inputs.SecurityEventsProviderSettingsArgs
{
WellKnownUrl = "https://example.com/.well-known/ssf_configuration",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.okta.SecurityEventsProvider;
import com.pulumi.okta.SecurityEventsProviderArgs;
import com.pulumi.okta.inputs.SecurityEventsProviderSettingsArgs;
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 exampleWellknown = new SecurityEventsProvider("exampleWellknown", SecurityEventsProviderArgs.builder()
.name("Security Events Provider with well-known URL")
.type("okta")
.isEnabled("ACTIVE")
.settings(SecurityEventsProviderSettingsArgs.builder()
.wellKnownUrl("https://example.com/.well-known/ssf_configuration")
.build())
.build());
}
}
resources:
exampleWellknown:
type: okta:SecurityEventsProvider
name: example_wellknown
properties:
name: Security Events Provider with well-known URL
type: okta
isEnabled: ACTIVE
settings:
wellKnownUrl: https://example.com/.well-known/ssf_configuration
Security Events Provider with Issuer and JWKS
import * as pulumi from "@pulumi/pulumi";
import * as okta from "@pulumi/okta";
const exampleIssuer = new okta.SecurityEventsProvider("example_issuer", {
name: "Security Events Provider with an issuer and a JWKS URL",
type: "okta",
isEnabled: "ACTIVE",
settings: {
issuer: "Issuer",
jwksUrl: "https://example.okta.com/jwks/path",
},
});
import pulumi
import pulumi_okta as okta
example_issuer = okta.SecurityEventsProvider("example_issuer",
name="Security Events Provider with an issuer and a JWKS URL",
type="okta",
is_enabled="ACTIVE",
settings={
"issuer": "Issuer",
"jwks_url": "https://example.okta.com/jwks/path",
})
package main
import (
"github.com/pulumi/pulumi-okta/sdk/v6/go/okta"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := okta.NewSecurityEventsProvider(ctx, "example_issuer", &okta.SecurityEventsProviderArgs{
Name: pulumi.String("Security Events Provider with an issuer and a JWKS URL"),
Type: pulumi.String("okta"),
IsEnabled: pulumi.String("ACTIVE"),
Settings: &okta.SecurityEventsProviderSettingsArgs{
Issuer: pulumi.String("Issuer"),
JwksUrl: pulumi.String("https://example.okta.com/jwks/path"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Okta = Pulumi.Okta;
return await Deployment.RunAsync(() =>
{
var exampleIssuer = new Okta.SecurityEventsProvider("example_issuer", new()
{
Name = "Security Events Provider with an issuer and a JWKS URL",
Type = "okta",
IsEnabled = "ACTIVE",
Settings = new Okta.Inputs.SecurityEventsProviderSettingsArgs
{
Issuer = "Issuer",
JwksUrl = "https://example.okta.com/jwks/path",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.okta.SecurityEventsProvider;
import com.pulumi.okta.SecurityEventsProviderArgs;
import com.pulumi.okta.inputs.SecurityEventsProviderSettingsArgs;
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 exampleIssuer = new SecurityEventsProvider("exampleIssuer", SecurityEventsProviderArgs.builder()
.name("Security Events Provider with an issuer and a JWKS URL")
.type("okta")
.isEnabled("ACTIVE")
.settings(SecurityEventsProviderSettingsArgs.builder()
.issuer("Issuer")
.jwksUrl("https://example.okta.com/jwks/path")
.build())
.build());
}
}
resources:
exampleIssuer:
type: okta:SecurityEventsProvider
name: example_issuer
properties:
name: Security Events Provider with an issuer and a JWKS URL
type: okta
isEnabled: ACTIVE
settings:
issuer: Issuer
jwksUrl: https://example.okta.com/jwks/path
Create SecurityEventsProvider Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SecurityEventsProvider(name: string, args: SecurityEventsProviderArgs, opts?: CustomResourceOptions);@overload
def SecurityEventsProvider(resource_name: str,
args: SecurityEventsProviderArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SecurityEventsProvider(resource_name: str,
opts: Optional[ResourceOptions] = None,
is_enabled: Optional[str] = None,
type: Optional[str] = None,
name: Optional[str] = None,
settings: Optional[SecurityEventsProviderSettingsArgs] = None)func NewSecurityEventsProvider(ctx *Context, name string, args SecurityEventsProviderArgs, opts ...ResourceOption) (*SecurityEventsProvider, error)public SecurityEventsProvider(string name, SecurityEventsProviderArgs args, CustomResourceOptions? opts = null)
public SecurityEventsProvider(String name, SecurityEventsProviderArgs args)
public SecurityEventsProvider(String name, SecurityEventsProviderArgs args, CustomResourceOptions options)
type: okta:SecurityEventsProvider
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 SecurityEventsProviderArgs
- 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 SecurityEventsProviderArgs
- 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 SecurityEventsProviderArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SecurityEventsProviderArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SecurityEventsProviderArgs
- 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 securityEventsProviderResource = new Okta.SecurityEventsProvider("securityEventsProviderResource", new()
{
IsEnabled = "string",
Type = "string",
Name = "string",
Settings = new Okta.Inputs.SecurityEventsProviderSettingsArgs
{
Issuer = "string",
JwksUrl = "string",
WellKnownUrl = "string",
},
});
example, err := okta.NewSecurityEventsProvider(ctx, "securityEventsProviderResource", &okta.SecurityEventsProviderArgs{
IsEnabled: pulumi.String("string"),
Type: pulumi.String("string"),
Name: pulumi.String("string"),
Settings: &okta.SecurityEventsProviderSettingsArgs{
Issuer: pulumi.String("string"),
JwksUrl: pulumi.String("string"),
WellKnownUrl: pulumi.String("string"),
},
})
var securityEventsProviderResource = new SecurityEventsProvider("securityEventsProviderResource", SecurityEventsProviderArgs.builder()
.isEnabled("string")
.type("string")
.name("string")
.settings(SecurityEventsProviderSettingsArgs.builder()
.issuer("string")
.jwksUrl("string")
.wellKnownUrl("string")
.build())
.build());
security_events_provider_resource = okta.SecurityEventsProvider("securityEventsProviderResource",
is_enabled="string",
type="string",
name="string",
settings={
"issuer": "string",
"jwks_url": "string",
"well_known_url": "string",
})
const securityEventsProviderResource = new okta.SecurityEventsProvider("securityEventsProviderResource", {
isEnabled: "string",
type: "string",
name: "string",
settings: {
issuer: "string",
jwksUrl: "string",
wellKnownUrl: "string",
},
});
type: okta:SecurityEventsProvider
properties:
isEnabled: string
name: string
settings:
issuer: string
jwksUrl: string
wellKnownUrl: string
type: string
SecurityEventsProvider 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 SecurityEventsProvider resource accepts the following input properties:
- Is
Enabled string - Whether or not the Security Events Provider is enabled. Valid values:
ACTIVE,INACTIVE. - Type string
- The application type of the Security Events Provider.
- Name string
- The name of the Security Events Provider instance.
- Settings
Security
Events Provider Settings - Information about the Security Events Provider for signal ingestion.
- Is
Enabled string - Whether or not the Security Events Provider is enabled. Valid values:
ACTIVE,INACTIVE. - Type string
- The application type of the Security Events Provider.
- Name string
- The name of the Security Events Provider instance.
- Settings
Security
Events Provider Settings Args - Information about the Security Events Provider for signal ingestion.
- is
Enabled String - Whether or not the Security Events Provider is enabled. Valid values:
ACTIVE,INACTIVE. - type String
- The application type of the Security Events Provider.
- name String
- The name of the Security Events Provider instance.
- settings
Security
Events Provider Settings - Information about the Security Events Provider for signal ingestion.
- is
Enabled string - Whether or not the Security Events Provider is enabled. Valid values:
ACTIVE,INACTIVE. - type string
- The application type of the Security Events Provider.
- name string
- The name of the Security Events Provider instance.
- settings
Security
Events Provider Settings - Information about the Security Events Provider for signal ingestion.
- is_
enabled str - Whether or not the Security Events Provider is enabled. Valid values:
ACTIVE,INACTIVE. - type str
- The application type of the Security Events Provider.
- name str
- The name of the Security Events Provider instance.
- settings
Security
Events Provider Settings Args - Information about the Security Events Provider for signal ingestion.
- is
Enabled String - Whether or not the Security Events Provider is enabled. Valid values:
ACTIVE,INACTIVE. - type String
- The application type of the Security Events Provider.
- name String
- The name of the Security Events Provider instance.
- settings Property Map
- Information about the Security Events Provider for signal ingestion.
Outputs
All input properties are implicitly available as output properties. Additionally, the SecurityEventsProvider resource produces the following output properties:
Look up Existing SecurityEventsProvider Resource
Get an existing SecurityEventsProvider 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?: SecurityEventsProviderState, opts?: CustomResourceOptions): SecurityEventsProvider@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
is_enabled: Optional[str] = None,
name: Optional[str] = None,
settings: Optional[SecurityEventsProviderSettingsArgs] = None,
status: Optional[str] = None,
type: Optional[str] = None) -> SecurityEventsProviderfunc GetSecurityEventsProvider(ctx *Context, name string, id IDInput, state *SecurityEventsProviderState, opts ...ResourceOption) (*SecurityEventsProvider, error)public static SecurityEventsProvider Get(string name, Input<string> id, SecurityEventsProviderState? state, CustomResourceOptions? opts = null)public static SecurityEventsProvider get(String name, Output<String> id, SecurityEventsProviderState state, CustomResourceOptions options)resources: _: type: okta:SecurityEventsProvider get: id: ${id}- 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.
- Is
Enabled string - Whether or not the Security Events Provider is enabled. Valid values:
ACTIVE,INACTIVE. - Name string
- The name of the Security Events Provider instance.
- Settings
Security
Events Provider Settings - Information about the Security Events Provider for signal ingestion.
- Status string
- Indicates whether the Security Events Provider is active or not.
- Type string
- The application type of the Security Events Provider.
- Is
Enabled string - Whether or not the Security Events Provider is enabled. Valid values:
ACTIVE,INACTIVE. - Name string
- The name of the Security Events Provider instance.
- Settings
Security
Events Provider Settings Args - Information about the Security Events Provider for signal ingestion.
- Status string
- Indicates whether the Security Events Provider is active or not.
- Type string
- The application type of the Security Events Provider.
- is
Enabled String - Whether or not the Security Events Provider is enabled. Valid values:
ACTIVE,INACTIVE. - name String
- The name of the Security Events Provider instance.
- settings
Security
Events Provider Settings - Information about the Security Events Provider for signal ingestion.
- status String
- Indicates whether the Security Events Provider is active or not.
- type String
- The application type of the Security Events Provider.
- is
Enabled string - Whether or not the Security Events Provider is enabled. Valid values:
ACTIVE,INACTIVE. - name string
- The name of the Security Events Provider instance.
- settings
Security
Events Provider Settings - Information about the Security Events Provider for signal ingestion.
- status string
- Indicates whether the Security Events Provider is active or not.
- type string
- The application type of the Security Events Provider.
- is_
enabled str - Whether or not the Security Events Provider is enabled. Valid values:
ACTIVE,INACTIVE. - name str
- The name of the Security Events Provider instance.
- settings
Security
Events Provider Settings Args - Information about the Security Events Provider for signal ingestion.
- status str
- Indicates whether the Security Events Provider is active or not.
- type str
- The application type of the Security Events Provider.
- is
Enabled String - Whether or not the Security Events Provider is enabled. Valid values:
ACTIVE,INACTIVE. - name String
- The name of the Security Events Provider instance.
- settings Property Map
- Information about the Security Events Provider for signal ingestion.
- status String
- Indicates whether the Security Events Provider is active or not.
- type String
- The application type of the Security Events Provider.
Supporting Types
SecurityEventsProviderSettings, SecurityEventsProviderSettingsArgs
- Issuer string
- Issuer URL. Maximum length: 700 characters. To be used along with
jwks_url. - Jwks
Url string - The public URL where the JWKS public key is uploaded. Maximum length: 1000 characters. To be used along with
issuer. - Well
Known stringUrl - The published well-known URL of the Security Events Provider (the SSF transmitter). Maximum length: 1000 characters.
- Issuer string
- Issuer URL. Maximum length: 700 characters. To be used along with
jwks_url. - Jwks
Url string - The public URL where the JWKS public key is uploaded. Maximum length: 1000 characters. To be used along with
issuer. - Well
Known stringUrl - The published well-known URL of the Security Events Provider (the SSF transmitter). Maximum length: 1000 characters.
- issuer String
- Issuer URL. Maximum length: 700 characters. To be used along with
jwks_url. - jwks
Url String - The public URL where the JWKS public key is uploaded. Maximum length: 1000 characters. To be used along with
issuer. - well
Known StringUrl - The published well-known URL of the Security Events Provider (the SSF transmitter). Maximum length: 1000 characters.
- issuer string
- Issuer URL. Maximum length: 700 characters. To be used along with
jwks_url. - jwks
Url string - The public URL where the JWKS public key is uploaded. Maximum length: 1000 characters. To be used along with
issuer. - well
Known stringUrl - The published well-known URL of the Security Events Provider (the SSF transmitter). Maximum length: 1000 characters.
- issuer str
- Issuer URL. Maximum length: 700 characters. To be used along with
jwks_url. - jwks_
url str - The public URL where the JWKS public key is uploaded. Maximum length: 1000 characters. To be used along with
issuer. - well_
known_ strurl - The published well-known URL of the Security Events Provider (the SSF transmitter). Maximum length: 1000 characters.
- issuer String
- Issuer URL. Maximum length: 700 characters. To be used along with
jwks_url. - jwks
Url String - The public URL where the JWKS public key is uploaded. Maximum length: 1000 characters. To be used along with
issuer. - well
Known StringUrl - The published well-known URL of the Security Events Provider (the SSF transmitter). Maximum length: 1000 characters.
Import
$ pulumi import okta:index/securityEventsProvider:SecurityEventsProvider example <security_events_provider_id>
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Okta pulumi/pulumi-okta
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oktaTerraform Provider.
