Viewing docs for incident.io v0.4.0
published on Saturday, Oct 17, 2026 by incident-io
published on Saturday, Oct 17, 2026 by incident-io
Viewing docs for incident.io v0.4.0
published on Saturday, Oct 17, 2026 by incident-io
published on Saturday, Oct 17, 2026 by incident-io
Manage the IP allowlist.
When enabled, the IP allowlist restricts authenticated traffic from the dashboard, public API and mobile app.
Use this data source to read the organisation’s IP allowlist: whether it is enabled, and the IP addresses or CIDR prefixes that are allowed to reach the dashboard, public API and mobile app.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as incident from "@incident-io/pulumi";
// Read the organisation's IP allowlist.
const current = incident.getIpAllowlist({});
export const allowedAddresses = current.then(current => .map(item => (item.value)));
import pulumi
import pulumi_incident as incident
# Read the organisation's IP allowlist.
current = incident.get_ip_allowlist()
pulumi.export("allowedAddresses", [item.value for item in current.allowlists])
Example coming soon!
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Incident = Pulumi.Incident;
return await Deployment.RunAsync(() =>
{
// Read the organisation's IP allowlist.
var current = Incident.GetIpAllowlist.Invoke();
return new Dictionary<string, object?>
{
["allowedAddresses"] = .Select(item =>
{
return item.Value;
}).ToList(),
};
});
Example coming soon!
Example coming soon!
pulumi {
required_providers {
incident = {
source = "pulumi/incident"
}
}
}
data "incident_getipallowlist" "current" {
}
# Read the organisation's IP allowlist.
output "allowedAddresses" {
value = [for item in data.incident_getipallowlist.current.allowlists : item.value]
}
Using getIpAllowlist
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getIpAllowlist(opts?: InvokeOptions): Promise<GetIpAllowlistResult>
function getIpAllowlistOutput(opts?: InvokeOutputOptions): Output<GetIpAllowlistResult>def get_ip_allowlist(opts: Optional[InvokeOptions] = None) -> GetIpAllowlistResult
def get_ip_allowlist_output(opts: Optional[InvokeOutputOptions] = None) -> Output[GetIpAllowlistResult]func GetIpAllowlist(ctx *Context, opts ...InvokeOption) (*GetIpAllowlistResult, error)
func GetIpAllowlistOutput(ctx *Context, opts ...InvokeOption) GetIpAllowlistResultOutput> Note: This function is named GetIpAllowlist in the Go SDK.
public static class GetIpAllowlist
{
public static Task<GetIpAllowlistResult> InvokeAsync(InvokeOptions? opts = null)
public static Output<GetIpAllowlistResult> Invoke(InvokeOptions? opts = null)
public static Output<GetIpAllowlistResult> Invoke(InvokeOutputOptions opts)
}public static CompletableFuture<GetIpAllowlistResult> getIpAllowlist(InvokeOptions options)
public static Output<GetIpAllowlistResult> getIpAllowlist(InvokeOptions options)
public static Output<GetIpAllowlistResult> getIpAllowlist(InvokeOutputOptions options)
fn::invoke:
function: incident:index/getIpAllowlist:getIpAllowlist
arguments:
# arguments dictionarydata "incident_get_ip_allowlist" "name" {
# arguments
}getIpAllowlist Result
The following output properties are available:
- Allowlists
List<Get
Ip Allowlist Allowlist> - A list of IP addresses or CIDR prefixes to allow
- Enabled bool
- Whether this IP allowlist is enabled or not
- Updated
At string - The time this allowlist was last updated
- Version int
- The version of this IP allowlist
- Allowlists
[]Get
Ip Allowlist Allowlist - A list of IP addresses or CIDR prefixes to allow
- Enabled bool
- Whether this IP allowlist is enabled or not
- Updated
At string - The time this allowlist was last updated
- Version int
- The version of this IP allowlist
- allowlists list(object)
- A list of IP addresses or CIDR prefixes to allow
- enabled bool
- Whether this IP allowlist is enabled or not
- updated_
at string - The time this allowlist was last updated
- version number
- The version of this IP allowlist
- allowlists
List<Get
Ip Allowlist Allowlist> - A list of IP addresses or CIDR prefixes to allow
- enabled Boolean
- Whether this IP allowlist is enabled or not
- updated
At String - The time this allowlist was last updated
- version Integer
- The version of this IP allowlist
- allowlists
Get
Ip Allowlist Allowlist[] - A list of IP addresses or CIDR prefixes to allow
- enabled boolean
- Whether this IP allowlist is enabled or not
- updated
At string - The time this allowlist was last updated
- version number
- The version of this IP allowlist
- allowlists
Sequence[Get
Ip Allowlist Allowlist] - A list of IP addresses or CIDR prefixes to allow
- enabled bool
- Whether this IP allowlist is enabled or not
- updated_
at str - The time this allowlist was last updated
- version int
- The version of this IP allowlist
- allowlists List<Property Map>
- A list of IP addresses or CIDR prefixes to allow
- enabled Boolean
- Whether this IP allowlist is enabled or not
- updated
At String - The time this allowlist was last updated
- version Number
- The version of this IP allowlist
Supporting Types
GetIpAllowlistAllowlist
Package Details
- Repository
- incident incident-io/pulumi-incident
- License
- MIT
- Notes
- This Pulumi package is based on the
incidentTerraform Provider.
Viewing docs for incident.io v0.4.0
published on Saturday, Oct 17, 2026 by incident-io
published on Saturday, Oct 17, 2026 by incident-io