mirror of
https://github.com/aws-actions/configure-aws-credentials.git
synced 2026-08-26 04:45:10 +09:00
Compare commits
80 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 023daa7fe5 | |||
| f586cc8d6c | |||
| 5726671b7e | |||
| 682539baa7 | |||
| 186395a864 | |||
| a19d847176 | |||
| afbf093795 | |||
| df03f9f89e | |||
| 5f641521a3 | |||
| cf1ab7af03 | |||
| feaa7fa4a6 | |||
| 4f2f92e5ab | |||
| 63c92be916 | |||
| d57f6a99b2 | |||
| b10102e8c0 | |||
| 329c87d69e | |||
| 7c78a8afc0 | |||
| bfc885690a | |||
| b8843be31a | |||
| 07c2f971ba | |||
| afaecf5658 | |||
| 9395f54576 | |||
| 15bf15ef24 | |||
| 0bb734a034 | |||
| 104814938c | |||
| 8203047ce9 | |||
| a3d672ff77 | |||
| 3c5e8d9305 | |||
| 26c46c2ae7 | |||
| 011701cc1b | |||
| b9e6c47506 | |||
| 9727186006 | |||
| 8c40159721 | |||
| ada05fa00e | |||
| 90be1075bb | |||
| b1e291fd46 | |||
| 5bf8e889ef | |||
| 8fd75be9bb | |||
| 65cd794383 | |||
| 56320524c9 | |||
| 4a10c382ea | |||
| d4fb44140f | |||
| 95bc17402b | |||
| b016bfd40a | |||
| abcf4fe216 | |||
| 6a502811f6 | |||
| fc10f5e66c | |||
| 2fbb264794 | |||
| 7704dba423 | |||
| 495fc37803 | |||
| c44e4cd308 | |||
| 5db0c4b245 | |||
| 8962602b76 | |||
| 996af9a61b | |||
| 70f70f3d01 | |||
| 40d50e0dc7 | |||
| d70ae8a9b8 | |||
| 29858782df | |||
| daed12437b | |||
| 3d0ec8cfd7 | |||
| 89d6bf8b63 | |||
| 89d9dc8901 | |||
| 59775fae63 | |||
| 8461db48ce | |||
| 1c6d3132e1 | |||
| 77b504aefa | |||
| 993b6a062d | |||
| 1fee7bbf94 | |||
| 096a34b527 | |||
| 036f9c6a9f | |||
| 1908557210 | |||
| 7be15a02d9 | |||
| 7289c29462 | |||
| a485a1e9a4 | |||
| c3748b7f3f | |||
| 2db6cd9a80 | |||
| d90b587a73 | |||
| 2aed65ee75 | |||
| cdfc29bebf | |||
| a30b23eed5 |
@@ -42,10 +42,10 @@ jobs:
|
|||||||
OSDS,arn:aws:secretsmanager:us-west-2:294535624312:secret:github-aws-sdk-osds-automation-ZHNalp
|
OSDS,arn:aws:secretsmanager:us-west-2:294535624312:secret:github-aws-sdk-osds-automation-ZHNalp
|
||||||
- name: Commit
|
- name: Commit
|
||||||
run: |
|
run: |
|
||||||
echo "::add-mask::${{ env.OSDS_ACCESS_TOKEN }}"
|
echo "::add-mask::${{ env.OSDS_ACCESS_TOKEN }}}"
|
||||||
git config user.name "GitHub Actions"
|
git config user.name "GitHub Actions"
|
||||||
git config user.email "github-aws-sdk-osds-automation@amazon.com"
|
git config user.email "github-aws-sdk-osds-automation@amazon.com"
|
||||||
git remote set-url origin https://${{ env.OSDS_ACCESS_TOKEN }}@github.com/aws-actions/configure-aws-credentials.git
|
git remote set-url origin https://x-access-token:${{ env.OSDS_ACCESS_TOKEN }}@github.com/aws-actions/configure-aws-credentials.git
|
||||||
git add dist
|
git add dist
|
||||||
git commit -m "chore: Update dist" || echo "No changes to commit"
|
git commit -m "chore: Update dist" || echo "No changes to commit"
|
||||||
git push origin
|
git push origin
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
|
||||||
queue_rules:
|
queue_rules:
|
||||||
- name: default
|
- name: default
|
||||||
conditions:
|
conditions:
|
||||||
|
|||||||
@@ -15,7 +15,6 @@ GitHub actions has recently started throwing warning messages regarding the depr
|
|||||||
+ [Session tagging](#session-tagging)
|
+ [Session tagging](#session-tagging)
|
||||||
+ [Sample IAM Role Permissions](#sample-iam-role-cloudformation-template)
|
+ [Sample IAM Role Permissions](#sample-iam-role-cloudformation-template)
|
||||||
- [Self-Hosted Runners](#self-hosted-runners)
|
- [Self-Hosted Runners](#self-hosted-runners)
|
||||||
+ [Proxy Configuration](#proxy-configuration)
|
|
||||||
- [License Summary](#license-summary)
|
- [License Summary](#license-summary)
|
||||||
- [Security Disclosures](#security-disclosures)
|
- [Security Disclosures](#security-disclosures)
|
||||||
|
|
||||||
@@ -93,12 +92,12 @@ The default audience is `sts.amazonaws.com` which you can replace by specifying
|
|||||||
|
|
||||||
The following table describes which identity is used based on which values are supplied to the Action:
|
The following table describes which identity is used based on which values are supplied to the Action:
|
||||||
|
|
||||||
| **Identity Used** | `aws-access-key-id` | `role-to-assume` | `web-identity-token-file` |
|
| **Identity Used** | `aws-access-key-id` | `role-to-assume` | `web-identity-token-file` |
|
||||||
| --------------------------------------------------------------- | ------------------- | ---------------- | ------------------------- |
|
|------------------------------------------------------------------|---------------------|------------------|---------------------------|
|
||||||
| [✅ Recommended] Assume Role directly using GitHub OIDC provider | | ✔ | |
|
| [✅ Recommended] Assume Role directly using GitHub OIDC provider | | ✔ | |
|
||||||
| IAM User | ✔ | | |
|
| IAM User | ✔ | | |
|
||||||
| Assume Role using IAM User credentials | ✔ | ✔ | |
|
| Assume Role using IAM User credentials | ✔ | ✔ | |
|
||||||
| Assume Role using WebIdentity Token File credentials | | ✔ | ✔ |
|
| Assume Role using WebIdentity Token File credentials | | ✔ | ✔ |
|
||||||
|
|
||||||
### Examples
|
### Examples
|
||||||
|
|
||||||
@@ -139,17 +138,6 @@ In this example, the audience has been changed from the default to use a differe
|
|||||||
|
|
||||||
Changing the default audience may be necessary when using non-default [AWS partitions](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html).
|
Changing the default audience may be necessary when using non-default [AWS partitions](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html).
|
||||||
|
|
||||||
```yaml
|
|
||||||
- name: Configure AWS Credentials
|
|
||||||
uses: aws-actions/configure-aws-credentials@v1
|
|
||||||
with:
|
|
||||||
aws-region: us-east-2
|
|
||||||
role-to-assume: arn:aws:iam::123456789100:role/my-github-actions-role
|
|
||||||
role-session-name: MySessionName
|
|
||||||
mask-aws-account-id: false
|
|
||||||
```
|
|
||||||
In this example, account ID masking has been disabled. By default, the AWS account ID will be obscured in the action's output. This may be helpful when debugging action failures.
|
|
||||||
|
|
||||||
### Sample IAM Role CloudFormation Template
|
### Sample IAM Role CloudFormation Template
|
||||||
```yaml
|
```yaml
|
||||||
Parameters:
|
Parameters:
|
||||||
@@ -161,10 +149,6 @@ Parameters:
|
|||||||
Description: Arn for the GitHub OIDC Provider.
|
Description: Arn for the GitHub OIDC Provider.
|
||||||
Default: ""
|
Default: ""
|
||||||
Type: String
|
Type: String
|
||||||
OIDCAudience:
|
|
||||||
Description: Audience supplied to configure-aws-credentials.
|
|
||||||
Default: "sts.amazonaws.com"
|
|
||||||
Type: String
|
|
||||||
|
|
||||||
Conditions:
|
Conditions:
|
||||||
CreateOIDCProvider: !Equals
|
CreateOIDCProvider: !Equals
|
||||||
@@ -185,8 +169,6 @@ Resources:
|
|||||||
- !Ref GithubOidc
|
- !Ref GithubOidc
|
||||||
- !Ref OIDCProviderArn
|
- !Ref OIDCProviderArn
|
||||||
Condition:
|
Condition:
|
||||||
StringEquals:
|
|
||||||
token.actions.githubusercontent.com:aud: !Ref OIDCAudience
|
|
||||||
StringLike:
|
StringLike:
|
||||||
token.actions.githubusercontent.com:sub: !Sub repo:${GitHubOrg}/${RepositoryName}:*
|
token.actions.githubusercontent.com:sub: !Sub repo:${GitHubOrg}/${RepositoryName}:*
|
||||||
|
|
||||||
@@ -221,15 +203,15 @@ For further information on OIDC and GitHub Actions, please see:
|
|||||||
The session will have the name "GitHubActions" and be tagged with the following tags:
|
The session will have the name "GitHubActions" and be tagged with the following tags:
|
||||||
(`GITHUB_` environment variable definitions can be [found here](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/using-environment-variables#default-environment-variables))
|
(`GITHUB_` environment variable definitions can be [found here](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/using-environment-variables#default-environment-variables))
|
||||||
|
|
||||||
| Key | Value |
|
| Key | Value|
|
||||||
| ---------- | ----------------- |
|
| --- | --- |
|
||||||
| GitHub | "Actions" |
|
| GitHub | "Actions" |
|
||||||
| Repository | GITHUB_REPOSITORY |
|
| Repository | GITHUB_REPOSITORY |
|
||||||
| Workflow | GITHUB_WORKFLOW |
|
| Workflow | GITHUB_WORKFLOW |
|
||||||
| Action | GITHUB_ACTION |
|
| Action | GITHUB_ACTION |
|
||||||
| Actor | GITHUB_ACTOR |
|
| Actor | GITHUB_ACTOR |
|
||||||
| Branch | GITHUB_REF |
|
| Branch | GITHUB_REF |
|
||||||
| Commit | GITHUB_SHA |
|
| Commit | GITHUB_SHA |
|
||||||
|
|
||||||
_Note: all tag values must conform to [the requirements](https://docs.aws.amazon.com/STS/latest/APIReference/API_Tag.html). Particularly, `GITHUB_WORKFLOW` will be truncated if it's too long. If `GITHUB_ACTOR` or `GITHUB_WORKFLOW` contain invalid characters, the characters will be replaced with an '*'._
|
_Note: all tag values must conform to [the requirements](https://docs.aws.amazon.com/STS/latest/APIReference/API_Tag.html). Particularly, `GITHUB_WORKFLOW` will be truncated if it's too long. If `GITHUB_ACTOR` or `GITHUB_WORKFLOW` contain invalid characters, the characters will be replaced with an '*'._
|
||||||
|
|
||||||
@@ -279,30 +261,6 @@ with:
|
|||||||
web-identity-token-file: /var/run/secrets/eks.amazonaws.com/serviceaccount/token
|
web-identity-token-file: /var/run/secrets/eks.amazonaws.com/serviceaccount/token
|
||||||
```
|
```
|
||||||
|
|
||||||
### Proxy Configuration
|
|
||||||
|
|
||||||
If you run in self-hosted environments and in secured environment where you need use a specific proxy you can set it in the action manually.
|
|
||||||
|
|
||||||
Additionally this action will always consider already configured proxy in the environment.
|
|
||||||
|
|
||||||
Manually configured proxy:
|
|
||||||
```yaml
|
|
||||||
uses: aws-actions/configure-aws-credentials@v1
|
|
||||||
with:
|
|
||||||
aws-region: us-east-2
|
|
||||||
role-to-assume: my-github-actions-role
|
|
||||||
http-proxy: "http://companydomain.com:3128"
|
|
||||||
```
|
|
||||||
|
|
||||||
Proxy configured in the environment variable:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
# Your environment configuration
|
|
||||||
HTTP_PROXY="http://companydomain.com:3128"
|
|
||||||
```
|
|
||||||
|
|
||||||
The action will read the underlying proxy configuration from the environment and you don't need to configure it in the action.
|
|
||||||
|
|
||||||
### Use with the AWS CLI
|
### Use with the AWS CLI
|
||||||
|
|
||||||
This workflow does _not_ install the [AWS CLI](https://aws.amazon.com/cli/) into your environment. Self-hosted runners that intend to run this action prior to executing `aws` commands need to have the AWS CLI [installed](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-install.html) if it's not already present.
|
This workflow does _not_ install the [AWS CLI](https://aws.amazon.com/cli/) into your environment. Self-hosted runners that intend to run this action prior to executing `aws` commands need to have the AWS CLI [installed](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-install.html) if it's not already present.
|
||||||
|
|||||||
+1
-4
@@ -55,13 +55,10 @@ inputs:
|
|||||||
role-skip-session-tagging:
|
role-skip-session-tagging:
|
||||||
description: 'Skip session tagging during role assumption'
|
description: 'Skip session tagging during role assumption'
|
||||||
required: false
|
required: false
|
||||||
http-proxy:
|
|
||||||
description: 'Proxy to use for the AWS SDK agent'
|
|
||||||
required: false
|
|
||||||
outputs:
|
outputs:
|
||||||
aws-account-id:
|
aws-account-id:
|
||||||
description: 'The AWS account ID for the provided credentials'
|
description: 'The AWS account ID for the provided credentials'
|
||||||
runs:
|
runs:
|
||||||
using: 'node12'
|
using: 'node16'
|
||||||
main: 'dist/index.js'
|
main: 'dist/index.js'
|
||||||
post: 'dist/cleanup/index.js'
|
post: 'dist/cleanup/index.js'
|
||||||
|
|||||||
Vendored
+75
-1742
File diff suppressed because one or more lines are too long
@@ -3,7 +3,6 @@ const aws = require('aws-sdk');
|
|||||||
const assert = require('assert');
|
const assert = require('assert');
|
||||||
const fs = require('fs');
|
const fs = require('fs');
|
||||||
const path = require('path');
|
const path = require('path');
|
||||||
const proxy = require('https-proxy-agent');
|
|
||||||
|
|
||||||
// Use 1hr as role duration when using session token or OIDC
|
// Use 1hr as role duration when using session token or OIDC
|
||||||
// Otherwise, use the max duration of GitHub action (6hr)
|
// Otherwise, use the max duration of GitHub action (6hr)
|
||||||
@@ -261,26 +260,6 @@ const retryAndBackoff = async (fn, isRetryable, retries = 0, maxRetries = 12, ba
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function configureProxy(proxyServer) {
|
|
||||||
const proxyFromEnv = process.env.HTTP_PROXY || process.env.http_proxy;
|
|
||||||
|
|
||||||
if (proxyFromEnv || proxyServer) {
|
|
||||||
let proxyToSet = null;
|
|
||||||
|
|
||||||
if (proxyServer){
|
|
||||||
console.log(`Setting proxy from actions input: ${proxyServer}`);
|
|
||||||
proxyToSet = proxyServer;
|
|
||||||
} else {
|
|
||||||
console.log(`Setting proxy from environment: ${proxyFromEnv}`);
|
|
||||||
proxyToSet = proxyFromEnv;
|
|
||||||
}
|
|
||||||
|
|
||||||
aws.config.update({
|
|
||||||
httpOptions: { agent: proxy(proxyToSet) }
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
async function run() {
|
async function run() {
|
||||||
try {
|
try {
|
||||||
// Get inputs
|
// Get inputs
|
||||||
@@ -299,7 +278,6 @@ async function run() {
|
|||||||
const roleSkipSessionTaggingInput = core.getInput('role-skip-session-tagging', { required: false })|| 'false';
|
const roleSkipSessionTaggingInput = core.getInput('role-skip-session-tagging', { required: false })|| 'false';
|
||||||
const roleSkipSessionTagging = roleSkipSessionTaggingInput.toLowerCase() === 'true';
|
const roleSkipSessionTagging = roleSkipSessionTaggingInput.toLowerCase() === 'true';
|
||||||
const webIdentityTokenFile = core.getInput('web-identity-token-file', { required: false });
|
const webIdentityTokenFile = core.getInput('web-identity-token-file', { required: false });
|
||||||
const proxyServer = core.getInput('http-proxy', { required: false });
|
|
||||||
|
|
||||||
if (!region.match(REGION_REGEX)) {
|
if (!region.match(REGION_REGEX)) {
|
||||||
throw new Error(`Region is not valid: ${region}`);
|
throw new Error(`Region is not valid: ${region}`);
|
||||||
@@ -329,9 +307,6 @@ async function run() {
|
|||||||
|
|
||||||
exportCredentials({accessKeyId, secretAccessKey, sessionToken});
|
exportCredentials({accessKeyId, secretAccessKey, sessionToken});
|
||||||
}
|
}
|
||||||
|
|
||||||
// Configures proxy
|
|
||||||
configureProxy(proxyServer);
|
|
||||||
|
|
||||||
// Attempt to load credentials from the GitHub OIDC provider.
|
// Attempt to load credentials from the GitHub OIDC provider.
|
||||||
// If a user provides an IAM Role Arn and DOESN'T provide an Access Key Id
|
// If a user provides an IAM Role Arn and DOESN'T provide an Access Key Id
|
||||||
|
|||||||
+1
-71
@@ -2,7 +2,6 @@ const core = require('@actions/core');
|
|||||||
const assert = require('assert');
|
const assert = require('assert');
|
||||||
const aws = require('aws-sdk');
|
const aws = require('aws-sdk');
|
||||||
const { run, withSleep, reset } = require('./index.js');
|
const { run, withSleep, reset } = require('./index.js');
|
||||||
const proxy = require('https-proxy-agent');
|
|
||||||
|
|
||||||
jest.mock('@actions/core');
|
jest.mock('@actions/core');
|
||||||
|
|
||||||
@@ -34,7 +33,6 @@ function mockGetInput(requestResponse) {
|
|||||||
return requestResponse[name]
|
return requestResponse[name]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const CREDS_INPUTS = {
|
const CREDS_INPUTS = {
|
||||||
'aws-access-key-id': FAKE_ACCESS_KEY_ID,
|
'aws-access-key-id': FAKE_ACCESS_KEY_ID,
|
||||||
'aws-secret-access-key': FAKE_SECRET_ACCESS_KEY
|
'aws-secret-access-key': FAKE_SECRET_ACCESS_KEY
|
||||||
@@ -54,8 +52,7 @@ const mockStsAssumeRoleWithWebIdentity = jest.fn();
|
|||||||
jest.mock('aws-sdk', () => {
|
jest.mock('aws-sdk', () => {
|
||||||
return {
|
return {
|
||||||
config: {
|
config: {
|
||||||
getCredentials: jest.fn(),
|
getCredentials: jest.fn()
|
||||||
update: jest.fn(),
|
|
||||||
},
|
},
|
||||||
STS: jest.fn(() => ({
|
STS: jest.fn(() => ({
|
||||||
getCallerIdentity: mockStsCallerIdentity,
|
getCallerIdentity: mockStsCallerIdentity,
|
||||||
@@ -130,9 +127,6 @@ describe('Configure AWS Credentials', () => {
|
|||||||
callback(null);
|
callback(null);
|
||||||
});
|
});
|
||||||
|
|
||||||
aws.config.update.mockReset();
|
|
||||||
aws.config.update.mockImplementationOnce();
|
|
||||||
|
|
||||||
mockStsAssumeRole.mockImplementation(() => {
|
mockStsAssumeRole.mockImplementation(() => {
|
||||||
return {
|
return {
|
||||||
promise() {
|
promise() {
|
||||||
@@ -810,68 +804,4 @@ describe('Configure AWS Credentials', () => {
|
|||||||
await run();
|
await run();
|
||||||
});
|
});
|
||||||
|
|
||||||
describe('proxy settings', () => {
|
|
||||||
|
|
||||||
test('setting proxy with actions input', async () => {
|
|
||||||
const EXPECTED_PROXY = 'http://test.me'
|
|
||||||
core.getInput = jest
|
|
||||||
.fn()
|
|
||||||
.mockImplementation(
|
|
||||||
mockGetInput({ ...DEFAULT_INPUTS, 'http-proxy': EXPECTED_PROXY })
|
|
||||||
);
|
|
||||||
|
|
||||||
await run();
|
|
||||||
|
|
||||||
expect(aws.config.update).toHaveBeenCalledTimes(1);
|
|
||||||
expect(aws.config.update).toHaveBeenCalledWith({
|
|
||||||
httpOptions: { agent: proxy(EXPECTED_PROXY) }
|
|
||||||
});
|
|
||||||
});
|
|
||||||
test('setting proxy from environment vars', async () => {
|
|
||||||
const EXPECTED_PROXY = 'http://test.me'
|
|
||||||
process.env.HTTP_PROXY = EXPECTED_PROXY;
|
|
||||||
core.getInput = jest
|
|
||||||
.fn()
|
|
||||||
.mockImplementation(
|
|
||||||
mockGetInput({ ...DEFAULT_INPUTS })
|
|
||||||
);
|
|
||||||
|
|
||||||
await run();
|
|
||||||
|
|
||||||
expect(aws.config.update).toHaveBeenCalledTimes(1);
|
|
||||||
expect(aws.config.update).toHaveBeenCalledWith({
|
|
||||||
httpOptions: { agent: proxy(EXPECTED_PROXY) }
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
test('setting proxy - prefer action input', async () => {
|
|
||||||
const EXPECTED_PROXY = 'http://test.me'
|
|
||||||
const FALSE_PROXY = 'http://env.me'
|
|
||||||
process.env.HTTP_PROXY = FALSE_PROXY;
|
|
||||||
core.getInput = jest
|
|
||||||
.fn()
|
|
||||||
.mockImplementation(
|
|
||||||
mockGetInput({ ...DEFAULT_INPUTS, 'http-proxy': EXPECTED_PROXY })
|
|
||||||
);
|
|
||||||
|
|
||||||
await run();
|
|
||||||
|
|
||||||
expect(aws.config.update).toHaveBeenCalledTimes(1);
|
|
||||||
expect(aws.config.update).toHaveBeenCalledWith({
|
|
||||||
httpOptions: { agent: proxy(EXPECTED_PROXY) }
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
test('ignoring proxy - without anything set', async () => {
|
|
||||||
core.getInput = jest
|
|
||||||
.fn()
|
|
||||||
.mockImplementation(
|
|
||||||
mockGetInput({ ...DEFAULT_INPUTS})
|
|
||||||
);
|
|
||||||
|
|
||||||
await run();
|
|
||||||
|
|
||||||
expect(aws.config.update).toHaveBeenCalledTimes(0);
|
|
||||||
});
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
|
|||||||
Generated
+36
-44
@@ -474,9 +474,9 @@
|
|||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"@eslint/eslintrc": {
|
"@eslint/eslintrc": {
|
||||||
"version": "1.4.1",
|
"version": "2.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-1.4.1.tgz",
|
"resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.0.0.tgz",
|
||||||
"integrity": "sha512-XXrH9Uarn0stsyldqDYq8r++mROmWRI1xKMXa640Bb//SY1+ECYX6VzT6Lcx5frD0V30XieqJ0oX9I2Xj5aoMA==",
|
"integrity": "sha512-fluIaaV+GyV24CCu/ggiHdV+j4RNh85yQnAYS/G2mZODZgGmmlrgCydjUcV3YvxCm9x8nMAfThsqTni4KiXT4A==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"ajv": "^6.12.4",
|
"ajv": "^6.12.4",
|
||||||
@@ -490,6 +490,12 @@
|
|||||||
"strip-json-comments": "^3.1.1"
|
"strip-json-comments": "^3.1.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"@eslint/js": {
|
||||||
|
"version": "8.35.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.35.0.tgz",
|
||||||
|
"integrity": "sha512-JXdzbRiWclLVoD8sNUjR443VVlYqiYmDVT6rGUEIEHU5YJW0gaVZwV2xgM7D4arkvASqD0IlLUVjHiFuxaftRw==",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
"@humanwhocodes/config-array": {
|
"@humanwhocodes/config-array": {
|
||||||
"version": "0.11.8",
|
"version": "0.11.8",
|
||||||
"resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.8.tgz",
|
"resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.8.tgz",
|
||||||
@@ -1029,14 +1035,6 @@
|
|||||||
"integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==",
|
"integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"agent-base": {
|
|
||||||
"version": "6.0.2",
|
|
||||||
"resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz",
|
|
||||||
"integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==",
|
|
||||||
"requires": {
|
|
||||||
"debug": "4"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"ajv": {
|
"ajv": {
|
||||||
"version": "6.12.6",
|
"version": "6.12.6",
|
||||||
"resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz",
|
"resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz",
|
||||||
@@ -1108,9 +1106,9 @@
|
|||||||
"integrity": "sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw=="
|
"integrity": "sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw=="
|
||||||
},
|
},
|
||||||
"aws-sdk": {
|
"aws-sdk": {
|
||||||
"version": "2.1320.0",
|
"version": "2.1324.0",
|
||||||
"resolved": "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.1320.0.tgz",
|
"resolved": "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.1324.0.tgz",
|
||||||
"integrity": "sha512-oOsR+ClQZ6hmuAD/fu9gpsGMuLY1xG7m5SE/PDY3ZL4n34dmoXqwhQ3AHT1NTE0Z0sH1th6UqpHeHPS1trMOXw==",
|
"integrity": "sha512-7T9Jn6qtzCANdqRcdhxZ9Fx31/U+h/VPFxEU3+sFEnC7WtGtRlgmsJOY2lIdFKRXkHYT3Jw5MqDyjnb/i1QqbA==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"buffer": "4.9.2",
|
"buffer": "4.9.2",
|
||||||
"events": "1.1.1",
|
"events": "1.1.1",
|
||||||
@@ -1132,9 +1130,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"axios": {
|
"axios": {
|
||||||
"version": "1.3.3",
|
"version": "1.3.4",
|
||||||
"resolved": "https://registry.npmjs.org/axios/-/axios-1.3.3.tgz",
|
"resolved": "https://registry.npmjs.org/axios/-/axios-1.3.4.tgz",
|
||||||
"integrity": "sha512-eYq77dYIFS77AQlhzEL937yUBSepBfPIe8FcgEDN35vMNZKMrs81pgnyrQpwfy4NF4b4XWX1Zgx7yX+25w8QJA==",
|
"integrity": "sha512-toYm+Bsyl6VC5wSkfkbbNB6ROv7KY93PEBBL6xyDczaIHasAiv4wPqQ/c4RjoQzipxRD2W5g21cOqQulZ7rHwQ==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"follow-redirects": "^1.15.0",
|
"follow-redirects": "^1.15.0",
|
||||||
"form-data": "^4.0.0",
|
"form-data": "^4.0.0",
|
||||||
@@ -1382,7 +1380,7 @@
|
|||||||
"concat-map": {
|
"concat-map": {
|
||||||
"version": "0.0.1",
|
"version": "0.0.1",
|
||||||
"resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
|
"resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
|
||||||
"integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=",
|
"integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"convert-source-map": {
|
"convert-source-map": {
|
||||||
@@ -1406,6 +1404,7 @@
|
|||||||
"version": "4.3.4",
|
"version": "4.3.4",
|
||||||
"resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz",
|
"resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz",
|
||||||
"integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==",
|
"integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==",
|
||||||
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"ms": "2.1.2"
|
"ms": "2.1.2"
|
||||||
}
|
}
|
||||||
@@ -1494,12 +1493,13 @@
|
|||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"eslint": {
|
"eslint": {
|
||||||
"version": "8.34.0",
|
"version": "8.35.0",
|
||||||
"resolved": "https://registry.npmjs.org/eslint/-/eslint-8.34.0.tgz",
|
"resolved": "https://registry.npmjs.org/eslint/-/eslint-8.35.0.tgz",
|
||||||
"integrity": "sha512-1Z8iFsucw+7kSqXNZVslXS8Ioa4u2KM7GPwuKtkTFAqZ/cHMcEaR+1+Br0wLlot49cNxIiZk5wp8EAbPcYZxTg==",
|
"integrity": "sha512-BxAf1fVL7w+JLRQhWl2pzGeSiGqbWumV4WNvc9Rhp6tiCtm4oHnyPBSEtMGZwrQgudFQ+otqzWoPB7x+hxoWsw==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"@eslint/eslintrc": "^1.4.1",
|
"@eslint/eslintrc": "^2.0.0",
|
||||||
|
"@eslint/js": "8.35.0",
|
||||||
"@humanwhocodes/config-array": "^0.11.8",
|
"@humanwhocodes/config-array": "^0.11.8",
|
||||||
"@humanwhocodes/module-importer": "^1.0.1",
|
"@humanwhocodes/module-importer": "^1.0.1",
|
||||||
"@nodelib/fs.walk": "^1.2.8",
|
"@nodelib/fs.walk": "^1.2.8",
|
||||||
@@ -1513,7 +1513,7 @@
|
|||||||
"eslint-utils": "^3.0.0",
|
"eslint-utils": "^3.0.0",
|
||||||
"eslint-visitor-keys": "^3.3.0",
|
"eslint-visitor-keys": "^3.3.0",
|
||||||
"espree": "^9.4.0",
|
"espree": "^9.4.0",
|
||||||
"esquery": "^1.4.0",
|
"esquery": "^1.4.2",
|
||||||
"esutils": "^2.0.2",
|
"esutils": "^2.0.2",
|
||||||
"fast-deep-equal": "^3.1.3",
|
"fast-deep-equal": "^3.1.3",
|
||||||
"file-entry-cache": "^6.0.1",
|
"file-entry-cache": "^6.0.1",
|
||||||
@@ -1591,9 +1591,9 @@
|
|||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"esquery": {
|
"esquery": {
|
||||||
"version": "1.4.0",
|
"version": "1.4.2",
|
||||||
"resolved": "https://registry.npmjs.org/esquery/-/esquery-1.4.0.tgz",
|
"resolved": "https://registry.npmjs.org/esquery/-/esquery-1.4.2.tgz",
|
||||||
"integrity": "sha512-cCDispWt5vHHtwMY2YrAQ4ibFkAL8RbH5YGBnZBc90MolvvfkkQcJro/aZiAQUlQ3qgrYS6D6v8Gc5G5CQsc9w==",
|
"integrity": "sha512-JVSoLdTlTDkmjFmab7H/9SL9qGSyjElT3myyKp7krqjVFQCDLmj1QFaCLRFBszBKI0XVZaiiXvuPIX3ZwHe1Ng==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"estraverse": "^5.1.0"
|
"estraverse": "^5.1.0"
|
||||||
@@ -1767,7 +1767,7 @@
|
|||||||
"fs.realpath": {
|
"fs.realpath": {
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
|
||||||
"integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=",
|
"integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"fsevents": {
|
"fsevents": {
|
||||||
@@ -1901,15 +1901,6 @@
|
|||||||
"integrity": "sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==",
|
"integrity": "sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"https-proxy-agent": {
|
|
||||||
"version": "5.0.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz",
|
|
||||||
"integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==",
|
|
||||||
"requires": {
|
|
||||||
"agent-base": "6",
|
|
||||||
"debug": "4"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"human-signals": {
|
"human-signals": {
|
||||||
"version": "2.1.0",
|
"version": "2.1.0",
|
||||||
"resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz",
|
"resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz",
|
||||||
@@ -1950,13 +1941,13 @@
|
|||||||
"imurmurhash": {
|
"imurmurhash": {
|
||||||
"version": "0.1.4",
|
"version": "0.1.4",
|
||||||
"resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz",
|
"resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz",
|
||||||
"integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=",
|
"integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"inflight": {
|
"inflight": {
|
||||||
"version": "1.0.6",
|
"version": "1.0.6",
|
||||||
"resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
|
"resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
|
||||||
"integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=",
|
"integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"once": "^1.3.0",
|
"once": "^1.3.0",
|
||||||
@@ -2070,7 +2061,7 @@
|
|||||||
"isexe": {
|
"isexe": {
|
||||||
"version": "2.0.0",
|
"version": "2.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",
|
||||||
"integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=",
|
"integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"istanbul-lib-coverage": {
|
"istanbul-lib-coverage": {
|
||||||
@@ -2753,12 +2744,13 @@
|
|||||||
"ms": {
|
"ms": {
|
||||||
"version": "2.1.2",
|
"version": "2.1.2",
|
||||||
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
|
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
|
||||||
"integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
|
"integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
|
||||||
|
"dev": true
|
||||||
},
|
},
|
||||||
"natural-compare": {
|
"natural-compare": {
|
||||||
"version": "1.4.0",
|
"version": "1.4.0",
|
||||||
"resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz",
|
"resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz",
|
||||||
"integrity": "sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=",
|
"integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"node-int64": {
|
"node-int64": {
|
||||||
@@ -2791,7 +2783,7 @@
|
|||||||
"once": {
|
"once": {
|
||||||
"version": "1.4.0",
|
"version": "1.4.0",
|
||||||
"resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
|
"resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
|
||||||
"integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=",
|
"integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"wrappy": "1"
|
"wrappy": "1"
|
||||||
@@ -2874,7 +2866,7 @@
|
|||||||
"path-is-absolute": {
|
"path-is-absolute": {
|
||||||
"version": "1.0.1",
|
"version": "1.0.1",
|
||||||
"resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
|
"resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
|
||||||
"integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=",
|
"integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"path-key": {
|
"path-key": {
|
||||||
@@ -3426,7 +3418,7 @@
|
|||||||
"wrappy": {
|
"wrappy": {
|
||||||
"version": "1.0.2",
|
"version": "1.0.2",
|
||||||
"resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
|
"resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
|
||||||
"integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=",
|
"integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"write-file-atomic": {
|
"write-file-atomic": {
|
||||||
|
|||||||
+3
-4
@@ -26,13 +26,12 @@
|
|||||||
"homepage": "https://github.com/aws-actions/configure-aws-credentials#readme",
|
"homepage": "https://github.com/aws-actions/configure-aws-credentials#readme",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@actions/core": "^1.10.0",
|
"@actions/core": "^1.10.0",
|
||||||
"aws-sdk": "^2.1320.0",
|
"aws-sdk": "^2.1324.0",
|
||||||
"axios": "^1.3.3",
|
"axios": "^1.3.4"
|
||||||
"https-proxy-agent": "^5.0.1"
|
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vercel/ncc": "^0.36.1",
|
"@vercel/ncc": "^0.36.1",
|
||||||
"eslint": "^8.34.0",
|
"eslint": "^8.35.0",
|
||||||
"jest": "^29.4.3"
|
"jest": "^29.4.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user