Skip to content
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

[lambda] Add lambda flare subcommand #979

Merged
merged 28 commits into from
Jul 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
dac42d3
Add initial output for Lambda flare command
sfirrin Jun 2, 2023
22b71e4
Add initial test for flare
sfirrin Jun 2, 2023
0236b4a
Fix import
sfirrin Jun 2, 2023
655483f
Fix tests
sfirrin Jun 2, 2023
baa1b04
Merge pull request #909 from DataDog/stephen.firrincieli/lambda-flare…
sfirrin Jun 2, 2023
174bccd
[lambda][flare] Send minimal Lambda config data to Datadog (#924)
nhulston Jun 22, 2023
ffec642
Add initial output for Lambda flare command
sfirrin Jun 2, 2023
8e5c3bf
Add initial test for flare
sfirrin Jun 2, 2023
b2b13cd
Fix import
sfirrin Jun 2, 2023
d9601a0
Fix tests
sfirrin Jun 2, 2023
bdaad0f
[lambda][flare] Send minimal Lambda config data to Datadog (#924)
nhulston Jun 22, 2023
3b219d2
Merge branch 'serverless-flare' of ssh:/datadog/datadog-c…
duncanista Jun 22, 2023
3e16448
[lambda][flare] Collect CloudWatch Logs (#941)
nhulston Jun 29, 2023
01e14c2
Merge branch 'serverless-flare' of ssh:/datadog/datadog-c…
duncanista Jun 30, 2023
54f754c
Merge branch 'master' of ssh:/datadog/datadog-ci into ser…
duncanista Jun 30, 2023
9bddc95
[lambda][flare] Obfuscate secrets (#947)
nhulston Jul 3, 2023
cdd7283
[lambda][flare] Ask for user confirmation before sending files to sup…
nhulston Jul 3, 2023
685e6bf
[lambda][flare] Add human readable time to CloudWatch CSV files (#954)
nhulston Jul 3, 2023
d2087ee
[lambda][flare] Refactor flag validation (#958)
nhulston Jul 5, 2023
fe12f41
[lambda][flare] Get resource tags (#955)
nhulston Jul 7, 2023
ba3d788
[lambda][flare] Build endpoint URL from environment variables (#967)
nhulston Jul 12, 2023
5db79e0
Don't require email or case ID when running in dry mode (#973)
nhulston Jul 12, 2023
a9d565c
[lambda][flare] Add optional start and end flags for getting CloudWat…
nhulston Jul 12, 2023
6afbc0a
Merge branch 'master' of ssh:/datadog/datadog-ci into ser…
duncanista Jul 12, 2023
95d838d
update `yarn.lock`
duncanista Jul 12, 2023
8a04bd3
Mask config using functions from `commons.ts` (#978)
nhulston Jul 12, 2023
93e213e
Remove unused constants (#980)
nhulston Jul 12, 2023
1da3ea4
Update sites to append endpoint URL with 'app.' when no subdomain is …
nhulston Jul 12, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions LICENSE-3rdparty.csv
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,4 @@ eslint-plugin-no-null,dev,MIT,Copyright (c) 2016 Rene Saarsoo
@microsoft/eslint-formatter-sarif,dev,MIT,Copyright (c) Microsoft Corporation
ajv,import,MIT,Copyright (c) 2015-2021 Evgeny Poberezkin
ajv-formats,import,MIT,Copyright (c) 2020 Evgeny Poberezkin
jszip,import,MIT,Copyright (c) 2009-2016 Stuart Knightley and other contributors
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@
"inquirer": "^8.2.5",
"inquirer-checkbox-plus-prompt": "^1.4.2",
"js-yaml": "3.13.1",
"jszip": "^3.10.1",
"ora": "5.4.1",
"proxy-agent": "^6.2.1",
"rimraf": "^3.0.2",
Expand Down
10 changes: 10 additions & 0 deletions src/__mocks__/util.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
const util = jest.requireActual('util')
const originalInspect = util.inspect

const newInspect = (object, options) => {
return originalInspect(object, {...options, colors: false})
}

Object.assign(newInspect, originalInspect)
util.inspect = newInspect
module.exports = util
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
const renderer = jest.requireActual('../renderer')
const renderer = jest.requireActual('../renderers/instrument-uninstrument-renderer')

const makeMockSpinner = () => {
const f = jest.fn()

return jest.fn(() => ({
fail: f,
start: f,
Expand Down
Loading