ThreatIntelligenceIndicator

class ThreatIntelligenceIndicator : KotlinCustomResource

Manages a Sentinel Threat Intelligence Indicator.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.operationalinsights.AnalyticsWorkspace;
import com.pulumi.azure.operationalinsights.AnalyticsWorkspaceArgs;
import com.pulumi.azure.sentinel.LogAnalyticsWorkspaceOnboarding;
import com.pulumi.azure.sentinel.LogAnalyticsWorkspaceOnboardingArgs;
import com.pulumi.azure.sentinel.ThreatIntelligenceIndicator;
import com.pulumi.azure.sentinel.ThreatIntelligenceIndicatorArgs;
import com.pulumi.resources.CustomResourceOptions;
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 exampleResourceGroup = new ResourceGroup("exampleResourceGroup", ResourceGroupArgs.builder()
.location("east us")
.build());
var exampleAnalyticsWorkspace = new AnalyticsWorkspace("exampleAnalyticsWorkspace", AnalyticsWorkspaceArgs.builder()
.location(exampleResourceGroup.location())
.resourceGroupName(exampleResourceGroup.name())
.sku("PerGB2018")
.retentionInDays(30)
.build());
var exampleLogAnalyticsWorkspaceOnboarding = new LogAnalyticsWorkspaceOnboarding("exampleLogAnalyticsWorkspaceOnboarding", LogAnalyticsWorkspaceOnboardingArgs.builder()
.resourceGroupName(exampleResourceGroup.name())
.workspaceName(exampleAnalyticsWorkspace.name())
.build());
var exampleThreatIntelligenceIndicator = new ThreatIntelligenceIndicator("exampleThreatIntelligenceIndicator", ThreatIntelligenceIndicatorArgs.builder()
.workspaceId(exampleAnalyticsWorkspace.id())
.patternType("domain-name")
.pattern("http://example.com")
.source("Microsoft Sentinel")
.validateFromUtc("2022-12-14T16:00:00Z")
.displayName("example-indicator")
.build(), CustomResourceOptions.builder()
.dependsOn(azurerm_sentinel_log_analytics_workspace_onboarding.test())
.build());
}
}

Import

Sentinel Threat Intelligence Indicators can be imported using the resource id, e.g.

$ pulumi import azure:sentinel/threatIntelligenceIndicator:ThreatIntelligenceIndicator example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourcegroup1/providers/Microsoft.OperationalInsights/workspaces/workspace1/providers/Microsoft.SecurityInsights/threatIntelligence/main/indicators/indicator1

Properties

Link copied to clipboard
val confidence: Output<Int>?

Confidence levels of the Threat Intelligence Indicator.

Link copied to clipboard
val createdBy: Output<String>?

The creator of the Threat Intelligence Indicator.

Link copied to clipboard
val createdOn: Output<String>

The date of this Threat Intelligence Indicator created.

Link copied to clipboard
val defanged: Output<Boolean>

Whether the Threat Intelligence entity is defanged?

Link copied to clipboard
val description: Output<String>?

The description of the Threat Intelligence Indicator.

Link copied to clipboard
val displayName: Output<String>

The display name of the Threat Intelligence Indicator.

Link copied to clipboard
val extension: Output<String>

The extension config of the Threat Intelligence Indicator in JSON format.

Link copied to clipboard
val externalId: Output<String>

The external ID of the Threat Intelligence Indicator.

Link copied to clipboard

the External last updated time in UTC.

Link copied to clipboard

One or more external_reference blocks as defined below.

Link copied to clipboard

One or more granular_marking blocks as defined below.

Link copied to clipboard
val guid: Output<String>

The guid of this Sentinel Threat Intelligence Indicator.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val indicatorTypes: Output<List<String>>
Link copied to clipboard

One or more kill_chain_phase blocks as defined below.

Link copied to clipboard
val language: Output<String>?

The language of the Threat Intelligence Indicator.

Link copied to clipboard

The last updated time of the Threat Intelligence Indicator in UTC.

Link copied to clipboard

Specifies a list of Threat Intelligence marking references.

Link copied to clipboard

A parsed_pattern block as defined below.

Link copied to clipboard
val pattern: Output<String>

The pattern used by the Threat Intelligence Indicator. When pattern_type set to file, pattern must be specified with <HashName>:<Value> format, such as MD5:78ecc5c05cd8b79af480df2f8fba0b9d.

Link copied to clipboard
val patternType: Output<String>

The type of pattern used by the Threat Intelligence Indicator. Possible values are domain-name, file, ipv4-addr, ipv6-addr and url.

Link copied to clipboard
val patternVersion: Output<String>?

The version of a Threat Intelligence entity.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val revoked: Output<Boolean>?

Whether the Threat Intelligence entity revoked.

Link copied to clipboard
val source: Output<String>

Source of the Threat Intelligence Indicator.

Link copied to clipboard
val tags: Output<List<String>>?

Specifies a list of tags of the Threat Intelligence Indicator.

Link copied to clipboard
val threatTypes: Output<List<String>>?

Specifies a list of threat types of this Threat Intelligence Indicator.

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard
val validateFromUtc: Output<String>

The start of validate date in RFC3339.

Link copied to clipboard
val validateUntilUtc: Output<String>?

The end of validate date of the Threat Intelligence Indicator in RFC3339 format.

Link copied to clipboard
val workspaceId: Output<String>

The ID of the Log Analytics Workspace. Changing this forces a new Sentinel Threat Intelligence Indicator to be created.