repo stringlengths 5 92 | file_url stringlengths 80 287 | file_path stringlengths 5 197 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-04 15:37:27 2026-01-04 17:58:21 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
simplymadeapps/simple_scheduler | https://github.com/simplymadeapps/simple_scheduler/blob/fac50a8119736f1df3ddabb2aeef33efd000902e/lib/simple_scheduler/scheduler_job.rb | lib/simple_scheduler/scheduler_job.rb | # frozen_string_literal: true
module SimpleScheduler
# Active Job class that queues jobs defined in the config file.
class SchedulerJob < ActiveJob::Base
def perform
load_config
queue_future_jobs
end
private
# Returns the path of the Simple Scheduler configuration file.
# @return ... | ruby | MIT | fac50a8119736f1df3ddabb2aeef33efd000902e | 2026-01-04T17:46:19.163745Z | false |
simplymadeapps/simple_scheduler | https://github.com/simplymadeapps/simple_scheduler/blob/fac50a8119736f1df3ddabb2aeef33efd000902e/lib/simple_scheduler/railtie.rb | lib/simple_scheduler/railtie.rb | # frozen_string_literal: true
module SimpleScheduler
# Load the rake task into the Rails app
class Railtie < Rails::Railtie
rake_tasks do
load File.join(File.dirname(__FILE__), "../tasks/simple_scheduler_tasks.rake")
end
end
end
| ruby | MIT | fac50a8119736f1df3ddabb2aeef33efd000902e | 2026-01-04T17:46:19.163745Z | false |
simplymadeapps/simple_scheduler | https://github.com/simplymadeapps/simple_scheduler/blob/fac50a8119736f1df3ddabb2aeef33efd000902e/lib/simple_scheduler/future_job.rb | lib/simple_scheduler/future_job.rb | # frozen_string_literal: true
module SimpleScheduler
# Active Job class that wraps the scheduled job and determines if the job
# should still be run based on the scheduled time and when the job expires.
class FutureJob < ActiveJob::Base
# An error class that is raised if a job does not run because the run ti... | ruby | MIT | fac50a8119736f1df3ddabb2aeef33efd000902e | 2026-01-04T17:46:19.163745Z | false |
GoogleCloudPlatform/inspec-gcp-cis-benchmark | https://github.com/GoogleCloudPlatform/inspec-gcp-cis-benchmark/blob/40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e/controls/3.10-networking.rb | controls/3.10-networking.rb | # Copyright 2025 The inspec-gcp-cis-benchmark Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ruby | Apache-2.0 | 40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e | 2026-01-04T17:46:18.625233Z | false |
GoogleCloudPlatform/inspec-gcp-cis-benchmark | https://github.com/GoogleCloudPlatform/inspec-gcp-cis-benchmark/blob/40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e/controls/6.06-db.rb | controls/6.06-db.rb | # Copyright 2019 The inspec-gcp-cis-benchmark Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ruby | Apache-2.0 | 40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e | 2026-01-04T17:46:18.625233Z | false |
GoogleCloudPlatform/inspec-gcp-cis-benchmark | https://github.com/GoogleCloudPlatform/inspec-gcp-cis-benchmark/blob/40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e/controls/7.03-bq.rb | controls/7.03-bq.rb | # Copyright 2019 The inspec-gcp-cis-benchmark Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ruby | Apache-2.0 | 40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e | 2026-01-04T17:46:18.625233Z | false |
GoogleCloudPlatform/inspec-gcp-cis-benchmark | https://github.com/GoogleCloudPlatform/inspec-gcp-cis-benchmark/blob/40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e/controls/4.10-vms.rb | controls/4.10-vms.rb | # Copyright 2019 The inspec-gcp-cis-benchmark Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ruby | Apache-2.0 | 40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e | 2026-01-04T17:46:18.625233Z | false |
GoogleCloudPlatform/inspec-gcp-cis-benchmark | https://github.com/GoogleCloudPlatform/inspec-gcp-cis-benchmark/blob/40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e/controls/1.02-iam.rb | controls/1.02-iam.rb | # controls/1.02-iam.rb (assuming 1.02 is the actual file name)
# Copyright 2019 The inspec-gcp-cis-benchmark Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apach... | ruby | Apache-2.0 | 40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e | 2026-01-04T17:46:18.625233Z | false |
GoogleCloudPlatform/inspec-gcp-cis-benchmark | https://github.com/GoogleCloudPlatform/inspec-gcp-cis-benchmark/blob/40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e/controls/2.06-logging.rb | controls/2.06-logging.rb | # Copyright 2019 The inspec-gcp-cis-benchmark Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ruby | Apache-2.0 | 40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e | 2026-01-04T17:46:18.625233Z | false |
GoogleCloudPlatform/inspec-gcp-cis-benchmark | https://github.com/GoogleCloudPlatform/inspec-gcp-cis-benchmark/blob/40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e/controls/3.03-networking.rb | controls/3.03-networking.rb | # Copyright 2019 The inspec-gcp-cis-benchmark Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ruby | Apache-2.0 | 40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e | 2026-01-04T17:46:18.625233Z | false |
GoogleCloudPlatform/inspec-gcp-cis-benchmark | https://github.com/GoogleCloudPlatform/inspec-gcp-cis-benchmark/blob/40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e/controls/4.04-vms.rb | controls/4.04-vms.rb | # Copyright 2019 The inspec-gcp-cis-benchmark Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ruby | Apache-2.0 | 40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e | 2026-01-04T17:46:18.625233Z | false |
GoogleCloudPlatform/inspec-gcp-cis-benchmark | https://github.com/GoogleCloudPlatform/inspec-gcp-cis-benchmark/blob/40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e/controls/1.04-iam.rb | controls/1.04-iam.rb | # Copyright 2019 The inspec-gcp-cis-benchmark Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ruby | Apache-2.0 | 40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e | 2026-01-04T17:46:18.625233Z | false |
GoogleCloudPlatform/inspec-gcp-cis-benchmark | https://github.com/GoogleCloudPlatform/inspec-gcp-cis-benchmark/blob/40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e/controls/2.15-logging.rb | controls/2.15-logging.rb | # Copyright 2019 The inspec-gcp-cis-benchmark Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ruby | Apache-2.0 | 40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e | 2026-01-04T17:46:18.625233Z | false |
GoogleCloudPlatform/inspec-gcp-cis-benchmark | https://github.com/GoogleCloudPlatform/inspec-gcp-cis-benchmark/blob/40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e/controls/3.02-networking.rb | controls/3.02-networking.rb | # Copyright 2019 The inspec-gcp-cis-benchmark Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ruby | Apache-2.0 | 40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e | 2026-01-04T17:46:18.625233Z | false |
GoogleCloudPlatform/inspec-gcp-cis-benchmark | https://github.com/GoogleCloudPlatform/inspec-gcp-cis-benchmark/blob/40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e/controls/3.01-networking.rb | controls/3.01-networking.rb | # Copyright 2019 The inspec-gcp-cis-benchmark Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ruby | Apache-2.0 | 40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e | 2026-01-04T17:46:18.625233Z | false |
GoogleCloudPlatform/inspec-gcp-cis-benchmark | https://github.com/GoogleCloudPlatform/inspec-gcp-cis-benchmark/blob/40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e/controls/1.09-iam.rb | controls/1.09-iam.rb | # Copyright 2019 The inspec-gcp-cis-benchmark Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ruby | Apache-2.0 | 40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e | 2026-01-04T17:46:18.625233Z | false |
GoogleCloudPlatform/inspec-gcp-cis-benchmark | https://github.com/GoogleCloudPlatform/inspec-gcp-cis-benchmark/blob/40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e/controls/6.07-db.rb | controls/6.07-db.rb | # Copyright 2019 The inspec-gcp-cis-benchmark Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ruby | Apache-2.0 | 40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e | 2026-01-04T17:46:18.625233Z | false |
GoogleCloudPlatform/inspec-gcp-cis-benchmark | https://github.com/GoogleCloudPlatform/inspec-gcp-cis-benchmark/blob/40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e/controls/3.07-networking.rb | controls/3.07-networking.rb | # Copyright 2019 The inspec-gcp-cis-benchmark Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ruby | Apache-2.0 | 40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e | 2026-01-04T17:46:18.625233Z | false |
GoogleCloudPlatform/inspec-gcp-cis-benchmark | https://github.com/GoogleCloudPlatform/inspec-gcp-cis-benchmark/blob/40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e/controls/2.08-logging.rb | controls/2.08-logging.rb | # Copyright 2019 The inspec-gcp-cis-benchmark Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ruby | Apache-2.0 | 40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e | 2026-01-04T17:46:18.625233Z | false |
GoogleCloudPlatform/inspec-gcp-cis-benchmark | https://github.com/GoogleCloudPlatform/inspec-gcp-cis-benchmark/blob/40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e/controls/3.04-networking.rb | controls/3.04-networking.rb | # Copyright 2019 The inspec-gcp-cis-benchmark Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ruby | Apache-2.0 | 40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e | 2026-01-04T17:46:18.625233Z | false |
GoogleCloudPlatform/inspec-gcp-cis-benchmark | https://github.com/GoogleCloudPlatform/inspec-gcp-cis-benchmark/blob/40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e/controls/2.04-logging.rb | controls/2.04-logging.rb | # Copyright 2019 The inspec-gcp-cis-benchmark Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ruby | Apache-2.0 | 40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e | 2026-01-04T17:46:18.625233Z | false |
GoogleCloudPlatform/inspec-gcp-cis-benchmark | https://github.com/GoogleCloudPlatform/inspec-gcp-cis-benchmark/blob/40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e/controls/1.10-iam.rb | controls/1.10-iam.rb | # Copyright 2019 The inspec-gcp-cis-benchmark Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ruby | Apache-2.0 | 40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e | 2026-01-04T17:46:18.625233Z | false |
GoogleCloudPlatform/inspec-gcp-cis-benchmark | https://github.com/GoogleCloudPlatform/inspec-gcp-cis-benchmark/blob/40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e/controls/2.14-logging.rb | controls/2.14-logging.rb | # Copyright 2019 The inspec-gcp-cis-benchmark Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ruby | Apache-2.0 | 40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e | 2026-01-04T17:46:18.625233Z | false |
GoogleCloudPlatform/inspec-gcp-cis-benchmark | https://github.com/GoogleCloudPlatform/inspec-gcp-cis-benchmark/blob/40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e/controls/4.01-vms.rb | controls/4.01-vms.rb | # Copyright 2019 The inspec-gcp-cis-benchmark Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ruby | Apache-2.0 | 40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e | 2026-01-04T17:46:18.625233Z | false |
GoogleCloudPlatform/inspec-gcp-cis-benchmark | https://github.com/GoogleCloudPlatform/inspec-gcp-cis-benchmark/blob/40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e/controls/5.01-storage.rb | controls/5.01-storage.rb | # Copyright 2019 The inspec-gcp-cis-benchmark Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ruby | Apache-2.0 | 40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e | 2026-01-04T17:46:18.625233Z | false |
GoogleCloudPlatform/inspec-gcp-cis-benchmark | https://github.com/GoogleCloudPlatform/inspec-gcp-cis-benchmark/blob/40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e/controls/4.07-vms.rb | controls/4.07-vms.rb | # Copyright 2019 The inspec-gcp-cis-benchmark Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ruby | Apache-2.0 | 40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e | 2026-01-04T17:46:18.625233Z | false |
GoogleCloudPlatform/inspec-gcp-cis-benchmark | https://github.com/GoogleCloudPlatform/inspec-gcp-cis-benchmark/blob/40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e/controls/2.13-logging.rb | controls/2.13-logging.rb | # Copyright 2019 The inspec-gcp-cis-benchmark Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ruby | Apache-2.0 | 40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e | 2026-01-04T17:46:18.625233Z | false |
GoogleCloudPlatform/inspec-gcp-cis-benchmark | https://github.com/GoogleCloudPlatform/inspec-gcp-cis-benchmark/blob/40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e/controls/3.08-networking.rb | controls/3.08-networking.rb | # Copyright 2019 The inspec-gcp-cis-benchmark Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ruby | Apache-2.0 | 40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e | 2026-01-04T17:46:18.625233Z | false |
GoogleCloudPlatform/inspec-gcp-cis-benchmark | https://github.com/GoogleCloudPlatform/inspec-gcp-cis-benchmark/blob/40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e/controls/2.16-logging.rb | controls/2.16-logging.rb | # Copyright 2019 The inspec-gcp-cis-benchmark Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ruby | Apache-2.0 | 40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e | 2026-01-04T17:46:18.625233Z | false |
GoogleCloudPlatform/inspec-gcp-cis-benchmark | https://github.com/GoogleCloudPlatform/inspec-gcp-cis-benchmark/blob/40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e/controls/1.08-iam.rb | controls/1.08-iam.rb | # Copyright 2019 The inspec-gcp-cis-benchmark Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ruby | Apache-2.0 | 40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e | 2026-01-04T17:46:18.625233Z | false |
GoogleCloudPlatform/inspec-gcp-cis-benchmark | https://github.com/GoogleCloudPlatform/inspec-gcp-cis-benchmark/blob/40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e/controls/7.02-bq.rb | controls/7.02-bq.rb | # Copyright 2019 The inspec-gcp-cis-benchmark Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ruby | Apache-2.0 | 40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e | 2026-01-04T17:46:18.625233Z | false |
GoogleCloudPlatform/inspec-gcp-cis-benchmark | https://github.com/GoogleCloudPlatform/inspec-gcp-cis-benchmark/blob/40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e/controls/2.03-logging.rb | controls/2.03-logging.rb | # Copyright 2019 The inspec-gcp-cis-benchmark Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ruby | Apache-2.0 | 40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e | 2026-01-04T17:46:18.625233Z | false |
GoogleCloudPlatform/inspec-gcp-cis-benchmark | https://github.com/GoogleCloudPlatform/inspec-gcp-cis-benchmark/blob/40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e/controls/1.17-iam.rb | controls/1.17-iam.rb | # Copyright 2025 The inspec-gcp-cis-benchmark Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ruby | Apache-2.0 | 40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e | 2026-01-04T17:46:18.625233Z | false |
GoogleCloudPlatform/inspec-gcp-cis-benchmark | https://github.com/GoogleCloudPlatform/inspec-gcp-cis-benchmark/blob/40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e/controls/7.04-bq.rb | controls/7.04-bq.rb | # Copyright 2019 The inspec-gcp-cis-benchmark Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ruby | Apache-2.0 | 40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e | 2026-01-04T17:46:18.625233Z | false |
GoogleCloudPlatform/inspec-gcp-cis-benchmark | https://github.com/GoogleCloudPlatform/inspec-gcp-cis-benchmark/blob/40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e/controls/6.02-db.rb | controls/6.02-db.rb | # Copyright 2019 The inspec-gcp-cis-benchmark Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ruby | Apache-2.0 | 40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e | 2026-01-04T17:46:18.625233Z | false |
GoogleCloudPlatform/inspec-gcp-cis-benchmark | https://github.com/GoogleCloudPlatform/inspec-gcp-cis-benchmark/blob/40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e/controls/1.01-iam.rb | controls/1.01-iam.rb | # Copyright 2019 The inspec-gcp-cis-benchmark Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ruby | Apache-2.0 | 40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e | 2026-01-04T17:46:18.625233Z | false |
GoogleCloudPlatform/inspec-gcp-cis-benchmark | https://github.com/GoogleCloudPlatform/inspec-gcp-cis-benchmark/blob/40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e/controls/1.16-iam.rb | controls/1.16-iam.rb | # Copyright 2019 The inspec-gcp-cis-benchmark Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ruby | Apache-2.0 | 40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e | 2026-01-04T17:46:18.625233Z | false |
GoogleCloudPlatform/inspec-gcp-cis-benchmark | https://github.com/GoogleCloudPlatform/inspec-gcp-cis-benchmark/blob/40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e/controls/4.06-vms.rb | controls/4.06-vms.rb | # Copyright 2019 The inspec-gcp-cis-benchmark Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ruby | Apache-2.0 | 40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e | 2026-01-04T17:46:18.625233Z | false |
GoogleCloudPlatform/inspec-gcp-cis-benchmark | https://github.com/GoogleCloudPlatform/inspec-gcp-cis-benchmark/blob/40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e/controls/2.05-logging.rb | controls/2.05-logging.rb | # Copyright 2019 The inspec-gcp-cis-benchmark Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ruby | Apache-2.0 | 40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e | 2026-01-04T17:46:18.625233Z | false |
GoogleCloudPlatform/inspec-gcp-cis-benchmark | https://github.com/GoogleCloudPlatform/inspec-gcp-cis-benchmark/blob/40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e/controls/4.03-vms.rb | controls/4.03-vms.rb | # Copyright 2019 The inspec-gcp-cis-benchmark Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ruby | Apache-2.0 | 40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e | 2026-01-04T17:46:18.625233Z | false |
GoogleCloudPlatform/inspec-gcp-cis-benchmark | https://github.com/GoogleCloudPlatform/inspec-gcp-cis-benchmark/blob/40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e/controls/1.05-iam.rb | controls/1.05-iam.rb | # Copyright 2019 The inspec-gcp-cis-benchmark Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ruby | Apache-2.0 | 40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e | 2026-01-04T17:46:18.625233Z | false |
GoogleCloudPlatform/inspec-gcp-cis-benchmark | https://github.com/GoogleCloudPlatform/inspec-gcp-cis-benchmark/blob/40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e/controls/4.05-vms.rb | controls/4.05-vms.rb | # Copyright 2019 The inspec-gcp-cis-benchmark Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ruby | Apache-2.0 | 40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e | 2026-01-04T17:46:18.625233Z | false |
GoogleCloudPlatform/inspec-gcp-cis-benchmark | https://github.com/GoogleCloudPlatform/inspec-gcp-cis-benchmark/blob/40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e/controls/3.05-networking.rb | controls/3.05-networking.rb | # Copyright 2019 The inspec-gcp-cis-benchmark Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ruby | Apache-2.0 | 40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e | 2026-01-04T17:46:18.625233Z | false |
GoogleCloudPlatform/inspec-gcp-cis-benchmark | https://github.com/GoogleCloudPlatform/inspec-gcp-cis-benchmark/blob/40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e/controls/6.04-db.rb | controls/6.04-db.rb | # Copyright 2019 The inspec-gcp-cis-benchmark Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ruby | Apache-2.0 | 40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e | 2026-01-04T17:46:18.625233Z | false |
GoogleCloudPlatform/inspec-gcp-cis-benchmark | https://github.com/GoogleCloudPlatform/inspec-gcp-cis-benchmark/blob/40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e/controls/2.01-logging.rb | controls/2.01-logging.rb | # Copyright 2019 The inspec-gcp-cis-benchmark Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ruby | Apache-2.0 | 40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e | 2026-01-04T17:46:18.625233Z | false |
GoogleCloudPlatform/inspec-gcp-cis-benchmark | https://github.com/GoogleCloudPlatform/inspec-gcp-cis-benchmark/blob/40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e/controls/4.09-vms.rb | controls/4.09-vms.rb | # Copyright 2019 The inspec-gcp-cis-benchmark Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ruby | Apache-2.0 | 40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e | 2026-01-04T17:46:18.625233Z | false |
GoogleCloudPlatform/inspec-gcp-cis-benchmark | https://github.com/GoogleCloudPlatform/inspec-gcp-cis-benchmark/blob/40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e/controls/3.09-networking.rb | controls/3.09-networking.rb | # Copyright 2019 The inspec-gcp-cis-benchmark Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ruby | Apache-2.0 | 40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e | 2026-01-04T17:46:18.625233Z | false |
GoogleCloudPlatform/inspec-gcp-cis-benchmark | https://github.com/GoogleCloudPlatform/inspec-gcp-cis-benchmark/blob/40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e/controls/2.11-logging.rb | controls/2.11-logging.rb | # Copyright 2019 The inspec-gcp-cis-benchmark Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ruby | Apache-2.0 | 40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e | 2026-01-04T17:46:18.625233Z | false |
GoogleCloudPlatform/inspec-gcp-cis-benchmark | https://github.com/GoogleCloudPlatform/inspec-gcp-cis-benchmark/blob/40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e/controls/2.07-logging.rb | controls/2.07-logging.rb | # Copyright 2019 The inspec-gcp-cis-benchmark Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ruby | Apache-2.0 | 40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e | 2026-01-04T17:46:18.625233Z | false |
GoogleCloudPlatform/inspec-gcp-cis-benchmark | https://github.com/GoogleCloudPlatform/inspec-gcp-cis-benchmark/blob/40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e/controls/1.11-iam.rb | controls/1.11-iam.rb | # Copyright 2019 The inspec-gcp-cis-benchmark Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ruby | Apache-2.0 | 40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e | 2026-01-04T17:46:18.625233Z | false |
GoogleCloudPlatform/inspec-gcp-cis-benchmark | https://github.com/GoogleCloudPlatform/inspec-gcp-cis-benchmark/blob/40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e/controls/1.12-iam.rb | controls/1.12-iam.rb | # Copyright 2019 The inspec-gcp-cis-benchmark Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ruby | Apache-2.0 | 40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e | 2026-01-04T17:46:18.625233Z | false |
GoogleCloudPlatform/inspec-gcp-cis-benchmark | https://github.com/GoogleCloudPlatform/inspec-gcp-cis-benchmark/blob/40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e/controls/1.15-iam.rb | controls/1.15-iam.rb | # Copyright 2019 The inspec-gcp-cis-benchmark Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ruby | Apache-2.0 | 40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e | 2026-01-04T17:46:18.625233Z | false |
GoogleCloudPlatform/inspec-gcp-cis-benchmark | https://github.com/GoogleCloudPlatform/inspec-gcp-cis-benchmark/blob/40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e/controls/1.13-iam.rb | controls/1.13-iam.rb | # Copyright 2019 The inspec-gcp-cis-benchmark Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ruby | Apache-2.0 | 40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e | 2026-01-04T17:46:18.625233Z | false |
GoogleCloudPlatform/inspec-gcp-cis-benchmark | https://github.com/GoogleCloudPlatform/inspec-gcp-cis-benchmark/blob/40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e/controls/6.01-db.rb | controls/6.01-db.rb | # Copyright 2019 The inspec-gcp-cis-benchmark Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ruby | Apache-2.0 | 40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e | 2026-01-04T17:46:18.625233Z | false |
GoogleCloudPlatform/inspec-gcp-cis-benchmark | https://github.com/GoogleCloudPlatform/inspec-gcp-cis-benchmark/blob/40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e/controls/3.06-networking.rb | controls/3.06-networking.rb | # Copyright 2019 The inspec-gcp-cis-benchmark Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ruby | Apache-2.0 | 40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e | 2026-01-04T17:46:18.625233Z | false |
GoogleCloudPlatform/inspec-gcp-cis-benchmark | https://github.com/GoogleCloudPlatform/inspec-gcp-cis-benchmark/blob/40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e/controls/8.01-dp.rb | controls/8.01-dp.rb | # Copyright 2019 The inspec-gcp-cis-benchmark Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ruby | Apache-2.0 | 40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e | 2026-01-04T17:46:18.625233Z | false |
GoogleCloudPlatform/inspec-gcp-cis-benchmark | https://github.com/GoogleCloudPlatform/inspec-gcp-cis-benchmark/blob/40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e/controls/4.12-vms.rb | controls/4.12-vms.rb | # Copyright 2019 The inspec-gcp-cis-benchmark Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ruby | Apache-2.0 | 40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e | 2026-01-04T17:46:18.625233Z | false |
GoogleCloudPlatform/inspec-gcp-cis-benchmark | https://github.com/GoogleCloudPlatform/inspec-gcp-cis-benchmark/blob/40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e/controls/7.01-bq.rb | controls/7.01-bq.rb | # Copyright 2019 The inspec-gcp-cis-benchmark Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ruby | Apache-2.0 | 40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e | 2026-01-04T17:46:18.625233Z | false |
GoogleCloudPlatform/inspec-gcp-cis-benchmark | https://github.com/GoogleCloudPlatform/inspec-gcp-cis-benchmark/blob/40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e/controls/5.02-storage.rb | controls/5.02-storage.rb | # Copyright 2019 The inspec-gcp-cis-benchmark Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ruby | Apache-2.0 | 40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e | 2026-01-04T17:46:18.625233Z | false |
GoogleCloudPlatform/inspec-gcp-cis-benchmark | https://github.com/GoogleCloudPlatform/inspec-gcp-cis-benchmark/blob/40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e/controls/2.10-logging.rb | controls/2.10-logging.rb | # Copyright 2019 The inspec-gcp-cis-benchmark Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ruby | Apache-2.0 | 40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e | 2026-01-04T17:46:18.625233Z | false |
GoogleCloudPlatform/inspec-gcp-cis-benchmark | https://github.com/GoogleCloudPlatform/inspec-gcp-cis-benchmark/blob/40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e/controls/1.07-iam.rb | controls/1.07-iam.rb | # Copyright 2019 The inspec-gcp-cis-benchmark Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ruby | Apache-2.0 | 40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e | 2026-01-04T17:46:18.625233Z | false |
GoogleCloudPlatform/inspec-gcp-cis-benchmark | https://github.com/GoogleCloudPlatform/inspec-gcp-cis-benchmark/blob/40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e/controls/6.03-db.rb | controls/6.03-db.rb | # Copyright 2019 The inspec-gcp-cis-benchmark Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ruby | Apache-2.0 | 40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e | 2026-01-04T17:46:18.625233Z | false |
GoogleCloudPlatform/inspec-gcp-cis-benchmark | https://github.com/GoogleCloudPlatform/inspec-gcp-cis-benchmark/blob/40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e/controls/2.02-logging.rb | controls/2.02-logging.rb | # Copyright 2019 The inspec-gcp-cis-benchmark Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ruby | Apache-2.0 | 40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e | 2026-01-04T17:46:18.625233Z | false |
GoogleCloudPlatform/inspec-gcp-cis-benchmark | https://github.com/GoogleCloudPlatform/inspec-gcp-cis-benchmark/blob/40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e/controls/2.09-logging.rb | controls/2.09-logging.rb | # Copyright 2019 The inspec-gcp-cis-benchmark Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ruby | Apache-2.0 | 40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e | 2026-01-04T17:46:18.625233Z | false |
GoogleCloudPlatform/inspec-gcp-cis-benchmark | https://github.com/GoogleCloudPlatform/inspec-gcp-cis-benchmark/blob/40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e/controls/1.06-iam.rb | controls/1.06-iam.rb | # Copyright 2019 The inspec-gcp-cis-benchmark Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ruby | Apache-2.0 | 40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e | 2026-01-04T17:46:18.625233Z | false |
GoogleCloudPlatform/inspec-gcp-cis-benchmark | https://github.com/GoogleCloudPlatform/inspec-gcp-cis-benchmark/blob/40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e/controls/4.08-vms.rb | controls/4.08-vms.rb | # Copyright 2019 The inspec-gcp-cis-benchmark Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ruby | Apache-2.0 | 40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e | 2026-01-04T17:46:18.625233Z | false |
GoogleCloudPlatform/inspec-gcp-cis-benchmark | https://github.com/GoogleCloudPlatform/inspec-gcp-cis-benchmark/blob/40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e/controls/4.02-vms.rb | controls/4.02-vms.rb | # Copyright 2019 The inspec-gcp-cis-benchmark Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ruby | Apache-2.0 | 40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e | 2026-01-04T17:46:18.625233Z | false |
GoogleCloudPlatform/inspec-gcp-cis-benchmark | https://github.com/GoogleCloudPlatform/inspec-gcp-cis-benchmark/blob/40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e/controls/6.05-db.rb | controls/6.05-db.rb | # Copyright 2019 The inspec-gcp-cis-benchmark Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ruby | Apache-2.0 | 40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e | 2026-01-04T17:46:18.625233Z | false |
GoogleCloudPlatform/inspec-gcp-cis-benchmark | https://github.com/GoogleCloudPlatform/inspec-gcp-cis-benchmark/blob/40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e/controls/1.14-iam.rb | controls/1.14-iam.rb | # Copyright 2019 The inspec-gcp-cis-benchmark Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ruby | Apache-2.0 | 40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e | 2026-01-04T17:46:18.625233Z | false |
GoogleCloudPlatform/inspec-gcp-cis-benchmark | https://github.com/GoogleCloudPlatform/inspec-gcp-cis-benchmark/blob/40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e/controls/4.11-vms.rb | controls/4.11-vms.rb | # Copyright 2019 The inspec-gcp-cis-benchmark Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ruby | Apache-2.0 | 40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e | 2026-01-04T17:46:18.625233Z | false |
GoogleCloudPlatform/inspec-gcp-cis-benchmark | https://github.com/GoogleCloudPlatform/inspec-gcp-cis-benchmark/blob/40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e/controls/2.12-logging.rb | controls/2.12-logging.rb | # Copyright 2019 The inspec-gcp-cis-benchmark Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ruby | Apache-2.0 | 40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e | 2026-01-04T17:46:18.625233Z | false |
GoogleCloudPlatform/inspec-gcp-cis-benchmark | https://github.com/GoogleCloudPlatform/inspec-gcp-cis-benchmark/blob/40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e/controls/1.03-iam.rb | controls/1.03-iam.rb | # Copyright 2019 The inspec-gcp-cis-benchmark Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | ruby | Apache-2.0 | 40f83ec9c6ff8c7ab9c7b3814a3cc6c4eb37983e | 2026-01-04T17:46:18.625233Z | false |
JDutil/contact_us | https://github.com/JDutil/contact_us/blob/8f39e962881f17362cdf66a88da3edede22b77b8/app/helpers/contact_us/contacts_helper.rb | app/helpers/contact_us/contacts_helper.rb | module ContactUs::ContactsHelper
end
| ruby | MIT | 8f39e962881f17362cdf66a88da3edede22b77b8 | 2026-01-04T17:46:23.553669Z | false |
JDutil/contact_us | https://github.com/JDutil/contact_us/blob/8f39e962881f17362cdf66a88da3edede22b77b8/app/controllers/contact_us/contacts_controller.rb | app/controllers/contact_us/contacts_controller.rb | class ContactUs::ContactsController < ApplicationController
def create
@contact = ContactUs::Contact.new(params[:contact_us_contact])
if @contact.save
redirect_to(ContactUs.success_redirect || '/', :notice => t('contact_us.notices.success'))
else
flash[:error] = t('contact_us.notices.error')... | ruby | MIT | 8f39e962881f17362cdf66a88da3edede22b77b8 | 2026-01-04T17:46:23.553669Z | false |
JDutil/contact_us | https://github.com/JDutil/contact_us/blob/8f39e962881f17362cdf66a88da3edede22b77b8/app/models/contact_us/contact.rb | app/models/contact_us/contact.rb | class ContactUs::Contact
include ActiveModel::Conversion
include ActiveModel::Validations
attr_accessor :email, :message, :name, :subject
validates :email, :format => { :with => /\A([^@\s]+)@((?:[-a-z0-9]+\.)+[a-z]{2,})\z/i },
:presence => true
validates :message, :presence => true
... | ruby | MIT | 8f39e962881f17362cdf66a88da3edede22b77b8 | 2026-01-04T17:46:23.553669Z | false |
JDutil/contact_us | https://github.com/JDutil/contact_us/blob/8f39e962881f17362cdf66a88da3edede22b77b8/app/mailers/contact_us/contact_mailer.rb | app/mailers/contact_us/contact_mailer.rb | class ContactUs::ContactMailer < ContactUs.parent_mailer.constantize
def contact_email(contact)
@contact = contact
mail :from => (ContactUs.mailer_from || @contact.email),
:reply_to => @contact.email,
:subject => (ContactUs.require_subject ? @contact.subject : t('contact_us.contact_maile... | ruby | MIT | 8f39e962881f17362cdf66a88da3edede22b77b8 | 2026-01-04T17:46:23.553669Z | false |
JDutil/contact_us | https://github.com/JDutil/contact_us/blob/8f39e962881f17362cdf66a88da3edede22b77b8/spec/spec_helper.rb | spec/spec_helper.rb | require File.dirname(__FILE__) + '/../lib/contact_us/tasks/install'
# Configure Rails Envinronment
ENV["RAILS_ENV"] = "test"
require File.expand_path("../dummy/config/environment.rb", __FILE__)
require "rails/test_help"
require "rspec/rails"
require 'rails-controller-testing'
require 'shoulda-matchers'
unless defin... | ruby | MIT | 8f39e962881f17362cdf66a88da3edede22b77b8 | 2026-01-04T17:46:23.553669Z | false |
JDutil/contact_us | https://github.com/JDutil/contact_us/blob/8f39e962881f17362cdf66a88da3edede22b77b8/spec/support/active_model_lint.rb | spec/support/active_model_lint.rb | # adapted from rspec-rails:
# http://github.com/rspec/rspec-rails/blob/master/spec/rspec/rails/mocks/mock_model_spec.rb
shared_examples_for 'ActiveModel' do
include ActiveModel::Lint::Tests
# to_s is to support ruby-1.9
ActiveModel::Lint::Tests.public_instance_methods.map(&:to_s).grep(/^test/).each do |m|
e... | ruby | MIT | 8f39e962881f17362cdf66a88da3edede22b77b8 | 2026-01-04T17:46:23.553669Z | false |
JDutil/contact_us | https://github.com/JDutil/contact_us/blob/8f39e962881f17362cdf66a88da3edede22b77b8/spec/controllers/contact_us/contact_controller_spec.rb | spec/controllers/contact_us/contact_controller_spec.rb | require 'spec_helper'
describe ContactUs::ContactsController do
describe 'create' do
before do
ContactUs.mailer_to = 'test@example.com'
end
it 'should redirect with success message if valid contact' do
ContactUs.success_redirect = nil
post :create, :contact_us_contact => { :email => ... | ruby | MIT | 8f39e962881f17362cdf66a88da3edede22b77b8 | 2026-01-04T17:46:23.553669Z | false |
JDutil/contact_us | https://github.com/JDutil/contact_us/blob/8f39e962881f17362cdf66a88da3edede22b77b8/spec/models/contact_us/contact_spec.rb | spec/models/contact_us/contact_spec.rb | require 'spec_helper'
describe ContactUs::Contact do
it_should_behave_like 'ActiveModel'
describe "Validations" do
it {is_expected.to validate_presence_of(:email)}
it {is_expected.to validate_presence_of(:message)}
it {is_expected.not_to validate_presence_of(:name)}
it {is_expected.not_to validat... | ruby | MIT | 8f39e962881f17362cdf66a88da3edede22b77b8 | 2026-01-04T17:46:23.553669Z | false |
JDutil/contact_us | https://github.com/JDutil/contact_us/blob/8f39e962881f17362cdf66a88da3edede22b77b8/spec/features/contact_us_lint_spec.rb | spec/features/contact_us_lint_spec.rb | require 'spec_helper'
describe 'Contact Us page', :type => :feature do
after do
ActionMailer::Base.deliveries = []
ContactUs.mailer_from = nil
ContactUs.mailer_to = nil
ContactUs.require_name = false
ContactUs.require_subject = false
end
before do
ActionMailer::Base.deliveries = []
... | ruby | MIT | 8f39e962881f17362cdf66a88da3edede22b77b8 | 2026-01-04T17:46:23.553669Z | false |
JDutil/contact_us | https://github.com/JDutil/contact_us/blob/8f39e962881f17362cdf66a88da3edede22b77b8/spec/dummy/app/helpers/application_helper.rb | spec/dummy/app/helpers/application_helper.rb | module ApplicationHelper
end
| ruby | MIT | 8f39e962881f17362cdf66a88da3edede22b77b8 | 2026-01-04T17:46:23.553669Z | false |
JDutil/contact_us | https://github.com/JDutil/contact_us/blob/8f39e962881f17362cdf66a88da3edede22b77b8/spec/dummy/app/controllers/application_controller.rb | spec/dummy/app/controllers/application_controller.rb | class ApplicationController < ActionController::Base
protect_from_forgery
end
| ruby | MIT | 8f39e962881f17362cdf66a88da3edede22b77b8 | 2026-01-04T17:46:23.553669Z | false |
JDutil/contact_us | https://github.com/JDutil/contact_us/blob/8f39e962881f17362cdf66a88da3edede22b77b8/spec/dummy/config/application.rb | spec/dummy/config/application.rb | require File.expand_path('../boot', __FILE__)
require 'rails/all'
require 'formtastic'
# If you have a Gemfile, require the gems listed there, including any gems
# you've limited to :test, :development, or :production.
Bundler.require(:default, Rails.env) if defined?(Bundler)
module Dummy
class Application < Rails... | ruby | MIT | 8f39e962881f17362cdf66a88da3edede22b77b8 | 2026-01-04T17:46:23.553669Z | false |
JDutil/contact_us | https://github.com/JDutil/contact_us/blob/8f39e962881f17362cdf66a88da3edede22b77b8/spec/dummy/config/environment.rb | spec/dummy/config/environment.rb | # Load the rails application
require File.expand_path('../application', __FILE__)
# Initialize the rails application
Dummy::Application.initialize!
| ruby | MIT | 8f39e962881f17362cdf66a88da3edede22b77b8 | 2026-01-04T17:46:23.553669Z | false |
JDutil/contact_us | https://github.com/JDutil/contact_us/blob/8f39e962881f17362cdf66a88da3edede22b77b8/spec/dummy/config/routes.rb | spec/dummy/config/routes.rb | Dummy::Application.routes.draw do
# The priority is based upon order of creation:
# first created -> highest priority.
# Sample of regular route:
# match 'products/:id' => 'catalog#view'
# Keep in mind you can assign values other than :controller and :action
# Sample of named route:
# match 'product... | ruby | MIT | 8f39e962881f17362cdf66a88da3edede22b77b8 | 2026-01-04T17:46:23.553669Z | false |
JDutil/contact_us | https://github.com/JDutil/contact_us/blob/8f39e962881f17362cdf66a88da3edede22b77b8/spec/dummy/config/boot.rb | spec/dummy/config/boot.rb | require 'rubygems'
# Set up gems listed in the Gemfile.
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
require 'bundler/setup' if File.exists?(ENV['BUNDLE_GEMFILE'])
| ruby | MIT | 8f39e962881f17362cdf66a88da3edede22b77b8 | 2026-01-04T17:46:23.553669Z | false |
JDutil/contact_us | https://github.com/JDutil/contact_us/blob/8f39e962881f17362cdf66a88da3edede22b77b8/spec/dummy/config/initializers/session_store.rb | spec/dummy/config/initializers/session_store.rb | # Be sure to restart your server when you modify this file.
Dummy::Application.config.session_store :cookie_store, :key => '_dummy_session'
# Use the database for sessions instead of the cookie-based default,
# which shouldn't be used to store highly confidential information
# (create the session table with "rails ge... | ruby | MIT | 8f39e962881f17362cdf66a88da3edede22b77b8 | 2026-01-04T17:46:23.553669Z | false |
JDutil/contact_us | https://github.com/JDutil/contact_us/blob/8f39e962881f17362cdf66a88da3edede22b77b8/spec/dummy/config/initializers/inflections.rb | spec/dummy/config/initializers/inflections.rb | # Be sure to restart your server when you modify this file.
# Add new inflection rules using the following format
# (all these examples are active by default):
# ActiveSupport::Inflector.inflections do |inflect|
# inflect.plural /^(ox)$/i, '\1en'
# inflect.singular /^(ox)en/i, '\1'
# inflect.irregular 'person', ... | ruby | MIT | 8f39e962881f17362cdf66a88da3edede22b77b8 | 2026-01-04T17:46:23.553669Z | false |
JDutil/contact_us | https://github.com/JDutil/contact_us/blob/8f39e962881f17362cdf66a88da3edede22b77b8/spec/dummy/config/initializers/backtrace_silencers.rb | spec/dummy/config/initializers/backtrace_silencers.rb | # Be sure to restart your server when you modify this file.
# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
# You can also remove all the silencers if you're trying to debug a probl... | ruby | MIT | 8f39e962881f17362cdf66a88da3edede22b77b8 | 2026-01-04T17:46:23.553669Z | false |
JDutil/contact_us | https://github.com/JDutil/contact_us/blob/8f39e962881f17362cdf66a88da3edede22b77b8/spec/dummy/config/initializers/mime_types.rb | spec/dummy/config/initializers/mime_types.rb | # Be sure to restart your server when you modify this file.
# Add new mime types for use in respond_to blocks:
# Mime::Type.register "text/richtext", :rtf
# Mime::Type.register_alias "text/html", :iphone
| ruby | MIT | 8f39e962881f17362cdf66a88da3edede22b77b8 | 2026-01-04T17:46:23.553669Z | false |
JDutil/contact_us | https://github.com/JDutil/contact_us/blob/8f39e962881f17362cdf66a88da3edede22b77b8/spec/dummy/config/initializers/secret_token.rb | spec/dummy/config/initializers/secret_token.rb | # Be sure to restart your server when you modify this file.
# Your secret key for verifying the integrity of signed cookies.
# If you change this key, all old signed cookies will become invalid!
# Make sure the secret is at least 30 characters and all random,
# no regular words or you'll be exposed to dictionary attac... | ruby | MIT | 8f39e962881f17362cdf66a88da3edede22b77b8 | 2026-01-04T17:46:23.553669Z | false |
JDutil/contact_us | https://github.com/JDutil/contact_us/blob/8f39e962881f17362cdf66a88da3edede22b77b8/spec/dummy/config/environments/test.rb | spec/dummy/config/environments/test.rb | Dummy::Application.configure do
# Settings specified here will take precedence over those in config/application.rb
# The test environment is used exclusively to run your application's
# test suite. You never need to work with it otherwise. Remember that
# your test database is "scratch space" for the test su... | ruby | MIT | 8f39e962881f17362cdf66a88da3edede22b77b8 | 2026-01-04T17:46:23.553669Z | false |
JDutil/contact_us | https://github.com/JDutil/contact_us/blob/8f39e962881f17362cdf66a88da3edede22b77b8/spec/dummy/config/environments/development.rb | spec/dummy/config/environments/development.rb | Dummy::Application.configure do
# Settings specified here will take precedence over those in config/application.rb
# In the development environment your application's code is reloaded on
# every request. This slows down response time but is perfect for development
# since you don't have to restart the webserv... | ruby | MIT | 8f39e962881f17362cdf66a88da3edede22b77b8 | 2026-01-04T17:46:23.553669Z | false |
JDutil/contact_us | https://github.com/JDutil/contact_us/blob/8f39e962881f17362cdf66a88da3edede22b77b8/spec/dummy/config/environments/production.rb | spec/dummy/config/environments/production.rb | Dummy::Application.configure do
# Settings specified here will take precedence over those in config/application.rb
# The production environment is meant for finished, "live" apps.
# Code is not reloaded between requests
config.cache_classes = true
# Full error reports are disabled and caching is turned on
... | ruby | MIT | 8f39e962881f17362cdf66a88da3edede22b77b8 | 2026-01-04T17:46:23.553669Z | false |
JDutil/contact_us | https://github.com/JDutil/contact_us/blob/8f39e962881f17362cdf66a88da3edede22b77b8/spec/lib/install_spec.rb | spec/lib/install_spec.rb | require 'spec_helper'
describe "Rake tasks" do
after(:each) do
@destination_root = File.expand_path("../../dummy", __FILE__)
FileUtils.rm_rf(@destination_root + "/config/initializers/contact_us.rb")
FileUtils.rm_rf(@destination_root + "/config/locales/contact_us.en.yml")
FileUtils.rm_rf(@destination... | ruby | MIT | 8f39e962881f17362cdf66a88da3edede22b77b8 | 2026-01-04T17:46:23.553669Z | false |
JDutil/contact_us | https://github.com/JDutil/contact_us/blob/8f39e962881f17362cdf66a88da3edede22b77b8/spec/lib/contact_us_spec.rb | spec/lib/contact_us_spec.rb | require 'spec_helper'
describe ContactUs do
after do
ContactUs.mailer_from = nil
ContactUs.mailer_to = nil
ContactUs.require_name = false
ContactUs.require_subject = false
ContactUs.success_redirect = nil
end
it "should be valid" do
expect(ContactUs).to be_a(Module)
end
describe 's... | ruby | MIT | 8f39e962881f17362cdf66a88da3edede22b77b8 | 2026-01-04T17:46:23.553669Z | false |
JDutil/contact_us | https://github.com/JDutil/contact_us/blob/8f39e962881f17362cdf66a88da3edede22b77b8/spec/mailers/contact_us/contact_mailer_spec.rb | spec/mailers/contact_us/contact_mailer_spec.rb | require 'spec_helper'
describe ContactUs::ContactMailer do
describe "#contact_email" do
before do
ContactUs.mailer_to = "contact@please-change-me.com"
@contact = ContactUs::Contact.new(:email => 'test@email.com', :message => 'Thanks!')
end
it "should render successfully" do
expect { ... | ruby | MIT | 8f39e962881f17362cdf66a88da3edede22b77b8 | 2026-01-04T17:46:23.553669Z | false |
JDutil/contact_us | https://github.com/JDutil/contact_us/blob/8f39e962881f17362cdf66a88da3edede22b77b8/lib/contact_us.rb | lib/contact_us.rb | module ContactUs
require 'contact_us/engine'
# Address ContactUs email notifications are sent from.
mattr_accessor :mailer_from
# Address to send ContactUs email notifications to.
mattr_accessor :mailer_to
# Enable or Disable name field.
mattr_accessor :require_name
# Enable or Disable subject field... | ruby | MIT | 8f39e962881f17362cdf66a88da3edede22b77b8 | 2026-01-04T17:46:23.553669Z | false |
JDutil/contact_us | https://github.com/JDutil/contact_us/blob/8f39e962881f17362cdf66a88da3edede22b77b8/lib/templates/contact_us.rb | lib/templates/contact_us.rb | # Use this hook to configure contact mailer.
ContactUs.setup do |config|
# ==> Mailer Configuration
# Configure the e-mail address which email notifications should be sent from. If emails must be sent from a verified email address you may set it here.
# Example:
# config.mailer_from = "contact@please-change-... | ruby | MIT | 8f39e962881f17362cdf66a88da3edede22b77b8 | 2026-01-04T17:46:23.553669Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.