Skip to content

Commit

Permalink
fixed all over
Browse files Browse the repository at this point in the history
  • Loading branch information
bararchy committed Dec 26, 2023
1 parent 7d4ac53 commit 9d12ece
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sec_tester/scan.cr
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ module SecTester
getter entry_points : Atomic(Int32) = Atomic.new(0)
getter total_params : Atomic(Int32) = Atomic.new(0)
getter scan_status : String = ""
getter base_url : String = ENV["CLUSTER_URL"]? || "https://app.brightsec.com"

@scan_id : String?
@running : Bool = false
@issues : Set(SecTester::Issue) = Set(SecTester::Issue).new

def initialize(@token : String)
@base_url = ENV["CLUSTER_URL"]? || "https://app.brightsec.com"
validate_token!
@repeater = Repeater.new(api_key: @token, hostname: URI.parse(@base_url).host.to_s)
spawn do
Expand Down

0 comments on commit 9d12ece

Please sign in to comment.