ctfer-io/CTFd-Setup

Setup a CTFd from a versionned configuration file.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
fileConfiguration file to use for setting up CTFd. If let empty, will default the values and look for secrets in expected environment variables. For more info, refers to the documentation.
dirThe directory to parse from.
urlURL to reach the CTFd instance.yes
api_keyThe API key to use (for instance for a CI SA), used for updating a running CTFd instance.
appearance_nameThe name of your CTF, displayed as is.
appearance_descriptionThe description of your CTF, displayed as is.
theme_logoThe frontend logo. Provide a path to a locally-accessible file.
theme_small_iconThe frontend small icon. Provide a path to a locally-accessible file.
theme_nameThe frontend theme name.core
theme_colorThe frontend theme color.
theme_headerThe frontend header. Provide a path to a locally-accessible file.
theme_footerThe frontend footer. Provide a path to a locally-accessible file.
theme_settingsThe frontend settings (JSON). Provide a path to a locally-accessible file.
accounts_domain_whitelistThe domain whitelist (a list separated by colons) to allow users to have email addresses from.
accounts_domain_blacklistThe domain blacklist (a list separated by colons) to block users to have email addresses from.
accounts_verify_emailsWhether to verify emails once a user register or not.false
accounts_team_creationWhether to allow team creation by players or not.
accounts_team_sizeMaximum size (number of players) in a team.
accounts_password_min_lengthMinimal length of password.
accounts_num_teamsThe total number of teams allowed.
accounts_num_usersThe total number of users allowed.
accounts_team_disbandingWhether to allow teams to be disbanded or not. Could be inactive_only or disabled.
accounts_incorrect_submissions_per_minuteMaximum number of invalid submissions per minute (per user/team). We suggest you use it as part of an anti-brute-force strategy (rate limiting).
accounts_name_changesWhether a user can change its name or not.
challenges_view_self_submissionsWhether a player can see itw own previous submissions.
challenges_max_attempts_behaviorThe behavior to adopt in case a player reached the submission rate limiting.lockout
challenges_max_attempts_timeoutThe duration of the submission rate limit for further submissions.
challenges_hints_free_public_accessControl whether users must be logged in to see free hints.
challenges_challenge_ratingsWho can see and submit challenge ratings.public
pages_robots_txtDefine the /robots.txt file content, for web crawlers indexing.
major_league_cyber_client_idThe MajorLeagueCyber OAuth ClientID.
major_league_cyber_client_secretThe MajorLeagueCyber OAuth Client Secret.
settings_challenge_visibilityThe visibility for the challenges. Please refer to CTFd documentation (https://docs.ctfd.io/docs/settings/visibility-settings/).public
settings_account_visibilityThe visibility for the accounts. Please refer to CTFd documentation (https://docs.ctfd.io/docs/settings/visibility-settings/).public
settings_score_visibilityThe visibility for the scoreboard. Please refer to CTFd documentation (https://docs.ctfd.io/docs/settings/visibility-settings/).public
settings_registration_visibilityThe visibility for the registration. Please refer to CTFd documentation (https://docs.ctfd.io/docs/settings/visibility-settings/).public
settings_pausedWhether the CTFd is paused or not.
security_html_sanitizationWhether to turn on HTML sanitization or not.
security_registration_codeThe registration code (secret) to join the CTF.
email_registration_subjectThe email registration subject of the mail.
email_registration_bodyThe email registration body of the mail.
email_confirmation_subjectThe email confirmation subject of the mail.
email_confirmation_bodyThe email confirmation body of the mail.
email_new_account_subjectThe email new_account subject of the mail.
email_new_account_bodyThe email new_account body of the mail.
email_password_reset_subjectThe email password_reset subject of the mail.
email_password_reset_bodyThe email password_reset body of the mail.
email_password_reset_confirmation_subjectThe email password_reset_confirmation subject of the mail.
email_password_reset_confirmation_bodyThe email password_reset_confirmation body of the mail.
email_fromThe 'From:' to sent to mail with.
email_serverThe mail server to use.
email_portThe mail server port to reach.
email_usernameThe username to log in to the mail server.
email_passwordThe password to log in to the mail server.
email_tls_sslWhether to turn on TLS/SSL or not.
email_starttlsWhether to turn on STARTTLS or not.
time_startThe start timestamp at which the CTFd will open.
time_endThe end timestamp at which the CTFd will close.
time_freezeThe freeze timestamp at which the CTFd will remain open but won't accept any further submissions.
time_view_afterWhether allows users to view challenges after end or not.
social_sharesWhether to enable users share they solved a challenge or not.
social_templateA template for social shares. Provide a path to a locally-accessible file.
legal_tos_urlThe Terms of Services URL.
legal_tos_contentThe Terms of Services content
legal_privacy_policy_urlThe Privacy Policy URL.
legal_privacy_policy_contentThe Privacy Policy content.
modeThe mode of your CTFd, either users or teams.users
admin_nameThe administrator name.
admin_emailThe administrator email address.
admin_passwordThe administrator password.

no outputs