pwn 0.4.503 → 0.4.507
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop_todo.yml +20 -9
- data/Gemfile +5 -5
- data/README.md +2 -2
- data/Vagrantfile +1 -1
- data/bin/pwn_arachni_rest +2 -2
- data/bin/pwn_sast +0 -1
- data/lib/pwn/plugins/owasp_zap.rb +3 -3
- data/lib/pwn/reports/fuzz.rb +5 -1
- data/lib/pwn/reports/sast.rb +12 -8
- data/lib/pwn/sast/amqp_connect_as_guest.rb +5 -3
- data/lib/pwn/sast/apache_file_system_util_api.rb +9 -3
- data/lib/pwn/sast/aws.rb +5 -3
- data/lib/pwn/sast/banned_function_calls_c.rb +9 -3
- data/lib/pwn/sast/base64.rb +6 -7
- data/lib/pwn/sast/beef_hook.rb +5 -3
- data/lib/pwn/sast/cmd_execution_java.rb +5 -3
- data/lib/pwn/sast/cmd_execution_python.rb +5 -3
- data/lib/pwn/sast/cmd_execution_ruby.rb +5 -3
- data/lib/pwn/sast/cmd_execution_scala.rb +5 -3
- data/lib/pwn/sast/csrf.rb +7 -3
- data/lib/pwn/sast/deserial_java.rb +7 -3
- data/lib/pwn/sast/emoticon.rb +5 -3
- data/lib/pwn/sast/eval.rb +5 -3
- data/lib/pwn/sast/factory.rb +7 -3
- data/lib/pwn/sast/http_authorization_header.rb +5 -3
- data/lib/pwn/sast/inner_html.rb +5 -3
- data/lib/pwn/sast/keystore.rb +5 -3
- data/lib/pwn/sast/location_hash.rb +5 -3
- data/lib/pwn/sast/log4j.rb +5 -3
- data/lib/pwn/sast/logger.rb +5 -3
- data/lib/pwn/sast/outer_html.rb +5 -3
- data/lib/pwn/sast/password.rb +5 -3
- data/lib/pwn/sast/pom_version.rb +5 -3
- data/lib/pwn/sast/port.rb +5 -3
- data/lib/pwn/sast/private_key.rb +5 -3
- data/lib/pwn/sast/redirect.rb +5 -3
- data/lib/pwn/sast/redos.rb +5 -3
- data/lib/pwn/sast/shell.rb +5 -3
- data/lib/pwn/sast/signature.rb +5 -3
- data/lib/pwn/sast/sql.rb +5 -3
- data/lib/pwn/sast/ssl.rb +5 -3
- data/lib/pwn/sast/sudo.rb +5 -3
- data/lib/pwn/sast/task_tag.rb +5 -3
- data/lib/pwn/sast/throw_errors.rb +5 -3
- data/lib/pwn/sast/token.rb +5 -3
- data/lib/pwn/sast/version.rb +5 -3
- data/lib/pwn/sast/window_location_hash.rb +5 -3
- data/lib/pwn/sast.rb +0 -1
- data/lib/pwn/version.rb +1 -1
- data/spec/lib/pwn/sast/amqp_connect_as_guest_spec.rb +3 -3
- data/spec/lib/pwn/sast/apache_file_system_util_api_spec.rb +3 -3
- data/spec/lib/pwn/sast/aws_spec.rb +3 -3
- data/spec/lib/pwn/sast/banned_function_calls_c_spec.rb +3 -3
- data/spec/lib/pwn/sast/base64_spec.rb +3 -3
- data/spec/lib/pwn/sast/beef_hook_spec.rb +3 -3
- data/spec/lib/pwn/sast/cmd_execution_java_spec.rb +3 -3
- data/spec/lib/pwn/sast/cmd_execution_python_spec.rb +3 -3
- data/spec/lib/pwn/sast/cmd_execution_ruby_spec.rb +3 -3
- data/spec/lib/pwn/sast/cmd_execution_scala_spec.rb +3 -3
- data/spec/lib/pwn/sast/csrf_spec.rb +3 -3
- data/spec/lib/pwn/sast/deserial_java_spec.rb +3 -3
- data/spec/lib/pwn/sast/emoticon_spec.rb +3 -3
- data/spec/lib/pwn/sast/eval_spec.rb +3 -3
- data/spec/lib/pwn/sast/factory_spec.rb +3 -3
- data/spec/lib/pwn/sast/http_authorization_header_spec.rb +3 -3
- data/spec/lib/pwn/sast/inner_html_spec.rb +3 -3
- data/spec/lib/pwn/sast/keystore_spec.rb +3 -3
- data/spec/lib/pwn/sast/location_hash_spec.rb +3 -3
- data/spec/lib/pwn/sast/log4j_spec.rb +3 -3
- data/spec/lib/pwn/sast/logger_spec.rb +3 -3
- data/spec/lib/pwn/sast/password_spec.rb +3 -3
- data/spec/lib/pwn/sast/pom_version_spec.rb +3 -3
- data/spec/lib/pwn/sast/port_spec.rb +3 -3
- data/spec/lib/pwn/sast/private_key_spec.rb +3 -3
- data/spec/lib/pwn/sast/redirect_spec.rb +3 -3
- data/spec/lib/pwn/sast/redos_spec.rb +3 -3
- data/spec/lib/pwn/sast/shell_spec.rb +3 -3
- data/spec/lib/pwn/sast/signature_spec.rb +3 -3
- data/spec/lib/pwn/sast/sql_spec.rb +3 -3
- data/spec/lib/pwn/sast/ssl_spec.rb +3 -3
- data/spec/lib/pwn/sast/sudo_spec.rb +3 -3
- data/spec/lib/pwn/sast/task_tag_spec.rb +3 -3
- data/spec/lib/pwn/sast/throw_errors_spec.rb +3 -3
- data/spec/lib/pwn/sast/token_spec.rb +3 -3
- data/spec/lib/pwn/sast/version_spec.rb +3 -3
- data/spec/lib/pwn/sast/window_location_hash_spec.rb +3 -3
- metadata +13 -15
- data/lib/pwn/sast/file_permission.rb +0 -142
- data/spec/lib/pwn/sast/file_permission_spec.rb +0 -25
@@ -47,7 +47,7 @@ module PWN
|
|
47
47
|
|
48
48
|
hash_line = {
|
49
49
|
timestamp: Time.now.strftime('%Y-%m-%d %H:%M:%S.%9N %z').to_s,
|
50
|
-
|
50
|
+
security_requirements: security_requirements,
|
51
51
|
filename: filename_arr.push(git_repo_root_uri: git_repo_root_uri, entry: entry),
|
52
52
|
line_no_and_contents: '',
|
53
53
|
raw_content: str,
|
@@ -104,11 +104,13 @@ module PWN
|
|
104
104
|
# to PWN Exploit & Static Code Anti-Pattern Matching Modules to
|
105
105
|
# Determine the level of Testing Coverage w/ PWN.
|
106
106
|
|
107
|
-
public_class_method def self.
|
107
|
+
public_class_method def self.security_requirements
|
108
108
|
{
|
109
109
|
sast_module: self,
|
110
110
|
section: 'MALICIOUS CODE PROTECTION',
|
111
|
-
nist_800_53_uri: 'https://csrc.nist.gov/Projects/risk-management/sp800-53-controls/release-search#/control/?version=5.1&number=SI-3'
|
111
|
+
nist_800_53_uri: 'https://csrc.nist.gov/Projects/risk-management/sp800-53-controls/release-search#/control/?version=5.1&number=SI-3',
|
112
|
+
cwe_id: '79',
|
113
|
+
cwe_uri: 'https://cwe.mitre.org/data/definitions/79.html'
|
112
114
|
}
|
113
115
|
rescue StandardError => e
|
114
116
|
raise e
|
data/lib/pwn/sast.rb
CHANGED
@@ -21,7 +21,6 @@ module PWN
|
|
21
21
|
autoload :Emoticon, 'pwn/sast/emoticon'
|
22
22
|
autoload :Eval, 'pwn/sast/eval'
|
23
23
|
autoload :Factory, 'pwn/sast/factory'
|
24
|
-
autoload :FilePermission, 'pwn/sast/file_permission'
|
25
24
|
autoload :HTTPAuthorizationHeader, 'pwn/sast/http_authorization_header'
|
26
25
|
autoload :InnerHTML, 'pwn/sast/inner_html'
|
27
26
|
autoload :Keystore, 'pwn/sast/keystore'
|
data/lib/pwn/version.rb
CHANGED
@@ -8,9 +8,9 @@ describe PWN::SAST::AMQPConnectAsGuest do
|
|
8
8
|
expect(scan_response).to respond_to :scan
|
9
9
|
end
|
10
10
|
|
11
|
-
it 'should display information for
|
12
|
-
|
13
|
-
expect(
|
11
|
+
it 'should display information for security_requirements' do
|
12
|
+
security_requirements_response = PWN::SAST::AMQPConnectAsGuest
|
13
|
+
expect(security_requirements_response).to respond_to :security_requirements
|
14
14
|
end
|
15
15
|
|
16
16
|
it 'should display information for authors' do
|
@@ -8,9 +8,9 @@ describe PWN::SAST::ApacheFileSystemUtilAPI do
|
|
8
8
|
expect(scan_response).to respond_to :scan
|
9
9
|
end
|
10
10
|
|
11
|
-
it 'should display information for
|
12
|
-
|
13
|
-
expect(
|
11
|
+
it 'should display information for security_requirements' do
|
12
|
+
security_requirements_response = PWN::SAST::ApacheFileSystemUtilAPI
|
13
|
+
expect(security_requirements_response).to respond_to :security_requirements
|
14
14
|
end
|
15
15
|
|
16
16
|
it 'should display information for authors' do
|
@@ -8,9 +8,9 @@ describe PWN::SAST::AWS do
|
|
8
8
|
expect(scan_response).to respond_to :scan
|
9
9
|
end
|
10
10
|
|
11
|
-
it 'should display information for
|
12
|
-
|
13
|
-
expect(
|
11
|
+
it 'should display information for security_requirements' do
|
12
|
+
security_requirements_response = PWN::SAST::AWS
|
13
|
+
expect(security_requirements_response).to respond_to :security_requirements
|
14
14
|
end
|
15
15
|
|
16
16
|
it 'should display information for authors' do
|
@@ -8,9 +8,9 @@ describe PWN::SAST::BannedFunctionCallsC do
|
|
8
8
|
expect(scan_response).to respond_to :scan
|
9
9
|
end
|
10
10
|
|
11
|
-
it 'should display information for
|
12
|
-
|
13
|
-
expect(
|
11
|
+
it 'should display information for security_requirements' do
|
12
|
+
security_requirements_response = PWN::SAST::BannedFunctionCallsC
|
13
|
+
expect(security_requirements_response).to respond_to :security_requirements
|
14
14
|
end
|
15
15
|
|
16
16
|
it 'should display information for authors' do
|
@@ -8,9 +8,9 @@ describe PWN::SAST::Base64 do
|
|
8
8
|
expect(scan_response).to respond_to :scan
|
9
9
|
end
|
10
10
|
|
11
|
-
it 'should display information for
|
12
|
-
|
13
|
-
expect(
|
11
|
+
it 'should display information for security_requirements' do
|
12
|
+
security_requirements_response = PWN::SAST::Base64
|
13
|
+
expect(security_requirements_response).to respond_to :security_requirements
|
14
14
|
end
|
15
15
|
|
16
16
|
it 'should display information for authors' do
|
@@ -8,9 +8,9 @@ describe PWN::SAST::BeefHook do
|
|
8
8
|
expect(scan_response).to respond_to :scan
|
9
9
|
end
|
10
10
|
|
11
|
-
it 'should display information for
|
12
|
-
|
13
|
-
expect(
|
11
|
+
it 'should display information for security_requirements' do
|
12
|
+
security_requirements_response = PWN::SAST::BeefHook
|
13
|
+
expect(security_requirements_response).to respond_to :security_requirements
|
14
14
|
end
|
15
15
|
|
16
16
|
it 'should display information for authors' do
|
@@ -8,9 +8,9 @@ describe PWN::SAST::CmdExecutionJava do
|
|
8
8
|
expect(scan_response).to respond_to :scan
|
9
9
|
end
|
10
10
|
|
11
|
-
it 'should display information for
|
12
|
-
|
13
|
-
expect(
|
11
|
+
it 'should display information for security_requirements' do
|
12
|
+
security_requirements_response = PWN::SAST::CmdExecutionJava
|
13
|
+
expect(security_requirements_response).to respond_to :security_requirements
|
14
14
|
end
|
15
15
|
|
16
16
|
it 'should display information for authors' do
|
@@ -8,9 +8,9 @@ describe PWN::SAST::CmdExecutionPython do
|
|
8
8
|
expect(scan_response).to respond_to :scan
|
9
9
|
end
|
10
10
|
|
11
|
-
it 'should display information for
|
12
|
-
|
13
|
-
expect(
|
11
|
+
it 'should display information for security_requirements' do
|
12
|
+
security_requirements_response = PWN::SAST::CmdExecutionPython
|
13
|
+
expect(security_requirements_response).to respond_to :security_requirements
|
14
14
|
end
|
15
15
|
|
16
16
|
it 'should display information for authors' do
|
@@ -8,9 +8,9 @@ describe PWN::SAST::CmdExecutionRuby do
|
|
8
8
|
expect(scan_response).to respond_to :scan
|
9
9
|
end
|
10
10
|
|
11
|
-
it 'should display information for
|
12
|
-
|
13
|
-
expect(
|
11
|
+
it 'should display information for security_requirements' do
|
12
|
+
security_requirements_response = PWN::SAST::CmdExecutionRuby
|
13
|
+
expect(security_requirements_response).to respond_to :security_requirements
|
14
14
|
end
|
15
15
|
|
16
16
|
it 'should display information for authors' do
|
@@ -8,9 +8,9 @@ describe PWN::SAST::CmdExecutionScala do
|
|
8
8
|
expect(scan_response).to respond_to :scan
|
9
9
|
end
|
10
10
|
|
11
|
-
it 'should display information for
|
12
|
-
|
13
|
-
expect(
|
11
|
+
it 'should display information for security_requirements' do
|
12
|
+
security_requirements_response = PWN::SAST::CmdExecutionScala
|
13
|
+
expect(security_requirements_response).to respond_to :security_requirements
|
14
14
|
end
|
15
15
|
|
16
16
|
it 'should display information for authors' do
|
@@ -8,9 +8,9 @@ describe PWN::SAST::CSRF do
|
|
8
8
|
expect(scan_response).to respond_to :scan
|
9
9
|
end
|
10
10
|
|
11
|
-
it 'should display information for
|
12
|
-
|
13
|
-
expect(
|
11
|
+
it 'should display information for security_requirements' do
|
12
|
+
security_requirements_response = PWN::SAST::CSRF
|
13
|
+
expect(security_requirements_response).to respond_to :security_requirements
|
14
14
|
end
|
15
15
|
|
16
16
|
it 'should display information for authors' do
|
@@ -8,9 +8,9 @@ describe PWN::SAST::DeserialJava do
|
|
8
8
|
expect(scan_response).to respond_to :scan
|
9
9
|
end
|
10
10
|
|
11
|
-
it 'should display information for
|
12
|
-
|
13
|
-
expect(
|
11
|
+
it 'should display information for security_requirements' do
|
12
|
+
security_requirements_response = PWN::SAST::DeserialJava
|
13
|
+
expect(security_requirements_response).to respond_to :security_requirements
|
14
14
|
end
|
15
15
|
|
16
16
|
it 'should display information for authors' do
|
@@ -8,9 +8,9 @@ describe PWN::SAST::Emoticon do
|
|
8
8
|
expect(scan_response).to respond_to :scan
|
9
9
|
end
|
10
10
|
|
11
|
-
it 'should display information for
|
12
|
-
|
13
|
-
expect(
|
11
|
+
it 'should display information for security_requirements' do
|
12
|
+
security_requirements_response = PWN::SAST::Emoticon
|
13
|
+
expect(security_requirements_response).to respond_to :security_requirements
|
14
14
|
end
|
15
15
|
|
16
16
|
it 'should display information for authors' do
|
@@ -8,9 +8,9 @@ describe PWN::SAST::Eval do
|
|
8
8
|
expect(scan_response).to respond_to :scan
|
9
9
|
end
|
10
10
|
|
11
|
-
it 'should display information for
|
12
|
-
|
13
|
-
expect(
|
11
|
+
it 'should display information for security_requirements' do
|
12
|
+
security_requirements_response = PWN::SAST::Eval
|
13
|
+
expect(security_requirements_response).to respond_to :security_requirements
|
14
14
|
end
|
15
15
|
|
16
16
|
it 'should display information for authors' do
|
@@ -8,9 +8,9 @@ describe PWN::SAST::Factory do
|
|
8
8
|
expect(scan_response).to respond_to :scan
|
9
9
|
end
|
10
10
|
|
11
|
-
it 'should display information for
|
12
|
-
|
13
|
-
expect(
|
11
|
+
it 'should display information for security_requirements' do
|
12
|
+
security_requirements_response = PWN::SAST::Factory
|
13
|
+
expect(security_requirements_response).to respond_to :security_requirements
|
14
14
|
end
|
15
15
|
|
16
16
|
it 'should display information for authors' do
|
@@ -8,9 +8,9 @@ describe PWN::SAST::HTTPAuthorizationHeader do
|
|
8
8
|
expect(scan_response).to respond_to :scan
|
9
9
|
end
|
10
10
|
|
11
|
-
it 'should display information for
|
12
|
-
|
13
|
-
expect(
|
11
|
+
it 'should display information for security_requirements' do
|
12
|
+
security_requirements_response = PWN::SAST::HTTPAuthorizationHeader
|
13
|
+
expect(security_requirements_response).to respond_to :security_requirements
|
14
14
|
end
|
15
15
|
|
16
16
|
it 'should display information for authors' do
|
@@ -8,9 +8,9 @@ describe PWN::SAST::InnerHTML do
|
|
8
8
|
expect(scan_response).to respond_to :scan
|
9
9
|
end
|
10
10
|
|
11
|
-
it 'should display information for
|
12
|
-
|
13
|
-
expect(
|
11
|
+
it 'should display information for security_requirements' do
|
12
|
+
security_requirements_response = PWN::SAST::InnerHTML
|
13
|
+
expect(security_requirements_response).to respond_to :security_requirements
|
14
14
|
end
|
15
15
|
|
16
16
|
it 'should display information for authors' do
|
@@ -8,9 +8,9 @@ describe PWN::SAST::Keystore do
|
|
8
8
|
expect(scan_response).to respond_to :scan
|
9
9
|
end
|
10
10
|
|
11
|
-
it 'should display information for
|
12
|
-
|
13
|
-
expect(
|
11
|
+
it 'should display information for security_requirements' do
|
12
|
+
security_requirements_response = PWN::SAST::Keystore
|
13
|
+
expect(security_requirements_response).to respond_to :security_requirements
|
14
14
|
end
|
15
15
|
|
16
16
|
it 'should display information for authors' do
|
@@ -8,9 +8,9 @@ describe PWN::SAST::LocationHash do
|
|
8
8
|
expect(scan_response).to respond_to :scan
|
9
9
|
end
|
10
10
|
|
11
|
-
it 'should display information for
|
12
|
-
|
13
|
-
expect(
|
11
|
+
it 'should display information for security_requirements' do
|
12
|
+
security_requirements_response = PWN::SAST::LocationHash
|
13
|
+
expect(security_requirements_response).to respond_to :security_requirements
|
14
14
|
end
|
15
15
|
|
16
16
|
it 'should display information for authors' do
|
@@ -8,9 +8,9 @@ describe PWN::SAST::Log4J do
|
|
8
8
|
expect(scan_response).to respond_to :scan
|
9
9
|
end
|
10
10
|
|
11
|
-
it 'should display information for
|
12
|
-
|
13
|
-
expect(
|
11
|
+
it 'should display information for security_requirements' do
|
12
|
+
security_requirements_response = PWN::SAST::Log4J
|
13
|
+
expect(security_requirements_response).to respond_to :security_requirements
|
14
14
|
end
|
15
15
|
|
16
16
|
it 'should display information for authors' do
|
@@ -8,9 +8,9 @@ describe PWN::SAST::Logger do
|
|
8
8
|
expect(scan_response).to respond_to :scan
|
9
9
|
end
|
10
10
|
|
11
|
-
it 'should display information for
|
12
|
-
|
13
|
-
expect(
|
11
|
+
it 'should display information for security_requirements' do
|
12
|
+
security_requirements_response = PWN::SAST::Logger
|
13
|
+
expect(security_requirements_response).to respond_to :security_requirements
|
14
14
|
end
|
15
15
|
|
16
16
|
it 'should display information for authors' do
|
@@ -8,9 +8,9 @@ describe PWN::SAST::Password do
|
|
8
8
|
expect(scan_response).to respond_to :scan
|
9
9
|
end
|
10
10
|
|
11
|
-
it 'should display information for
|
12
|
-
|
13
|
-
expect(
|
11
|
+
it 'should display information for security_requirements' do
|
12
|
+
security_requirements_response = PWN::SAST::Password
|
13
|
+
expect(security_requirements_response).to respond_to :security_requirements
|
14
14
|
end
|
15
15
|
|
16
16
|
it 'should display information for authors' do
|
@@ -8,9 +8,9 @@ describe PWN::SAST::PomVersion do
|
|
8
8
|
expect(scan_response).to respond_to :scan
|
9
9
|
end
|
10
10
|
|
11
|
-
it 'should display information for
|
12
|
-
|
13
|
-
expect(
|
11
|
+
it 'should display information for security_requirements' do
|
12
|
+
security_requirements_response = PWN::SAST::PomVersion
|
13
|
+
expect(security_requirements_response).to respond_to :security_requirements
|
14
14
|
end
|
15
15
|
|
16
16
|
it 'should display information for authors' do
|
@@ -8,9 +8,9 @@ describe PWN::SAST::Port do
|
|
8
8
|
expect(scan_response).to respond_to :scan
|
9
9
|
end
|
10
10
|
|
11
|
-
it 'should display information for
|
12
|
-
|
13
|
-
expect(
|
11
|
+
it 'should display information for security_requirements' do
|
12
|
+
security_requirements_response = PWN::SAST::Port
|
13
|
+
expect(security_requirements_response).to respond_to :security_requirements
|
14
14
|
end
|
15
15
|
|
16
16
|
it 'should display information for authors' do
|
@@ -8,9 +8,9 @@ describe PWN::SAST::PrivateKey do
|
|
8
8
|
expect(scan_response).to respond_to :scan
|
9
9
|
end
|
10
10
|
|
11
|
-
it 'should display information for
|
12
|
-
|
13
|
-
expect(
|
11
|
+
it 'should display information for security_requirements' do
|
12
|
+
security_requirements_response = PWN::SAST::PrivateKey
|
13
|
+
expect(security_requirements_response).to respond_to :security_requirements
|
14
14
|
end
|
15
15
|
|
16
16
|
it 'should display information for authors' do
|
@@ -8,9 +8,9 @@ describe PWN::SAST::Redirect do
|
|
8
8
|
expect(scan_response).to respond_to :scan
|
9
9
|
end
|
10
10
|
|
11
|
-
it 'should display information for
|
12
|
-
|
13
|
-
expect(
|
11
|
+
it 'should display information for security_requirements' do
|
12
|
+
security_requirements_response = PWN::SAST::Redirect
|
13
|
+
expect(security_requirements_response).to respond_to :security_requirements
|
14
14
|
end
|
15
15
|
|
16
16
|
it 'should display information for authors' do
|
@@ -8,9 +8,9 @@ describe PWN::SAST::ReDOS do
|
|
8
8
|
expect(scan_response).to respond_to :scan
|
9
9
|
end
|
10
10
|
|
11
|
-
it 'should display information for
|
12
|
-
|
13
|
-
expect(
|
11
|
+
it 'should display information for security_requirements' do
|
12
|
+
security_requirements_response = PWN::SAST::ReDOS
|
13
|
+
expect(security_requirements_response).to respond_to :security_requirements
|
14
14
|
end
|
15
15
|
|
16
16
|
it 'should display information for authors' do
|
@@ -8,9 +8,9 @@ describe PWN::SAST::Shell do
|
|
8
8
|
expect(scan_response).to respond_to :scan
|
9
9
|
end
|
10
10
|
|
11
|
-
it 'should display information for
|
12
|
-
|
13
|
-
expect(
|
11
|
+
it 'should display information for security_requirements' do
|
12
|
+
security_requirements_response = PWN::SAST::Shell
|
13
|
+
expect(security_requirements_response).to respond_to :security_requirements
|
14
14
|
end
|
15
15
|
|
16
16
|
it 'should display information for authors' do
|
@@ -8,9 +8,9 @@ describe PWN::SAST::Signature do
|
|
8
8
|
expect(scan_response).to respond_to :scan
|
9
9
|
end
|
10
10
|
|
11
|
-
it 'should display information for
|
12
|
-
|
13
|
-
expect(
|
11
|
+
it 'should display information for security_requirements' do
|
12
|
+
security_requirements_response = PWN::SAST::Signature
|
13
|
+
expect(security_requirements_response).to respond_to :security_requirements
|
14
14
|
end
|
15
15
|
|
16
16
|
it 'should display information for authors' do
|
@@ -8,9 +8,9 @@ describe PWN::SAST::SQL do
|
|
8
8
|
expect(scan_response).to respond_to :scan
|
9
9
|
end
|
10
10
|
|
11
|
-
it 'should display information for
|
12
|
-
|
13
|
-
expect(
|
11
|
+
it 'should display information for security_requirements' do
|
12
|
+
security_requirements_response = PWN::SAST::SQL
|
13
|
+
expect(security_requirements_response).to respond_to :security_requirements
|
14
14
|
end
|
15
15
|
|
16
16
|
it 'should display information for authors' do
|
@@ -8,9 +8,9 @@ describe PWN::SAST::SSL do
|
|
8
8
|
expect(scan_response).to respond_to :scan
|
9
9
|
end
|
10
10
|
|
11
|
-
it 'should display information for
|
12
|
-
|
13
|
-
expect(
|
11
|
+
it 'should display information for security_requirements' do
|
12
|
+
security_requirements_response = PWN::SAST::SSL
|
13
|
+
expect(security_requirements_response).to respond_to :security_requirements
|
14
14
|
end
|
15
15
|
|
16
16
|
it 'should display information for authors' do
|
@@ -8,9 +8,9 @@ describe PWN::SAST::Sudo do
|
|
8
8
|
expect(scan_response).to respond_to :scan
|
9
9
|
end
|
10
10
|
|
11
|
-
it 'should display information for
|
12
|
-
|
13
|
-
expect(
|
11
|
+
it 'should display information for security_requirements' do
|
12
|
+
security_requirements_response = PWN::SAST::Sudo
|
13
|
+
expect(security_requirements_response).to respond_to :security_requirements
|
14
14
|
end
|
15
15
|
|
16
16
|
it 'should display information for authors' do
|
@@ -8,9 +8,9 @@ describe PWN::SAST::TaskTag do
|
|
8
8
|
expect(scan_response).to respond_to :scan
|
9
9
|
end
|
10
10
|
|
11
|
-
it 'should display information for
|
12
|
-
|
13
|
-
expect(
|
11
|
+
it 'should display information for security_requirements' do
|
12
|
+
security_requirements_response = PWN::SAST::TaskTag
|
13
|
+
expect(security_requirements_response).to respond_to :security_requirements
|
14
14
|
end
|
15
15
|
|
16
16
|
it 'should display information for authors' do
|
@@ -8,9 +8,9 @@ describe PWN::SAST::ThrowErrors do
|
|
8
8
|
expect(scan_response).to respond_to :scan
|
9
9
|
end
|
10
10
|
|
11
|
-
it 'should display information for
|
12
|
-
|
13
|
-
expect(
|
11
|
+
it 'should display information for security_requirements' do
|
12
|
+
security_requirements_response = PWN::SAST::ThrowErrors
|
13
|
+
expect(security_requirements_response).to respond_to :security_requirements
|
14
14
|
end
|
15
15
|
|
16
16
|
it 'should display information for authors' do
|
@@ -8,9 +8,9 @@ describe PWN::SAST::Token do
|
|
8
8
|
expect(scan_response).to respond_to :scan
|
9
9
|
end
|
10
10
|
|
11
|
-
it 'should display information for
|
12
|
-
|
13
|
-
expect(
|
11
|
+
it 'should display information for security_requirements' do
|
12
|
+
security_requirements_response = PWN::SAST::Token
|
13
|
+
expect(security_requirements_response).to respond_to :security_requirements
|
14
14
|
end
|
15
15
|
|
16
16
|
it 'should display information for authors' do
|
@@ -8,9 +8,9 @@ describe PWN::SAST::Version do
|
|
8
8
|
expect(scan_response).to respond_to :scan
|
9
9
|
end
|
10
10
|
|
11
|
-
it 'should display information for
|
12
|
-
|
13
|
-
expect(
|
11
|
+
it 'should display information for security_requirements' do
|
12
|
+
security_requirements_response = PWN::SAST::Version
|
13
|
+
expect(security_requirements_response).to respond_to :security_requirements
|
14
14
|
end
|
15
15
|
|
16
16
|
it 'should display information for authors' do
|
@@ -8,9 +8,9 @@ describe PWN::SAST::WindowLocationHash do
|
|
8
8
|
expect(scan_response).to respond_to :scan
|
9
9
|
end
|
10
10
|
|
11
|
-
it 'should display information for
|
12
|
-
|
13
|
-
expect(
|
11
|
+
it 'should display information for security_requirements' do
|
12
|
+
security_requirements_response = PWN::SAST::WindowLocationHash
|
13
|
+
expect(security_requirements_response).to respond_to :security_requirements
|
14
14
|
end
|
15
15
|
|
16
16
|
it 'should display information for authors' do
|