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

ctfd.getTeams

Explore with Pulumi AI

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

Using getTeams

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 getTeams(opts?: InvokeOptions): Promise<GetTeamsResult>
function getTeamsOutput(opts?: InvokeOptions): Output<GetTeamsResult>
Copy
def get_teams(opts: Optional[InvokeOptions] = None) -> GetTeamsResult
def get_teams_output(opts: Optional[InvokeOptions] = None) -> Output[GetTeamsResult]
Copy
func GetTeams(ctx *Context, opts ...InvokeOption) (*GetTeamsResult, error)
func GetTeamsOutput(ctx *Context, opts ...InvokeOption) GetTeamsResultOutput
Copy

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

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

getTeams Result

The following output properties are available:

Affiliation string
Affiliation to a company or agency.
Banned bool
Is true if the team is banned from the CTF.
Captain string
Member who is captain of the team. Must be part of the members too. Note it could cause a fatal error in case of resource import with an inconsistent CTFd configuration i.e. if a team has no captain yet (should not be possible).
Country string
Country the team represent or is hail from.
Email string
Email of the team.
Hidden bool
Is true if the team is hidden to the participants.
Id string
Identifier of the user.
Members List<string>
List of members (User), defined by their IDs.
Name string
Name of the team.
Password string
Password of the team. Notice that during a CTF you may not want to update those to avoid defaulting team accesses.
Website string
Website, blog, or anything similar (displayed to other participants).
Affiliation string
Affiliation to a company or agency.
Banned bool
Is true if the team is banned from the CTF.
Captain string
Member who is captain of the team. Must be part of the members too. Note it could cause a fatal error in case of resource import with an inconsistent CTFd configuration i.e. if a team has no captain yet (should not be possible).
Country string
Country the team represent or is hail from.
Email string
Email of the team.
Hidden bool
Is true if the team is hidden to the participants.
Id string
Identifier of the user.
Members []string
List of members (User), defined by their IDs.
Name string
Name of the team.
Password string
Password of the team. Notice that during a CTF you may not want to update those to avoid defaulting team accesses.
Website string
Website, blog, or anything similar (displayed to other participants).
affiliation String
Affiliation to a company or agency.
banned Boolean
Is true if the team is banned from the CTF.
captain String
Member who is captain of the team. Must be part of the members too. Note it could cause a fatal error in case of resource import with an inconsistent CTFd configuration i.e. if a team has no captain yet (should not be possible).
country String
Country the team represent or is hail from.
email String
Email of the team.
hidden Boolean
Is true if the team is hidden to the participants.
id String
Identifier of the user.
members List<String>
List of members (User), defined by their IDs.
name String
Name of the team.
password String
Password of the team. Notice that during a CTF you may not want to update those to avoid defaulting team accesses.
website String
Website, blog, or anything similar (displayed to other participants).
affiliation string
Affiliation to a company or agency.
banned boolean
Is true if the team is banned from the CTF.
captain string
Member who is captain of the team. Must be part of the members too. Note it could cause a fatal error in case of resource import with an inconsistent CTFd configuration i.e. if a team has no captain yet (should not be possible).
country string
Country the team represent or is hail from.
email string
Email of the team.
hidden boolean
Is true if the team is hidden to the participants.
id string
Identifier of the user.
members string[]
List of members (User), defined by their IDs.
name string
Name of the team.
password string
Password of the team. Notice that during a CTF you may not want to update those to avoid defaulting team accesses.
website string
Website, blog, or anything similar (displayed to other participants).
affiliation str
Affiliation to a company or agency.
banned bool
Is true if the team is banned from the CTF.
captain str
Member who is captain of the team. Must be part of the members too. Note it could cause a fatal error in case of resource import with an inconsistent CTFd configuration i.e. if a team has no captain yet (should not be possible).
country str
Country the team represent or is hail from.
email str
Email of the team.
hidden bool
Is true if the team is hidden to the participants.
id str
Identifier of the user.
members Sequence[str]
List of members (User), defined by their IDs.
name str
Name of the team.
password str
Password of the team. Notice that during a CTF you may not want to update those to avoid defaulting team accesses.
website str
Website, blog, or anything similar (displayed to other participants).
affiliation String
Affiliation to a company or agency.
banned Boolean
Is true if the team is banned from the CTF.
captain String
Member who is captain of the team. Must be part of the members too. Note it could cause a fatal error in case of resource import with an inconsistent CTFd configuration i.e. if a team has no captain yet (should not be possible).
country String
Country the team represent or is hail from.
email String
Email of the team.
hidden Boolean
Is true if the team is hidden to the participants.
id String
Identifier of the user.
members List<String>
List of members (User), defined by their IDs.
name String
Name of the team.
password String
Password of the team. Notice that during a CTF you may not want to update those to avoid defaulting team accesses.
website String
Website, blog, or anything similar (displayed to other participants).

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