Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

reg-publish-s3-plugin

Package Overview
Dependencies
Maintainers
1
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

reg-publish-s3-plugin

Fetch and publish snapshot images to AWS S3.

  • 0.14.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
42K
increased by3.69%
Maintainers
1
Weekly downloads
 
Created
Source

reg-publish-s3-plugin

reg-suit plugin to fetch and publish snapshot images to AWS S3.

Install

npm i reg-publish-s3-plugin -D
reg-suit prepare -p publish-s3

Requirements

To use this plugin, you need to create an S3 bucket and configure to allow to access it from your CI.

Configure

{
  bucketName: string;
  acl?: string;
  sse?: boolean | string;
  sseKMSKeyId?: string;
  customDomain?: string;
  pathPrefix?: string;
  sdkOptions?: S3ClientConfig;
}
  • bucketName - Required - AWS S3 bucket name to publish the snapshot images to.
  • enableACL - Optional - Specifies whether ACL is enabled or not. Default true.
  • acl - Optional - Specify ACL property. By default, public-read.
  • sse - Optional - Specify server-side encryption property. Default false. If you set true, this plugin send with --sse="AES256.
  • sseKMSKeyId - Optional - Specify server-side encryption KMS KEY ID. If provided, is passed as SSEKMSKeyId to s3.putObject.
  • customDomain - Optional - Set if you have your domain and host S3 on it. If set, the HTML report will be published with this custom domain(e.g. https://your-sub.example.com/...).
  • pathPrefix - Optional - Specify paths. For example if you set some_dir, the report is published with URL such as https://your-backet-name.s3.amazonaws.com/some_dir/xxxxxxxxx/index.html.
  • sdkOptions - Optional - Specify options to pass to S3Client constructor. For details about the options, refer to the AWS JavaScript SDK docs.

IAM Role Policy

This plugin needs following role policy.

  "Action": [
    "s3:DeleteObject",
    "s3:GetObject",
    "s3:GetObjectAcl",
    "s3:PutObject",
    "s3:PutObjectAcl",
    "s3:ListBucket"
  ]

Keywords

FAQs

Package last updated on 02 May 2024

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc