authentik.PolicyReputation
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as authentik from "@pulumi/authentik";
const name = new authentik.PolicyReputation("name", {});
import pulumi
import pulumi_authentik as authentik
name = authentik.PolicyReputation("name")
package main
import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/authentik/v2025/authentik"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := authentik.NewPolicyReputation(ctx, "name", nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Authentik = Pulumi.Authentik;
return await Deployment.RunAsync(() => 
{
    var name = new Authentik.PolicyReputation("name");
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.authentik.PolicyReputation;
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 name = new PolicyReputation("name");
    }
}
resources:
  name:
    type: authentik:PolicyReputation
Create PolicyReputation Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PolicyReputation(name: string, args?: PolicyReputationArgs, opts?: CustomResourceOptions);@overload
def PolicyReputation(resource_name: str,
                     args: Optional[PolicyReputationArgs] = None,
                     opts: Optional[ResourceOptions] = None)
@overload
def PolicyReputation(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     check_ip: Optional[bool] = None,
                     check_username: Optional[bool] = None,
                     execution_logging: Optional[bool] = None,
                     name: Optional[str] = None,
                     policy_reputation_id: Optional[str] = None,
                     threshold: Optional[float] = None)func NewPolicyReputation(ctx *Context, name string, args *PolicyReputationArgs, opts ...ResourceOption) (*PolicyReputation, error)public PolicyReputation(string name, PolicyReputationArgs? args = null, CustomResourceOptions? opts = null)
public PolicyReputation(String name, PolicyReputationArgs args)
public PolicyReputation(String name, PolicyReputationArgs args, CustomResourceOptions options)
type: authentik:PolicyReputation
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 PolicyReputationArgs
- 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 PolicyReputationArgs
- 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 PolicyReputationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PolicyReputationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PolicyReputationArgs
- 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 policyReputationResource = new Authentik.PolicyReputation("policyReputationResource", new()
{
    CheckIp = false,
    CheckUsername = false,
    ExecutionLogging = false,
    Name = "string",
    PolicyReputationId = "string",
    Threshold = 0,
});
example, err := authentik.NewPolicyReputation(ctx, "policyReputationResource", &authentik.PolicyReputationArgs{
	CheckIp:            pulumi.Bool(false),
	CheckUsername:      pulumi.Bool(false),
	ExecutionLogging:   pulumi.Bool(false),
	Name:               pulumi.String("string"),
	PolicyReputationId: pulumi.String("string"),
	Threshold:          pulumi.Float64(0),
})
var policyReputationResource = new PolicyReputation("policyReputationResource", PolicyReputationArgs.builder()
    .checkIp(false)
    .checkUsername(false)
    .executionLogging(false)
    .name("string")
    .policyReputationId("string")
    .threshold(0)
    .build());
policy_reputation_resource = authentik.PolicyReputation("policyReputationResource",
    check_ip=False,
    check_username=False,
    execution_logging=False,
    name="string",
    policy_reputation_id="string",
    threshold=0)
const policyReputationResource = new authentik.PolicyReputation("policyReputationResource", {
    checkIp: false,
    checkUsername: false,
    executionLogging: false,
    name: "string",
    policyReputationId: "string",
    threshold: 0,
});
type: authentik:PolicyReputation
properties:
    checkIp: false
    checkUsername: false
    executionLogging: false
    name: string
    policyReputationId: string
    threshold: 0
PolicyReputation 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 PolicyReputation resource accepts the following input properties:
- CheckIp bool
- Defaults to true.
- CheckUsername bool
- Defaults to true.
- ExecutionLogging bool
- Defaults to false.
- Name string
- PolicyReputation stringId 
- The ID of this resource.
- Threshold double
- Defaults to 10.
- CheckIp bool
- Defaults to true.
- CheckUsername bool
- Defaults to true.
- ExecutionLogging bool
- Defaults to false.
- Name string
- PolicyReputation stringId 
- The ID of this resource.
- Threshold float64
- Defaults to 10.
- checkIp Boolean
- Defaults to true.
- checkUsername Boolean
- Defaults to true.
- executionLogging Boolean
- Defaults to false.
- name String
- policyReputation StringId 
- The ID of this resource.
- threshold Double
- Defaults to 10.
- checkIp boolean
- Defaults to true.
- checkUsername boolean
- Defaults to true.
- executionLogging boolean
- Defaults to false.
- name string
- policyReputation stringId 
- The ID of this resource.
- threshold number
- Defaults to 10.
- check_ip bool
- Defaults to true.
- check_username bool
- Defaults to true.
- execution_logging bool
- Defaults to false.
- name str
- policy_reputation_ strid 
- The ID of this resource.
- threshold float
- Defaults to 10.
- checkIp Boolean
- Defaults to true.
- checkUsername Boolean
- Defaults to true.
- executionLogging Boolean
- Defaults to false.
- name String
- policyReputation StringId 
- The ID of this resource.
- threshold Number
- Defaults to 10.
Outputs
All input properties are implicitly available as output properties. Additionally, the PolicyReputation 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 PolicyReputation Resource
Get an existing PolicyReputation 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?: PolicyReputationState, opts?: CustomResourceOptions): PolicyReputation@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        check_ip: Optional[bool] = None,
        check_username: Optional[bool] = None,
        execution_logging: Optional[bool] = None,
        name: Optional[str] = None,
        policy_reputation_id: Optional[str] = None,
        threshold: Optional[float] = None) -> PolicyReputationfunc GetPolicyReputation(ctx *Context, name string, id IDInput, state *PolicyReputationState, opts ...ResourceOption) (*PolicyReputation, error)public static PolicyReputation Get(string name, Input<string> id, PolicyReputationState? state, CustomResourceOptions? opts = null)public static PolicyReputation get(String name, Output<String> id, PolicyReputationState state, CustomResourceOptions options)resources:  _:    type: authentik:PolicyReputation    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.
- CheckIp bool
- Defaults to true.
- CheckUsername bool
- Defaults to true.
- ExecutionLogging bool
- Defaults to false.
- Name string
- PolicyReputation stringId 
- The ID of this resource.
- Threshold double
- Defaults to 10.
- CheckIp bool
- Defaults to true.
- CheckUsername bool
- Defaults to true.
- ExecutionLogging bool
- Defaults to false.
- Name string
- PolicyReputation stringId 
- The ID of this resource.
- Threshold float64
- Defaults to 10.
- checkIp Boolean
- Defaults to true.
- checkUsername Boolean
- Defaults to true.
- executionLogging Boolean
- Defaults to false.
- name String
- policyReputation StringId 
- The ID of this resource.
- threshold Double
- Defaults to 10.
- checkIp boolean
- Defaults to true.
- checkUsername boolean
- Defaults to true.
- executionLogging boolean
- Defaults to false.
- name string
- policyReputation stringId 
- The ID of this resource.
- threshold number
- Defaults to 10.
- check_ip bool
- Defaults to true.
- check_username bool
- Defaults to true.
- execution_logging bool
- Defaults to false.
- name str
- policy_reputation_ strid 
- The ID of this resource.
- threshold float
- Defaults to 10.
- checkIp Boolean
- Defaults to true.
- checkUsername Boolean
- Defaults to true.
- executionLogging Boolean
- Defaults to false.
- name String
- policyReputation StringId 
- The ID of this resource.
- threshold Number
- Defaults to 10.
Package Details
- Repository
- authentik goauthentik/terraform-provider-authentik
- License
- Notes
- This Pulumi package is based on the authentikTerraform Provider.