lacework.AlertChannelQradar
Explore with Pulumi AI
You can configure an alert channel to send Lacework alert notifications to IBM QRadar.
To find more information about the IBM QRadar alert channel integration, see the Lacework support documentation.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as lacework from "@pulumi/lacework";
const example = new lacework.AlertChannelQradar("example", {
communicationType: "HTTPS",
hostPort: 4000,
hostUrl: "https://qradar-lacework.com",
});
import pulumi
import pulumi_lacework as lacework
example = lacework.AlertChannelQradar("example",
communication_type="HTTPS",
host_port=4000,
host_url="https://qradar-lacework.com")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/lacework/v2/lacework"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := lacework.NewAlertChannelQradar(ctx, "example", &lacework.AlertChannelQradarArgs{
CommunicationType: pulumi.String("HTTPS"),
HostPort: pulumi.Float64(4000),
HostUrl: pulumi.String("https://qradar-lacework.com"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Lacework = Pulumi.Lacework;
return await Deployment.RunAsync(() =>
{
var example = new Lacework.AlertChannelQradar("example", new()
{
CommunicationType = "HTTPS",
HostPort = 4000,
HostUrl = "https://qradar-lacework.com",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.lacework.AlertChannelQradar;
import com.pulumi.lacework.AlertChannelQradarArgs;
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 AlertChannelQradar("example", AlertChannelQradarArgs.builder()
.communicationType("HTTPS")
.hostPort(4000)
.hostUrl("https://qradar-lacework.com")
.build());
}
}
resources:
example:
type: lacework:AlertChannelQradar
properties:
communicationType: HTTPS
hostPort: 4000
hostUrl: https://qradar-lacework.com
Create AlertChannelQradar Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AlertChannelQradar(name: string, args: AlertChannelQradarArgs, opts?: CustomResourceOptions);
@overload
def AlertChannelQradar(resource_name: str,
args: AlertChannelQradarArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AlertChannelQradar(resource_name: str,
opts: Optional[ResourceOptions] = None,
host_url: Optional[str] = None,
alert_channel_qradar_id: Optional[str] = None,
communication_type: Optional[str] = None,
enabled: Optional[bool] = None,
host_port: Optional[float] = None,
name: Optional[str] = None,
test_integration: Optional[bool] = None)
func NewAlertChannelQradar(ctx *Context, name string, args AlertChannelQradarArgs, opts ...ResourceOption) (*AlertChannelQradar, error)
public AlertChannelQradar(string name, AlertChannelQradarArgs args, CustomResourceOptions? opts = null)
public AlertChannelQradar(String name, AlertChannelQradarArgs args)
public AlertChannelQradar(String name, AlertChannelQradarArgs args, CustomResourceOptions options)
type: lacework:AlertChannelQradar
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 AlertChannelQradarArgs
- 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 AlertChannelQradarArgs
- 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 AlertChannelQradarArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AlertChannelQradarArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AlertChannelQradarArgs
- 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 alertChannelQradarResource = new Lacework.AlertChannelQradar("alertChannelQradarResource", new()
{
HostUrl = "string",
AlertChannelQradarId = "string",
CommunicationType = "string",
Enabled = false,
HostPort = 0,
Name = "string",
TestIntegration = false,
});
example, err := lacework.NewAlertChannelQradar(ctx, "alertChannelQradarResource", &lacework.AlertChannelQradarArgs{
HostUrl: pulumi.String("string"),
AlertChannelQradarId: pulumi.String("string"),
CommunicationType: pulumi.String("string"),
Enabled: pulumi.Bool(false),
HostPort: pulumi.Float64(0),
Name: pulumi.String("string"),
TestIntegration: pulumi.Bool(false),
})
var alertChannelQradarResource = new AlertChannelQradar("alertChannelQradarResource", AlertChannelQradarArgs.builder()
.hostUrl("string")
.alertChannelQradarId("string")
.communicationType("string")
.enabled(false)
.hostPort(0)
.name("string")
.testIntegration(false)
.build());
alert_channel_qradar_resource = lacework.AlertChannelQradar("alertChannelQradarResource",
host_url="string",
alert_channel_qradar_id="string",
communication_type="string",
enabled=False,
host_port=0,
name="string",
test_integration=False)
const alertChannelQradarResource = new lacework.AlertChannelQradar("alertChannelQradarResource", {
hostUrl: "string",
alertChannelQradarId: "string",
communicationType: "string",
enabled: false,
hostPort: 0,
name: "string",
testIntegration: false,
});
type: lacework:AlertChannelQradar
properties:
alertChannelQradarId: string
communicationType: string
enabled: false
hostPort: 0
hostUrl: string
name: string
testIntegration: false
AlertChannelQradar 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 AlertChannelQradar resource accepts the following input properties:
- Host
Url string - The domain name or IP address of QRadar.
- Alert
Channel stringQradar Id - Communication
Type string - The communication protocol used. Must be one of
HTTPS
orHTTPS Self Signed Cert
. - Enabled bool
- The state of the external integration. Defaults to
true
. - Host
Port double - The listen port defined in QRadar.
- Name string
- The Alert Channel integration name.
- Test
Integration bool - Whether to test the integration of an alert channel upon creation or modification
- Host
Url string - The domain name or IP address of QRadar.
- Alert
Channel stringQradar Id - Communication
Type string - The communication protocol used. Must be one of
HTTPS
orHTTPS Self Signed Cert
. - Enabled bool
- The state of the external integration. Defaults to
true
. - Host
Port float64 - The listen port defined in QRadar.
- Name string
- The Alert Channel integration name.
- Test
Integration bool - Whether to test the integration of an alert channel upon creation or modification
- host
Url String - The domain name or IP address of QRadar.
- alert
Channel StringQradar Id - communication
Type String - The communication protocol used. Must be one of
HTTPS
orHTTPS Self Signed Cert
. - enabled Boolean
- The state of the external integration. Defaults to
true
. - host
Port Double - The listen port defined in QRadar.
- name String
- The Alert Channel integration name.
- test
Integration Boolean - Whether to test the integration of an alert channel upon creation or modification
- host
Url string - The domain name or IP address of QRadar.
- alert
Channel stringQradar Id - communication
Type string - The communication protocol used. Must be one of
HTTPS
orHTTPS Self Signed Cert
. - enabled boolean
- The state of the external integration. Defaults to
true
. - host
Port number - The listen port defined in QRadar.
- name string
- The Alert Channel integration name.
- test
Integration boolean - Whether to test the integration of an alert channel upon creation or modification
- host_
url str - The domain name or IP address of QRadar.
- alert_
channel_ strqradar_ id - communication_
type str - The communication protocol used. Must be one of
HTTPS
orHTTPS Self Signed Cert
. - enabled bool
- The state of the external integration. Defaults to
true
. - host_
port float - The listen port defined in QRadar.
- name str
- The Alert Channel integration name.
- test_
integration bool - Whether to test the integration of an alert channel upon creation or modification
- host
Url String - The domain name or IP address of QRadar.
- alert
Channel StringQradar Id - communication
Type String - The communication protocol used. Must be one of
HTTPS
orHTTPS Self Signed Cert
. - enabled Boolean
- The state of the external integration. Defaults to
true
. - host
Port Number - The listen port defined in QRadar.
- name String
- The Alert Channel integration name.
- test
Integration Boolean - Whether to test the integration of an alert channel upon creation or modification
Outputs
All input properties are implicitly available as output properties. Additionally, the AlertChannelQradar resource produces the following output properties:
- Created
Or stringUpdated By - Created
Or stringUpdated Time - Id string
- The provider-assigned unique ID for this managed resource.
- Intg
Guid string - Org
Level bool - Type
Name string
- Created
Or stringUpdated By - Created
Or stringUpdated Time - Id string
- The provider-assigned unique ID for this managed resource.
- Intg
Guid string - Org
Level bool - Type
Name string
- created
Or StringUpdated By - created
Or StringUpdated Time - id String
- The provider-assigned unique ID for this managed resource.
- intg
Guid String - org
Level Boolean - type
Name String
- created
Or stringUpdated By - created
Or stringUpdated Time - id string
- The provider-assigned unique ID for this managed resource.
- intg
Guid string - org
Level boolean - type
Name string
- created_
or_ strupdated_ by - created_
or_ strupdated_ time - id str
- The provider-assigned unique ID for this managed resource.
- intg_
guid str - org_
level bool - type_
name str
- created
Or StringUpdated By - created
Or StringUpdated Time - id String
- The provider-assigned unique ID for this managed resource.
- intg
Guid String - org
Level Boolean - type
Name String
Look up Existing AlertChannelQradar Resource
Get an existing AlertChannelQradar 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?: AlertChannelQradarState, opts?: CustomResourceOptions): AlertChannelQradar
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
alert_channel_qradar_id: Optional[str] = None,
communication_type: Optional[str] = None,
created_or_updated_by: Optional[str] = None,
created_or_updated_time: Optional[str] = None,
enabled: Optional[bool] = None,
host_port: Optional[float] = None,
host_url: Optional[str] = None,
intg_guid: Optional[str] = None,
name: Optional[str] = None,
org_level: Optional[bool] = None,
test_integration: Optional[bool] = None,
type_name: Optional[str] = None) -> AlertChannelQradar
func GetAlertChannelQradar(ctx *Context, name string, id IDInput, state *AlertChannelQradarState, opts ...ResourceOption) (*AlertChannelQradar, error)
public static AlertChannelQradar Get(string name, Input<string> id, AlertChannelQradarState? state, CustomResourceOptions? opts = null)
public static AlertChannelQradar get(String name, Output<String> id, AlertChannelQradarState state, CustomResourceOptions options)
resources: _: type: lacework:AlertChannelQradar 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.
- Alert
Channel stringQradar Id - Communication
Type string - The communication protocol used. Must be one of
HTTPS
orHTTPS Self Signed Cert
. - Created
Or stringUpdated By - Created
Or stringUpdated Time - Enabled bool
- The state of the external integration. Defaults to
true
. - Host
Port double - The listen port defined in QRadar.
- Host
Url string - The domain name or IP address of QRadar.
- Intg
Guid string - Name string
- The Alert Channel integration name.
- Org
Level bool - Test
Integration bool - Whether to test the integration of an alert channel upon creation or modification
- Type
Name string
- Alert
Channel stringQradar Id - Communication
Type string - The communication protocol used. Must be one of
HTTPS
orHTTPS Self Signed Cert
. - Created
Or stringUpdated By - Created
Or stringUpdated Time - Enabled bool
- The state of the external integration. Defaults to
true
. - Host
Port float64 - The listen port defined in QRadar.
- Host
Url string - The domain name or IP address of QRadar.
- Intg
Guid string - Name string
- The Alert Channel integration name.
- Org
Level bool - Test
Integration bool - Whether to test the integration of an alert channel upon creation or modification
- Type
Name string
- alert
Channel StringQradar Id - communication
Type String - The communication protocol used. Must be one of
HTTPS
orHTTPS Self Signed Cert
. - created
Or StringUpdated By - created
Or StringUpdated Time - enabled Boolean
- The state of the external integration. Defaults to
true
. - host
Port Double - The listen port defined in QRadar.
- host
Url String - The domain name or IP address of QRadar.
- intg
Guid String - name String
- The Alert Channel integration name.
- org
Level Boolean - test
Integration Boolean - Whether to test the integration of an alert channel upon creation or modification
- type
Name String
- alert
Channel stringQradar Id - communication
Type string - The communication protocol used. Must be one of
HTTPS
orHTTPS Self Signed Cert
. - created
Or stringUpdated By - created
Or stringUpdated Time - enabled boolean
- The state of the external integration. Defaults to
true
. - host
Port number - The listen port defined in QRadar.
- host
Url string - The domain name or IP address of QRadar.
- intg
Guid string - name string
- The Alert Channel integration name.
- org
Level boolean - test
Integration boolean - Whether to test the integration of an alert channel upon creation or modification
- type
Name string
- alert_
channel_ strqradar_ id - communication_
type str - The communication protocol used. Must be one of
HTTPS
orHTTPS Self Signed Cert
. - created_
or_ strupdated_ by - created_
or_ strupdated_ time - enabled bool
- The state of the external integration. Defaults to
true
. - host_
port float - The listen port defined in QRadar.
- host_
url str - The domain name or IP address of QRadar.
- intg_
guid str - name str
- The Alert Channel integration name.
- org_
level bool - test_
integration bool - Whether to test the integration of an alert channel upon creation or modification
- type_
name str
- alert
Channel StringQradar Id - communication
Type String - The communication protocol used. Must be one of
HTTPS
orHTTPS Self Signed Cert
. - created
Or StringUpdated By - created
Or StringUpdated Time - enabled Boolean
- The state of the external integration. Defaults to
true
. - host
Port Number - The listen port defined in QRadar.
- host
Url String - The domain name or IP address of QRadar.
- intg
Guid String - name String
- The Alert Channel integration name.
- org
Level Boolean - test
Integration Boolean - Whether to test the integration of an alert channel upon creation or modification
- type
Name String
Import
A Lacework IBM QRadar Alert Channel integration can be imported using a INT_GUID
, e.g.
$ pulumi import lacework:index/alertChannelQradar:AlertChannelQradar example EXAMPLE_1234BAE1E42182964D23973F44CFEA3C4AB63B99E9A1EC5
-> Note: To retrieve the INT_GUID
from existing integrations in your account, use the
Lacework CLI command lacework alert-channel list
. To install this tool follow
this documentation.
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- lacework lacework/terraform-provider-lacework
- License
- Notes
- This Pulumi package is based on the
lacework
Terraform Provider.