-
Notifications
You must be signed in to change notification settings - Fork 3
Issue/112 #180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Issue/112 #180
Changes from all commits
375fdbd
6474a30
2290c22
50ba51c
1d0f862
4c56094
4936481
923eb3c
ba6696b
901e069
c732c72
796de8b
0822c64
c2d2f80
442d752
67084c0
79d1f94
bae6133
5aee785
0c53125
31f8512
453b6c2
218e97f
b1f6d84
da1c8ff
6b3512d
402bad5
dd6a6aa
d36268e
728068d
956d55a
3c99c1e
1e1b267
98c9a8b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,57 @@ | ||
| interactions: | ||
| - request: | ||
| body: null | ||
| headers: | ||
| Accept: | ||
| - '*/*' | ||
| Accept-Encoding: | ||
| - gzip, deflate | ||
| Connection: | ||
| - keep-alive | ||
| User-Agent: | ||
| - python-requests/2.32.5 | ||
| method: GET | ||
| uri: https://harmony.uat.earthdata.nasa.gov/jobs/3d276f84-56e2-4f0a-acb2-35b9fcaaa317?linktype=https | ||
| response: | ||
| body: | ||
| string: '{"code":"harmony.UnauthorizedError","description":"Error: You are not | ||
| authorized to access the requested resource"}' | ||
| headers: | ||
| Access-Control-Allow-Origin: | ||
| - '*' | ||
| Connection: | ||
| - keep-alive | ||
| Content-Length: | ||
| - '115' | ||
| Content-Type: | ||
| - application/json; charset=utf-8 | ||
| Date: | ||
| - Wed, 29 Apr 2026 15:50:03 GMT | ||
| ETag: | ||
| - W/"73-nItWkl68x6IlPn6tx7bg/IcouGY" | ||
| Server: | ||
| - CloudFront | ||
| Strict-Transport-Security: | ||
| - max-age=31536000; includeSubDomains; preload | ||
| Via: | ||
| - 1.1 22922394e3534f85930c1603d51f2156.cloudfront.net (CloudFront) | ||
| X-Amz-Cf-Id: | ||
| - 8h3Stmve4aRgESrEJpwVOaf5co7Gx6FbA5eRgrpChi2FoepoNyHhPg== | ||
| X-Amz-Cf-Pop: | ||
| - SFO53-P10 | ||
| X-Cache: | ||
| - Error from cloudfront | ||
| X-Content-Type-Options: | ||
| - nosniff | ||
| X-Frame-Options: | ||
| - SAMEORIGIN | ||
| X-Powered-By: | ||
| - Express | ||
| X-Request-Id: | ||
| - 8h3Stmve4aRgESrEJpwVOaf5co7Gx6FbA5eRgrpChi2FoepoNyHhPg== | ||
| X-XSS-Protection: | ||
| - 1; mode=block | ||
| status: | ||
| code: 401 | ||
| message: Unauthorized | ||
| version: 1 |
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is there a reason why the two cassettes in the |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,267 @@ | ||
| interactions: | ||
| - request: | ||
| body: <CreateBucketConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><LocationConstraint>us-west-2</LocationConstraint></CreateBucketConfiguration> | ||
| headers: | ||
| Content-Length: | ||
| - '153' | ||
| User-Agent: | ||
| - !!binary | | ||
| Qm90bzMvMS4yNi4xNjUgUHl0aG9uLzMuMTAuMTMgRGFyd2luLzI0LjYuMCBCb3RvY29yZS8xLjI5 | ||
| LjE2NQ== | ||
| X-Amz-Content-SHA256: | ||
| - !!binary | | ||
| YTRhM2QyNjMxNzliZmNiYWY4ODc1NWIxNGVhOWRiMzA0OGU0MTc5YzAzYmJjOTRjY2YwZjEzYzhj | ||
| MmQzZGY2YQ== | ||
| X-Amz-Date: | ||
| - !!binary | | ||
| MjAyNjA0MjhUMTIxNzI0Wg== | ||
| amz-sdk-invocation-id: | ||
| - !!binary | | ||
| MjlhZTA0ODctMGE3NC00YzViLWJmNDctNzc1ZDQ4NTA2NDVj | ||
| amz-sdk-request: | ||
| - !!binary | | ||
| YXR0ZW1wdD0x | ||
| method: PUT | ||
| uri: https://harmony-uat-staging.s3.us-west-2.amazonaws.com/ | ||
| response: | ||
| body: | ||
| string: '<?xml version="1.0" encoding="UTF-8"?> | ||
|
|
||
| <Error><Code>BucketAlreadyExists</Code><Message>The requested bucket name | ||
| is not available. The bucket namespace is shared by all users of the system. | ||
| Please select a different name and try again.</Message><BucketName>harmony-uat-staging</BucketName><RequestId>3KDANE7WF976V34N</RequestId><HostId>SjY5MpO95JO7GJNLWoMrvbLjgpvS0/fKYzAYt2d4IlZlHDxSzPVp+Pg2yHdinX9fMG/fxeBRhs8=</HostId></Error>' | ||
| headers: | ||
| Content-Type: | ||
| - application/xml | ||
| Date: | ||
| - Tue, 28 Apr 2026 12:17:24 GMT | ||
| Server: | ||
| - AmazonS3 | ||
| Transfer-Encoding: | ||
| - chunked | ||
| x-amz-bucket-region: | ||
| - us-west-2 | ||
| x-amz-id-2: | ||
| - SjY5MpO95JO7GJNLWoMrvbLjgpvS0/fKYzAYt2d4IlZlHDxSzPVp+Pg2yHdinX9fMG/fxeBRhs8= | ||
| x-amz-request-id: | ||
| - 3KDANE7WF976V34N | ||
| status: | ||
| code: 409 | ||
| message: Conflict | ||
| - request: | ||
| body: <CreateBucketConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><LocationConstraint>us-west-2</LocationConstraint></CreateBucketConfiguration> | ||
| headers: | ||
| Content-Length: | ||
| - '153' | ||
| User-Agent: | ||
| - !!binary | | ||
| Qm90bzMvMS4yNi4xNjUgUHl0aG9uLzMuMTAuMTMgRGFyd2luLzI0LjYuMCBCb3RvY29yZS8xLjI5 | ||
| LjE2NQ== | ||
| X-Amz-Content-SHA256: | ||
| - !!binary | | ||
| YTRhM2QyNjMxNzliZmNiYWY4ODc1NWIxNGVhOWRiMzA0OGU0MTc5YzAzYmJjOTRjY2YwZjEzYzhj | ||
| MmQzZGY2YQ== | ||
| X-Amz-Date: | ||
| - !!binary | | ||
| MjAyNjA0MjhUMTM1NDA5Wg== | ||
| amz-sdk-invocation-id: | ||
| - !!binary | | ||
| NGM2YTI3OGUtYWI2ZS00ZDY2LWE2MWMtOGQ0ODY5ZDUyODkx | ||
| amz-sdk-request: | ||
| - !!binary | | ||
| YXR0ZW1wdD0x | ||
| method: PUT | ||
| uri: https://harmony-uat-staging.s3.us-west-2.amazonaws.com/ | ||
| response: | ||
| body: | ||
| string: '<?xml version="1.0" encoding="UTF-8"?> | ||
|
|
||
| <Error><Code>BucketAlreadyExists</Code><Message>The requested bucket name | ||
| is not available. The bucket namespace is shared by all users of the system. | ||
| Please select a different name and try again.</Message><BucketName>harmony-uat-staging</BucketName><RequestId>XZ4WJ0RP7BAVS2S2</RequestId><HostId>R/NYuETRTfQoJN9u01s056AkIFtbPMBuwRZ6B001HZxo3Cy2n+h2KrN21yxcQvTKjLPfkg3jg3qbz/JsH4v3GA==</HostId></Error>' | ||
| headers: | ||
| Content-Type: | ||
| - application/xml | ||
| Date: | ||
| - Tue, 28 Apr 2026 13:54:09 GMT | ||
| Server: | ||
| - AmazonS3 | ||
| Transfer-Encoding: | ||
| - chunked | ||
| x-amz-bucket-region: | ||
| - us-west-2 | ||
| x-amz-id-2: | ||
| - R/NYuETRTfQoJN9u01s056AkIFtbPMBuwRZ6B001HZxo3Cy2n+h2KrN21yxcQvTKjLPfkg3jg3qbz/JsH4v3GA== | ||
| x-amz-request-id: | ||
| - XZ4WJ0RP7BAVS2S2 | ||
| status: | ||
| code: 409 | ||
| message: Conflict | ||
| - request: | ||
| body: !!python/object/new:_io.BytesIO | ||
| state: !!python/tuple | ||
| - !!binary | | ||
| ZmFrZSBpbWFnZSBkYXRhIGZvciB0ZXN0aW5n | ||
| - 0 | ||
| - null | ||
| headers: | ||
| Content-Length: | ||
| - '27' | ||
| Content-MD5: | ||
| - !!binary | | ||
| dTlXQ0gvREpaZ1RqQnVYbXBVOUE0UT09 | ||
| Expect: | ||
| - !!binary | | ||
| MTAwLWNvbnRpbnVl | ||
| User-Agent: | ||
| - !!binary | | ||
| Qm90bzMvMS4yNi4xNjUgUHl0aG9uLzMuMTAuMTMgRGFyd2luLzI0LjYuMCBCb3RvY29yZS8xLjI5 | ||
| LjE2NQ== | ||
| X-Amz-Content-SHA256: | ||
| - !!binary | | ||
| VU5TSUdORUQtUEFZTE9BRA== | ||
| X-Amz-Date: | ||
| - !!binary | | ||
| MjAyNjA0MjhUMTM1NDEwWg== | ||
| amz-sdk-invocation-id: | ||
| - !!binary | | ||
| ZDM3MzZjMGItNmMyZi00YjM2LWIyNGEtMWMzNGZmZjA4MTc0 | ||
| amz-sdk-request: | ||
| - !!binary | | ||
| YXR0ZW1wdD0x | ||
| method: PUT | ||
| uri: https://harmony-uat-staging.s3.us-west-2.amazonaws.com/public/3d276f84-56e2-4f0a-acb2-35b9fcaaa317/9202859/PREFIRE_SAT2_2B-FLX_S07_R00_20210721013413_03040.nc.G00.png | ||
| response: | ||
| body: | ||
| string: '<?xml version="1.0" encoding="UTF-8"?> | ||
|
|
||
| <Error><Code>AccessDenied</Code><Message>User: arn:aws:iam::536711851782:user/NGAPShApplicationDeveloper-bcwong1-580 | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Account number and ARN for a user are exposed, this should be removed from the cassette file. |
||
| is not authorized to perform: s3:PutObject on resource: "arn:aws:s3:::harmony-uat-staging/public/3d276f84-56e2-4f0a-acb2-35b9fcaaa317/9202859/PREFIRE_SAT2_2B-FLX_S07_R00_20210721013413_03040.nc.G00.png" | ||
| because no resource-based policy allows the s3:PutObject action</Message><RequestId>EQNCR3A24D1J8J7B</RequestId><HostId>fLXDRiPEiJDpPvoYwRr2ODSjX6WKk8+3FR0PmA0fyr053y4YnthlfNV7DZSxjiwU8J4RPm1yssvW8bdfn4NTXw==</HostId></Error>' | ||
| headers: | ||
| Connection: | ||
| - close | ||
| Content-Type: | ||
| - application/xml | ||
| Date: | ||
| - Tue, 28 Apr 2026 13:54:09 GMT | ||
| Server: | ||
| - AmazonS3 | ||
| Transfer-Encoding: | ||
| - chunked | ||
| x-amz-id-2: | ||
| - fLXDRiPEiJDpPvoYwRr2ODSjX6WKk8+3FR0PmA0fyr053y4YnthlfNV7DZSxjiwU8J4RPm1yssvW8bdfn4NTXw== | ||
| x-amz-request-id: | ||
| - EQNCR3A24D1J8J7B | ||
| status: | ||
| code: 403 | ||
| message: Forbidden | ||
| - request: | ||
| body: <CreateBucketConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><LocationConstraint>us-west-2</LocationConstraint></CreateBucketConfiguration> | ||
| headers: | ||
| Content-Length: | ||
| - '153' | ||
| User-Agent: | ||
| - !!binary | | ||
| Qm90bzMvMS4yNi4xNjUgUHl0aG9uLzMuMTAuMTMgRGFyd2luLzI0LjYuMCBCb3RvY29yZS8xLjI5 | ||
| LjE2NQ== | ||
| X-Amz-Content-SHA256: | ||
| - !!binary | | ||
| YTRhM2QyNjMxNzliZmNiYWY4ODc1NWIxNGVhOWRiMzA0OGU0MTc5YzAzYmJjOTRjY2YwZjEzYzhj | ||
| MmQzZGY2YQ== | ||
| X-Amz-Date: | ||
| - !!binary | | ||
| MjAyNjA0MjhUMTM1NjQ1Wg== | ||
| amz-sdk-invocation-id: | ||
| - !!binary | | ||
| N2Q1ZWIzZjEtZWEwNi00N2U1LWEzYTItN2Q3N2JhZjM5NmNj | ||
| amz-sdk-request: | ||
| - !!binary | | ||
| YXR0ZW1wdD0x | ||
| method: PUT | ||
| uri: https://harmony-uat-staging.s3.us-west-2.amazonaws.com/ | ||
| response: | ||
| body: | ||
| string: '<?xml version="1.0" encoding="UTF-8"?> | ||
|
|
||
| <Error><Code>BucketAlreadyExists</Code><Message>The requested bucket name | ||
| is not available. The bucket namespace is shared by all users of the system. | ||
| Please select a different name and try again.</Message><BucketName>harmony-uat-staging</BucketName><RequestId>GX93N1KJ872KXDC7</RequestId><HostId>LKQ8fp13yzWAVRjOAcanxIYz73LuMyti0FSQMzgf3hguKCc/2WPppBxM4OYDWN/pLrBQehzPPSk=</HostId></Error>' | ||
| headers: | ||
| Content-Type: | ||
| - application/xml | ||
| Date: | ||
| - Tue, 28 Apr 2026 13:56:46 GMT | ||
| Server: | ||
| - AmazonS3 | ||
| Transfer-Encoding: | ||
| - chunked | ||
| x-amz-bucket-region: | ||
| - us-west-2 | ||
| x-amz-id-2: | ||
| - LKQ8fp13yzWAVRjOAcanxIYz73LuMyti0FSQMzgf3hguKCc/2WPppBxM4OYDWN/pLrBQehzPPSk= | ||
| x-amz-request-id: | ||
| - GX93N1KJ872KXDC7 | ||
| status: | ||
| code: 409 | ||
| message: Conflict | ||
| - request: | ||
| body: !!python/object/new:_io.BytesIO | ||
| state: !!python/tuple | ||
| - !!binary | | ||
| ZmFrZSBpbWFnZSBkYXRhIGZvciB0ZXN0aW5n | ||
| - 0 | ||
| - null | ||
| headers: | ||
| Content-Length: | ||
| - '27' | ||
| Content-MD5: | ||
| - !!binary | | ||
| dTlXQ0gvREpaZ1RqQnVYbXBVOUE0UT09 | ||
| Expect: | ||
| - !!binary | | ||
| MTAwLWNvbnRpbnVl | ||
| User-Agent: | ||
| - !!binary | | ||
| Qm90bzMvMS4yNi4xNjUgUHl0aG9uLzMuMTAuMTMgRGFyd2luLzI0LjYuMCBCb3RvY29yZS8xLjI5 | ||
| LjE2NQ== | ||
| X-Amz-Content-SHA256: | ||
| - !!binary | | ||
| VU5TSUdORUQtUEFZTE9BRA== | ||
| X-Amz-Date: | ||
| - !!binary | | ||
| MjAyNjA0MjhUMTM1NjQ2Wg== | ||
| amz-sdk-invocation-id: | ||
| - !!binary | | ||
| M2Y4YWQzNGQtYmQzZS00M2ViLWFiYjAtNTlhYjMxZWQxNjgx | ||
| amz-sdk-request: | ||
| - !!binary | | ||
| YXR0ZW1wdD0x | ||
| method: PUT | ||
| uri: https://harmony-uat-staging.s3.us-west-2.amazonaws.com/public/3d276f84-56e2-4f0a-acb2-35b9fcaaa317/9202859/PREFIRE_SAT2_2B-FLX_S07_R00_20210721013413_03040.nc.G00.png | ||
| response: | ||
| body: | ||
| string: '<?xml version="1.0" encoding="UTF-8"?> | ||
|
|
||
| <Error><Code>AccessDenied</Code><Message>User: arn:aws:iam::536711851782:user/NGAPShApplicationDeveloper-bcwong1-580 | ||
| is not authorized to perform: s3:PutObject on resource: "arn:aws:s3:::harmony-uat-staging/public/3d276f84-56e2-4f0a-acb2-35b9fcaaa317/9202859/PREFIRE_SAT2_2B-FLX_S07_R00_20210721013413_03040.nc.G00.png" | ||
| because no resource-based policy allows the s3:PutObject action</Message><RequestId>GX9C5QGV8VCN50B3</RequestId><HostId>iq7RXLPY4W/n09vtZ7afhBtw97J5kjFmBJ97/hA2Z7K62SScb5c9vjlFAleCZkvsGoFcKUDxOGI=</HostId></Error>' | ||
| headers: | ||
| Connection: | ||
| - close | ||
| Content-Type: | ||
| - application/xml | ||
| Date: | ||
| - Tue, 28 Apr 2026 13:56:46 GMT | ||
| Server: | ||
| - AmazonS3 | ||
| Transfer-Encoding: | ||
| - chunked | ||
| x-amz-id-2: | ||
| - iq7RXLPY4W/n09vtZ7afhBtw97J5kjFmBJ97/hA2Z7K62SScb5c9vjlFAleCZkvsGoFcKUDxOGI= | ||
| x-amz-request-id: | ||
| - GX9C5QGV8VCN50B3 | ||
| status: | ||
| code: 403 | ||
| message: Forbidden | ||
| version: 1 | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this always the name for the token dispenser lambda? The
sndbxdesignation seems suspicious. Should this be configured in terraform?