struct SecTester::Options

Defined in:

sec_tester/options.cr

Constant Summary

VALID_LOCATIONS = ["body", "query", "fragment", "path", "headers", "artifical-query", "artifical-fragment"]

Constructors

Instance Method Summary

Constructor Detail

def self.new(smart_scan : Bool = true, skip_static_parameters : Bool = true, project_id : String | Nil = nil, slow_ep_timeout : Int32 | Nil = nil, crawl : Bool = false, param_locations : Array(String) = ["query", "body", "fragment"], auth_object_id : String | Nil = nil, template_id : String | Nil = nil, target_timeout : Int32 | Nil = nil) #

[View source]

Instance Method Detail

def auth_object_id : String | Nil #

[View source]
def auth_object_id=(auth_object_id : String | Nil) #

[View source]
def crawl=(crawl : Bool) #

[View source]
def crawl? : Bool #

[View source]
def param_locations : Array(String) #

[View source]
def param_locations=(param_locations : Array(String)) #

[View source]
def project_id : String | Nil #

[View source]
def project_id=(project_id : String | Nil) #

[View source]
def skip_static_parameters=(skip_static_parameters : Bool) #

[View source]
def skip_static_parameters? : Bool #

[View source]
def slow_ep_timeout : Int32 | Nil #

[View source]
def slow_ep_timeout=(slow_ep_timeout : Int32 | Nil) #

[View source]
def smart_scan=(smart_scan : Bool) #

[View source]
def smart_scan? : Bool #

[View source]
def target_timeout : Int32 | Nil #

[View source]
def target_timeout=(target_timeout : Int32 | Nil) #

[View source]
def template_id : String | Nil #

[View source]
def template_id=(template_id : String | Nil) #

[View source]