1. Packages
  2. CTFd Provider
  3. API Docs
  4. getChallengesDynamic
CTFd v2.0.5 published on Thursday, Feb 13, 2025 by CTFer.io

ctfd.getChallengesDynamic

Explore with Pulumi AI

CTFd v2.0.5 published on Thursday, Feb 13, 2025 by CTFer.io

Using getChallengesDynamic

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 getChallengesDynamic(opts?: InvokeOptions): Promise<GetChallengesDynamicResult>
function getChallengesDynamicOutput(opts?: InvokeOptions): Output<GetChallengesDynamicResult>
Copy
def get_challenges_dynamic(opts: Optional[InvokeOptions] = None) -> GetChallengesDynamicResult
def get_challenges_dynamic_output(opts: Optional[InvokeOptions] = None) -> Output[GetChallengesDynamicResult]
Copy
func GetChallengesDynamic(ctx *Context, opts ...InvokeOption) (*GetChallengesDynamicResult, error)
func GetChallengesDynamicOutput(ctx *Context, opts ...InvokeOption) GetChallengesDynamicResultOutput
Copy

> Note: This function is named GetChallengesDynamic in the Go SDK.

public static class GetChallengesDynamic 
{
    public static Task<GetChallengesDynamicResult> InvokeAsync(InvokeOptions? opts = null)
    public static Output<GetChallengesDynamicResult> Invoke(InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetChallengesDynamicResult> getChallengesDynamic(InvokeOptions options)
public static Output<GetChallengesDynamicResult> getChallengesDynamic(InvokeOptions options)
Copy
fn::invoke:
  function: ctfd:index/getChallengesDynamic:getChallengesDynamic
  arguments:
    # arguments dictionary
Copy

getChallengesDynamic Result

The following output properties are available:

Challenges []GetChallengesDynamicChallenge
Id string
The ID of this resource.
challenges List<GetChallengesDynamicChallenge>
id String
The ID of this resource.
challenges GetChallengesDynamicChallenge[]
id string
The ID of this resource.
challenges List<Property Map>
id String
The ID of this resource.

Supporting Types

GetChallengesDynamicChallenge

Attribution This property is required. string
Attribution to the creator(s) of the challenge.
Category This property is required. string
Category of the challenge that CTFd groups by on the web UI.
ConnectionInfo This property is required. string
Connection Information to connect to the challenge instance, useful for pwn or web pentest.
Description This property is required. string
Description of the challenge, consider using multiline descriptions for better style.
Id This property is required. string
Identifier of the challenge.
MaxAttempts This property is required. int
Maximum amount of attempts before being unable to flag the challenge.
Name This property is required. string
Name of the challenge, displayed as it.
Next This property is required. int
Suggestion for the end-user as next challenge to work on.
Requirements This property is required. CTFerio.Ctfd.Inputs.GetChallengesDynamicChallengeRequirements
List of required challenges that needs to get flagged before this one being accessible. Useful for skill-trees-like strategy CTF.
State This property is required. string
State of the challenge, either hidden or visible.
Tags This property is required. List<string>
List of challenge tags that will be displayed to the end-user. You could use them to give some quick insights of what a challenge involves.
Topics This property is required. List<string>
List of challenge topics that are displayed to the administrators for maintenance and planification.
Value This property is required. int
Attribution This property is required. string
Attribution to the creator(s) of the challenge.
Category This property is required. string
Category of the challenge that CTFd groups by on the web UI.
ConnectionInfo This property is required. string
Connection Information to connect to the challenge instance, useful for pwn or web pentest.
Description This property is required. string
Description of the challenge, consider using multiline descriptions for better style.
Id This property is required. string
Identifier of the challenge.
MaxAttempts This property is required. int
Maximum amount of attempts before being unable to flag the challenge.
Name This property is required. string
Name of the challenge, displayed as it.
Next This property is required. int
Suggestion for the end-user as next challenge to work on.
Requirements This property is required. GetChallengesDynamicChallengeRequirements
List of required challenges that needs to get flagged before this one being accessible. Useful for skill-trees-like strategy CTF.
State This property is required. string
State of the challenge, either hidden or visible.
Tags This property is required. []string
List of challenge tags that will be displayed to the end-user. You could use them to give some quick insights of what a challenge involves.
Topics This property is required. []string
List of challenge topics that are displayed to the administrators for maintenance and planification.
Value This property is required. int
attribution This property is required. String
Attribution to the creator(s) of the challenge.
category This property is required. String
Category of the challenge that CTFd groups by on the web UI.
connectionInfo This property is required. String
Connection Information to connect to the challenge instance, useful for pwn or web pentest.
description This property is required. String
Description of the challenge, consider using multiline descriptions for better style.
id This property is required. String
Identifier of the challenge.
maxAttempts This property is required. Integer
Maximum amount of attempts before being unable to flag the challenge.
name This property is required. String
Name of the challenge, displayed as it.
next This property is required. Integer
Suggestion for the end-user as next challenge to work on.
requirements This property is required. GetChallengesDynamicChallengeRequirements
List of required challenges that needs to get flagged before this one being accessible. Useful for skill-trees-like strategy CTF.
state This property is required. String
State of the challenge, either hidden or visible.
tags This property is required. List<String>
List of challenge tags that will be displayed to the end-user. You could use them to give some quick insights of what a challenge involves.
topics This property is required. List<String>
List of challenge topics that are displayed to the administrators for maintenance and planification.
value This property is required. Integer
attribution This property is required. string
Attribution to the creator(s) of the challenge.
category This property is required. string
Category of the challenge that CTFd groups by on the web UI.
connectionInfo This property is required. string
Connection Information to connect to the challenge instance, useful for pwn or web pentest.
description This property is required. string
Description of the challenge, consider using multiline descriptions for better style.
id This property is required. string
Identifier of the challenge.
maxAttempts This property is required. number
Maximum amount of attempts before being unable to flag the challenge.
name This property is required. string
Name of the challenge, displayed as it.
next This property is required. number
Suggestion for the end-user as next challenge to work on.
requirements This property is required. GetChallengesDynamicChallengeRequirements
List of required challenges that needs to get flagged before this one being accessible. Useful for skill-trees-like strategy CTF.
state This property is required. string
State of the challenge, either hidden or visible.
tags This property is required. string[]
List of challenge tags that will be displayed to the end-user. You could use them to give some quick insights of what a challenge involves.
topics This property is required. string[]
List of challenge topics that are displayed to the administrators for maintenance and planification.
value This property is required. number
attribution This property is required. str
Attribution to the creator(s) of the challenge.
category This property is required. str
Category of the challenge that CTFd groups by on the web UI.
connection_info This property is required. str
Connection Information to connect to the challenge instance, useful for pwn or web pentest.
description This property is required. str
Description of the challenge, consider using multiline descriptions for better style.
id This property is required. str
Identifier of the challenge.
max_attempts This property is required. int
Maximum amount of attempts before being unable to flag the challenge.
name This property is required. str
Name of the challenge, displayed as it.
next This property is required. int
Suggestion for the end-user as next challenge to work on.
requirements This property is required. GetChallengesDynamicChallengeRequirements
List of required challenges that needs to get flagged before this one being accessible. Useful for skill-trees-like strategy CTF.
state This property is required. str
State of the challenge, either hidden or visible.
tags This property is required. Sequence[str]
List of challenge tags that will be displayed to the end-user. You could use them to give some quick insights of what a challenge involves.
topics This property is required. Sequence[str]
List of challenge topics that are displayed to the administrators for maintenance and planification.
value This property is required. int
attribution This property is required. String
Attribution to the creator(s) of the challenge.
category This property is required. String
Category of the challenge that CTFd groups by on the web UI.
connectionInfo This property is required. String
Connection Information to connect to the challenge instance, useful for pwn or web pentest.
description This property is required. String
Description of the challenge, consider using multiline descriptions for better style.
id This property is required. String
Identifier of the challenge.
maxAttempts This property is required. Number
Maximum amount of attempts before being unable to flag the challenge.
name This property is required. String
Name of the challenge, displayed as it.
next This property is required. Number
Suggestion for the end-user as next challenge to work on.
requirements This property is required. Property Map
List of required challenges that needs to get flagged before this one being accessible. Useful for skill-trees-like strategy CTF.
state This property is required. String
State of the challenge, either hidden or visible.
tags This property is required. List<String>
List of challenge tags that will be displayed to the end-user. You could use them to give some quick insights of what a challenge involves.
topics This property is required. List<String>
List of challenge topics that are displayed to the administrators for maintenance and planification.
value This property is required. Number

GetChallengesDynamicChallengeRequirements

Behavior This property is required. string
Behavior if not unlocked, either hidden or anonymized.
Prerequisites This property is required. List<string>
List of the challenges ID.
Behavior This property is required. string
Behavior if not unlocked, either hidden or anonymized.
Prerequisites This property is required. []string
List of the challenges ID.
behavior This property is required. String
Behavior if not unlocked, either hidden or anonymized.
prerequisites This property is required. List<String>
List of the challenges ID.
behavior This property is required. string
Behavior if not unlocked, either hidden or anonymized.
prerequisites This property is required. string[]
List of the challenges ID.
behavior This property is required. str
Behavior if not unlocked, either hidden or anonymized.
prerequisites This property is required. Sequence[str]
List of the challenges ID.
behavior This property is required. String
Behavior if not unlocked, either hidden or anonymized.
prerequisites This property is required. List<String>
List of the challenges ID.

Package Details

Repository
ctfd ctfer-io/pulumi-ctfd
License
Apache-2.0
Notes
This Pulumi package is based on the ctfd Terraform Provider.
CTFd v2.0.5 published on Thursday, Feb 13, 2025 by CTFer.io