
Security News
Follow-up and Clarification on Recent Malicious Ruby Gems Campaign
A clarification on our recent research investigating 60 malicious Ruby gems.
gcp_schedulerは、Google Cloud Schedulerを簡単に操作できるコマンドラインツールです。 create、list、deleteのコマンドでCloud Schedulerのジョブを追加、表示、削除できます。
gem install gcp_scheduler
以下のコマンド例を参考にして、CLIを使用してください。
各コマンドは認証情報を下記のように環境変数で設定してある状態で実行する必要があります。
export GOOGLE_APPLICATION_CREDENTIALS=your_credential.json
gcp_scheduler create --gcp_project your_project_name --scheduler_file path/to/scheduler.yml --prefix development- --region asia-northeast1
gcp_scheduler list --gcp_project your_project_name --prefix development- --region asia-northeast1
gcp_scheduler delete --gcp_project your_project_name --prefix development- --region asia-northeast1
Option | Description |
---|---|
--gcp_project | Google Cloud project name |
--scheduler_file | Path to the scheduler configuration file (used with create command) |
--prefix | Prefix for the job name (used with create , list , and delete commands) |
--region | Cloud Scheduler region |
--scheduler_file
オプションでyamlファイルを指定してください。スケジュールを定義するために使用されます。以下は、scheduler.ymlファイルのサンプルです。
jobs:
- name: WeeklyJob
description: 'Runs every week at 9:00 a.m. Created:<%= Time.now.strftime("%Y/%m/%d %-H:%M") %>'
schedule: '0 9 * * *'
time_zone: Asia/Tokyo
uri: https://yourdomain.example.com/api/v1/jobs
http_method: POST
params:
job_name: weekly_job
http_headers:
Content-Type: application/json
Authorization: 'Bearer <%= ENV["SECRET"] %>'
Bug reports and pull requests are welcome on GitHub at https://github.com/bluerabbit/gcp_scheduler.
The gem is available as open source under the terms of the MIT License.
FAQs
Unknown package
We found that gcp_scheduler demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.
Security News
ESLint now supports parallel linting with a new --concurrency flag, delivering major speed gains and closing a 10-year-old feature request.
Research
/Security News
A malicious Go module posing as an SSH brute forcer exfiltrates stolen credentials to a Telegram bot controlled by a Russian-speaking threat actor.