1. Packages
  2. CTFd Provider
  3. API Docs
  4. getChallenges
CTFd v1.0.0 published on Monday, Jun 3, 2024 by CTFer.io

ctfd.getChallenges

Explore with Pulumi AI

ctfd logo
CTFd v1.0.0 published on Monday, Jun 3, 2024 by CTFer.io

    Using getChallenges

    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 getChallenges(opts?: InvokeOptions): Promise<GetChallengesResult>
    function getChallengesOutput(opts?: InvokeOptions): Output<GetChallengesResult>
    def get_challenges(opts: Optional[InvokeOptions] = None) -> GetChallengesResult
    def get_challenges_output(opts: Optional[InvokeOptions] = None) -> Output[GetChallengesResult]
    func GetChallenges(ctx *Context, opts ...InvokeOption) (*GetChallengesResult, error)
    func GetChallengesOutput(ctx *Context, opts ...InvokeOption) GetChallengesResultOutput

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

    public static class GetChallenges 
    {
        public static Task<GetChallengesResult> InvokeAsync(InvokeOptions? opts = null)
        public static Output<GetChallengesResult> Invoke(InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetChallengesResult> getChallenges(InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: ctfd:index/getChallenges:getChallenges
      arguments:
        # arguments dictionary

    getChallenges Result

    The following output properties are available:

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

    Supporting Types

    GetChallengesChallenge

    Category string
    Category of the challenge that CTFd groups by on the web UI.
    ConnectionInfo string
    Connection Information to connect to the challenge instance, useful for pwn or web pentest.
    Decay int
    Description string
    Description of the challenge, consider using multiline descriptions for better style.
    Function string
    Decay function to define how the challenge value evolve through solves, either linear or logarithmic.
    Id string
    Identifier of the challenge.
    MaxAttempts int
    Maximum amount of attempts before being unable to flag the challenge.
    Minimum int
    Name string
    Name of the challenge, displayed as it.
    Next int
    Suggestion for the end-user as next challenge to work on.
    Requirements CTFerio.Ctfd.Inputs.GetChallengesChallengeRequirements
    List of required challenges that needs to get flagged before this one being accessible. Useful for skill-trees-like strategy CTF.
    State string
    State of the challenge, either hidden or visible.
    Tags 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 List<string>
    List of challenge topics that are displayed to the administrators for maintenance and planification.
    Type string
    Type of the challenge defining its layout, either standard or dynamic.
    Value int
    Category string
    Category of the challenge that CTFd groups by on the web UI.
    ConnectionInfo string
    Connection Information to connect to the challenge instance, useful for pwn or web pentest.
    Decay int
    Description string
    Description of the challenge, consider using multiline descriptions for better style.
    Function string
    Decay function to define how the challenge value evolve through solves, either linear or logarithmic.
    Id string
    Identifier of the challenge.
    MaxAttempts int
    Maximum amount of attempts before being unable to flag the challenge.
    Minimum int
    Name string
    Name of the challenge, displayed as it.
    Next int
    Suggestion for the end-user as next challenge to work on.
    Requirements GetChallengesChallengeRequirements
    List of required challenges that needs to get flagged before this one being accessible. Useful for skill-trees-like strategy CTF.
    State string
    State of the challenge, either hidden or visible.
    Tags []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 []string
    List of challenge topics that are displayed to the administrators for maintenance and planification.
    Type string
    Type of the challenge defining its layout, either standard or dynamic.
    Value int
    category String
    Category of the challenge that CTFd groups by on the web UI.
    connectionInfo String
    Connection Information to connect to the challenge instance, useful for pwn or web pentest.
    decay Integer
    description String
    Description of the challenge, consider using multiline descriptions for better style.
    function String
    Decay function to define how the challenge value evolve through solves, either linear or logarithmic.
    id String
    Identifier of the challenge.
    maxAttempts Integer
    Maximum amount of attempts before being unable to flag the challenge.
    minimum Integer
    name String
    Name of the challenge, displayed as it.
    next Integer
    Suggestion for the end-user as next challenge to work on.
    requirements GetChallengesChallengeRequirements
    List of required challenges that needs to get flagged before this one being accessible. Useful for skill-trees-like strategy CTF.
    state String
    State of the challenge, either hidden or visible.
    tags 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 List<String>
    List of challenge topics that are displayed to the administrators for maintenance and planification.
    type String
    Type of the challenge defining its layout, either standard or dynamic.
    value Integer
    category string
    Category of the challenge that CTFd groups by on the web UI.
    connectionInfo string
    Connection Information to connect to the challenge instance, useful for pwn or web pentest.
    decay number
    description string
    Description of the challenge, consider using multiline descriptions for better style.
    function string
    Decay function to define how the challenge value evolve through solves, either linear or logarithmic.
    id string
    Identifier of the challenge.
    maxAttempts number
    Maximum amount of attempts before being unable to flag the challenge.
    minimum number
    name string
    Name of the challenge, displayed as it.
    next number
    Suggestion for the end-user as next challenge to work on.
    requirements GetChallengesChallengeRequirements
    List of required challenges that needs to get flagged before this one being accessible. Useful for skill-trees-like strategy CTF.
    state string
    State of the challenge, either hidden or visible.
    tags 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 string[]
    List of challenge topics that are displayed to the administrators for maintenance and planification.
    type string
    Type of the challenge defining its layout, either standard or dynamic.
    value number
    category str
    Category of the challenge that CTFd groups by on the web UI.
    connection_info str
    Connection Information to connect to the challenge instance, useful for pwn or web pentest.
    decay int
    description str
    Description of the challenge, consider using multiline descriptions for better style.
    function str
    Decay function to define how the challenge value evolve through solves, either linear or logarithmic.
    id str
    Identifier of the challenge.
    max_attempts int
    Maximum amount of attempts before being unable to flag the challenge.
    minimum int
    name str
    Name of the challenge, displayed as it.
    next int
    Suggestion for the end-user as next challenge to work on.
    requirements GetChallengesChallengeRequirements
    List of required challenges that needs to get flagged before this one being accessible. Useful for skill-trees-like strategy CTF.
    state str
    State of the challenge, either hidden or visible.
    tags 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 Sequence[str]
    List of challenge topics that are displayed to the administrators for maintenance and planification.
    type str
    Type of the challenge defining its layout, either standard or dynamic.
    value int
    category String
    Category of the challenge that CTFd groups by on the web UI.
    connectionInfo String
    Connection Information to connect to the challenge instance, useful for pwn or web pentest.
    decay Number
    description String
    Description of the challenge, consider using multiline descriptions for better style.
    function String
    Decay function to define how the challenge value evolve through solves, either linear or logarithmic.
    id String
    Identifier of the challenge.
    maxAttempts Number
    Maximum amount of attempts before being unable to flag the challenge.
    minimum Number
    name String
    Name of the challenge, displayed as it.
    next Number
    Suggestion for the end-user as next challenge to work on.
    requirements Property Map
    List of required challenges that needs to get flagged before this one being accessible. Useful for skill-trees-like strategy CTF.
    state String
    State of the challenge, either hidden or visible.
    tags 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 List<String>
    List of challenge topics that are displayed to the administrators for maintenance and planification.
    type String
    Type of the challenge defining its layout, either standard or dynamic.
    value Number

    GetChallengesChallengeRequirements

    Behavior string
    Behavior if not unlocked, either hidden or anonymized.
    Prerequisites List<string>
    List of the challenges ID.
    Behavior string
    Behavior if not unlocked, either hidden or anonymized.
    Prerequisites []string
    List of the challenges ID.
    behavior String
    Behavior if not unlocked, either hidden or anonymized.
    prerequisites List<String>
    List of the challenges ID.
    behavior string
    Behavior if not unlocked, either hidden or anonymized.
    prerequisites string[]
    List of the challenges ID.
    behavior str
    Behavior if not unlocked, either hidden or anonymized.
    prerequisites Sequence[str]
    List of the challenges ID.
    behavior String
    Behavior if not unlocked, either hidden or anonymized.
    prerequisites 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 logo
    CTFd v1.0.0 published on Monday, Jun 3, 2024 by CTFer.io