CTFd v1.0.0 published on Monday, Jun 3, 2024 by CTFer.io
ctfd.getChallenges
Explore with Pulumi AI
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
List<CTFerio.
Ctfd. Outputs. Get Challenges Challenge> - Id string
- The ID of this resource.
- Challenges
[]Get
Challenges Challenge - Id string
- The ID of this resource.
- challenges
List<Get
Challenges Challenge> - id String
- The ID of this resource.
- challenges
Get
Challenges Challenge[] - id string
- The ID of this resource.
- challenges
Sequence[Get
Challenges Challenge] - id str
- 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.
- Connection
Info 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.
- Max
Attempts 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. Get Challenges Challenge Requirements - 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.
- 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.
- Connection
Info 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.
- Max
Attempts 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
Get
Challenges Challenge Requirements - 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.
- []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.
- connection
Info 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.
- max
Attempts 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
Get
Challenges Challenge Requirements - 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.
- 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.
- connection
Info 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.
- max
Attempts 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
Get
Challenges Challenge Requirements - 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.
- 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
Get
Challenges Challenge Requirements - 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.
- 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.
- connection
Info 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.
- max
Attempts 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.
- 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.