diff --git a/docs/resources/challenge.md b/docs/resources/challenge.md index 25a4928..3937433 100644 --- a/docs/resources/challenge.md +++ b/docs/resources/challenge.md @@ -17,45 +17,39 @@ This provider builds a cleaner API on top of CTFd's one to improve its adoption ```terraform resource "ctfd_challenge" "http" { - name = "HTTP Authentication" - category = "network" - description = <<-EOT - Oh no ! I did not see my connection was no encrypted ! - I hope no one spied me... - - Authors: - - NicolasFgrx - EOT + name = "My Challenge" + category = "misc" + description = "..." value = 500 initial = 500 - decay = 17 + decay = 100 minimum = 50 state = "visible" function = "logarithmic" flags = [{ - content = "24HIUT{Http_1s_n0t_s3cuR3}" + content = "CTF{some_flag}" }] topics = [ - "Network" + "Misc" ] tags = [ - "network", - "http" + "misc", + "basic" ] hints = [{ - content = "HTTP exchanges are not ciphered." + content = "Some super-helpful hint" cost = 50 }, { - content = "Content is POSTed in HTTP :)" + content = "Even more helpful hint !" cost = 50 }] files = [{ - name = "capture.pcapng" - contentb64 = filebase64("${path.module}/capture.pcapng") + name = "image.png" + contentb64 = filebase64(".../image.png") }] } ``` diff --git a/docs/resources/user.md b/docs/resources/user.md index fd786fa..f1a1506 100644 --- a/docs/resources/user.md +++ b/docs/resources/user.md @@ -14,11 +14,11 @@ CTFd defines a User as someone who will either play or administrate the Capture ```terraform resource "ctfd_user" "ctfer" { - username = "CTFer" + name = "CTFer" email = "ctfer-io@protonmail.com" password = "password" - # Define as an administration account + # Make the user administrator of the CTFd instance type = "admin" verified = true hidden = true