William Beuil
|
47500b7771
|
Refacto AWS mocks for repositories and clients
|
2021-06-28 18:21:12 +02:00 |
Martin Guibert
|
54e5d17ee8
|
simpler test function to test against golden file
|
2021-06-28 15:16:56 +02:00 |
Elie
|
73200b1ae8
|
Add scanner test
|
2021-06-28 15:16:55 +02:00 |
William Beuil
|
24a295703f
|
Fix default security group rules from default security group
|
2021-06-28 11:16:24 +02:00 |
Louis TOUSSAINT
|
173a0b0baa
|
Issue 703: Inverse scan spinner rotation
|
2021-06-25 16:24:22 +02:00 |
sundowndev
|
24c8218d50
|
test(state): update golden files for lambda_function
|
2021-06-24 17:34:07 +02:00 |
sundowndev
|
920aedd247
|
fix: ignore source_code_size in aws_lambda_function
|
2021-06-24 17:12:27 +02:00 |
Elie
|
b5fe9e5e73
|
Fix S3 broken glob matching
|
2021-06-24 11:01:21 +02:00 |
Elie
|
2f07640e0a
|
Merge pull request #619 from cloudskiff/deep_mode
Split suppliers to add deep mode
|
2021-06-23 11:20:08 +02:00 |
Elie
|
4d00bc314d
|
Merge pull request #688 from cloudskiff/fix_provider_installer_on_golden_update
Fix golden files update
|
2021-06-23 11:08:03 +02:00 |
Elie
|
3a5048dfdf
|
Merge branch 'main' into ignore_unsupported_resource_from_iac
|
2021-06-23 11:00:26 +02:00 |
Elie
|
646c6a392c
|
Ignore unsupported resource from IaC
|
2021-06-23 10:58:40 +02:00 |
Elie
|
3dcfbd94a9
|
Fix golden files update
|
2021-06-23 10:52:50 +02:00 |
sundowndev
|
2347725b18
|
refactor: scan duration message
|
2021-06-23 10:48:32 +02:00 |
Elie
|
4f44039fb9
|
Split suppliers to add deep mode
|
2021-06-22 18:25:47 +02:00 |
Elie
|
0636ddea7e
|
Merge pull request #683 from cloudskiff/fix/duplicate_ebs_volume
Fix duplicate ebs volume in state
|
2021-06-22 18:23:28 +02:00 |
Elie
|
d1156500cc
|
Merge pull request #682 from cloudskiff/feat/elapsedTime
Display elapsed time at end of scan
|
2021-06-22 18:22:00 +02:00 |
Martin Guibert
|
bb2e1e0f0f
|
fix slash in gitignore syntax being special
|
2021-06-22 17:33:51 +02:00 |
Martin Guibert
|
437c20e0b7
|
append .* to prevent BC break
|
2021-06-22 17:33:51 +02:00 |
Martin Guibert
|
67231949db
|
go-git gitignore to handle driftignore
Signed-off-by: Martin Guibert <martin@cloudskiff.com>
|
2021-06-22 17:33:51 +02:00 |
William Beuil
|
1633308adf
|
Fix duplicate ebs volume in state
|
2021-06-22 17:17:49 +02:00 |
Raphaël
|
9ead8d1523
|
Merge branch 'main' into feat/htmlOutput
|
2021-06-22 17:17:15 +02:00 |
sundowndev
|
cba595d9f1
|
feat: add elapsed time at end of scan
|
2021-06-22 17:06:53 +02:00 |
William Beuil
|
618d7ebf54
|
Middleware to manage tags_all attribute
|
2021-06-22 16:48:54 +02:00 |
Elie
|
846b32801a
|
Merge pull request #678 from cloudskiff/add_doc_link
Add limitation link in computed field alert
|
2021-06-22 15:37:00 +02:00 |
Elie
|
e0de54f30d
|
Add limitation link in computed field alert
|
2021-06-22 15:00:04 +02:00 |
William Beuil
|
894a636cc2
|
Fix ebs volume tags false positive
|
2021-06-22 12:17:56 +02:00 |
Elie
|
cce60efb88
|
Fix dupplicate resource when expanding managed_policy fields
|
2021-06-22 11:39:59 +02:00 |
Elie
|
faef77a98c
|
Add missing attribute to volume expander middleware
|
2021-06-22 10:52:44 +02:00 |
Raphaël
|
cc835dbfd7
|
Merge branch 'main' into feat/driftignoreFlag
|
2021-06-21 15:07:51 +02:00 |
sundowndev
|
eb04ec3513
|
refactor: unexport driftignorePath property
|
2021-06-21 14:48:03 +02:00 |
sundowndev
|
1b351c9b2f
|
refactor: html template
use light logo & add border-radius to tbody element
|
2021-06-21 14:44:54 +02:00 |
sundowndev
|
78601df930
|
refactor: simplify code
|
2021-06-21 14:44:54 +02:00 |
sundowndev
|
cc9a882fc2
|
test: update golden files
|
2021-06-21 14:44:54 +02:00 |
sundowndev
|
ead85d5f84
|
chore: fix lint errors
|
2021-06-21 14:44:54 +02:00 |
William Beuil
|
7a60e69efb
|
Refactor output HTML with a11y and responsive in mind
|
2021-06-21 14:44:54 +02:00 |
sundowndev
|
5fa7c10296
|
fix: console output
|
2021-06-21 14:44:54 +02:00 |
sundowndev
|
bc2164a008
|
refactor: diff custom style
|
2021-06-21 14:44:54 +02:00 |
sundowndev
|
3d12c9933e
|
refactor: simplify code
|
2021-06-21 14:44:54 +02:00 |
sundowndev
|
21747180d9
|
refactor: diffs custom style
|
2021-06-21 14:44:54 +02:00 |
sundowndev
|
76613149c1
|
refactor: add date to analysis struct
|
2021-06-21 14:44:54 +02:00 |
sundowndev
|
a27d993b13
|
refactor: html output custom style
|
2021-06-21 14:44:54 +02:00 |
sundowndev
|
a14a72f212
|
refactor: empty message in html output
|
2021-06-21 14:44:54 +02:00 |
sundowndev
|
a9ce5c639f
|
refactor: html output style
|
2021-06-21 14:44:54 +02:00 |
sundowndev
|
067241ed2a
|
refactor: html output
|
2021-06-21 14:44:54 +02:00 |
sundowndev
|
fd0e673b37
|
test: html output
|
2021-06-21 14:44:54 +02:00 |
sundowndev
|
5561041db9
|
fix: display alert messages
|
2021-06-21 14:44:54 +02:00 |
sundowndev
|
3643c1ba66
|
refactor: html output template
|
2021-06-21 14:44:54 +02:00 |
sundowndev
|
4b9af2b57b
|
refactor: add filtering to html output
|
2021-06-21 14:44:54 +02:00 |
sundowndev
|
5daca2eb46
|
feat: implement html output
|
2021-06-21 14:44:54 +02:00 |
Elie
|
50443a839d
|
Merge pull request #663 from cloudskiff/handle_managed_policy_arns
Handle managed_policy_arns in aws_iam_roles
|
2021-06-21 14:16:34 +02:00 |
Louis TOUSSAINT
|
2ddb8191ab
|
Issue 637: Fix false positive for aws_sns_topic/policy
|
2021-06-18 15:16:08 +02:00 |
Louis TOUSSAINT
|
6278dbfefd
|
Issue 630: Fix aws_route carrier_gateway_id false positive
|
2021-06-18 11:51:01 +02:00 |
Elie
|
8751bdac2f
|
Fix EBS volume drift on throughput
|
2021-06-18 11:24:50 +02:00 |
Elie
|
8dcb5da73d
|
Handle managed_policy_arns in aws_iam_roles
|
2021-06-18 10:44:39 +02:00 |
sundowndev
|
92691868bb
|
feat: display terraform provider version in output
|
2021-06-17 16:20:19 +02:00 |
sundowndev
|
074900043f
|
feat: add driftignore flag
|
2021-06-17 15:39:31 +02:00 |
Louis TOUSSAINT
|
37fd7cc1e6
|
Issue 555: Deletion of deprecated tests
|
2021-06-17 14:34:50 +02:00 |
Louis TOUSSAINT
|
1ba5782fa1
|
Issue 555: Add fallback if homedir.Dir() return error to set configDir with tmpDir()
|
2021-06-17 14:34:50 +02:00 |
Louis TOUSSAINT
|
43bc80eee6
|
Issue 555: Remove default value description for config-dir flag and rebase main
|
2021-06-17 14:34:50 +02:00 |
Louis TOUSSAINT
|
caee449a9a
|
Issue 555: Set the default value of config-dir in scan.go
|
2021-06-17 14:34:50 +02:00 |
Louis TOUSSAINT
|
80783a6d41
|
Issue 555: Add config-dir flag to change .driftctl location
|
2021-06-17 14:34:50 +02:00 |
Louis TOUSSAINT
|
e8d930cc66
|
Issue 649: Fix ses_smtp_password false positive
|
2021-06-17 11:39:30 +02:00 |
Raphaël
|
5a23a1b1d8
|
Merge branch 'main' into fix/orderingConsole
|
2021-06-16 10:48:03 +02:00 |
Elie
|
ef4dd3ca82
|
Merge pull request #654 from a-vorobiev/fix/ignore-bucket-prefix
Fix false positive on aws_s3_bucket.bucket_prefix
|
2021-06-16 10:08:26 +02:00 |
Anton Vorobiev
|
8d8412209c
|
Merge branch 'main' into fix/ignore-bucket-prefix
|
2021-06-15 19:13:35 +02:00 |
Anton Vorobiev
|
0ad6f1d296
|
Fix: s3_bucket.bucket_prefix should be ignored
|
2021-06-15 19:00:03 +02:00 |
Elie
|
7fe9b13d19
|
Fix state enumeration on s3 on win when using wildcards
|
2021-06-15 18:18:53 +02:00 |
Elie
|
98ee98a955
|
Fix issue when enumerating s3 states on windows
|
2021-06-15 16:35:53 +02:00 |
sundowndev
|
c1e921235b
|
fix: ordering in console output
|
2021-06-15 16:05:07 +02:00 |
Elie
|
00c7c301c5
|
Try to fix igw removal in aws_route acc test
|
2021-06-14 17:15:18 +02:00 |
sundowndev
|
dd3c3107f4
|
fix: disable instance_initiated_shutdown_behavior field
|
2021-06-14 11:26:47 +02:00 |
Elie
|
35b511ef43
|
Retrieve provider version and schema version
|
2021-06-14 11:02:10 +02:00 |
Elie
|
ae79832971
|
[RUN ACC] Try to fix EIP test by upgrading tf provider
|
2021-06-10 10:09:53 +02:00 |
Elie
|
dfee5b441a
|
Merge branch 'main' into feat/cacheS3repository
|
2021-06-09 16:52:27 +02:00 |
Raphaël
|
5620ab898d
|
Merge branch 'main' into feat/cacheSNSrepo
|
2021-06-09 16:40:26 +02:00 |
Raphaël
|
0d8bf3e423
|
Merge branch 'main' into feat/cacheRoute53repo
|
2021-06-09 16:29:22 +02:00 |
Elie
|
955919d6e6
|
Merge pull request #585 from cloudskiff/feat/cacheGithubRepo
Implement cache in Github repository
|
2021-06-09 16:27:16 +02:00 |
Raphaël
|
7a12dd869f
|
Merge branch 'main' into feat/cacheLambdarepo
|
2021-06-09 16:15:39 +02:00 |
Raphaël
|
237eaba9ce
|
Merge branch 'main' into feat/cacheRDSrepo
|
2021-06-09 16:06:27 +02:00 |
Elie
|
bc96022b94
|
Merge branch 'main' into feat/cacheSQSrepo
|
2021-06-09 15:50:37 +02:00 |
Elie
|
667a66d6f7
|
Merge branch 'main' into feat/cacheGithubRepo
|
2021-06-09 15:49:14 +02:00 |
Raphaël
|
6473d8b807
|
Merge branch 'main' into feat/cacheCloudfrontRepo
|
2021-06-09 15:42:21 +02:00 |
Elie
|
b2d8d7e075
|
Merge branch 'main' into feat/cacheDynamoDBrepo
|
2021-06-09 15:40:49 +02:00 |
Raphaël
|
e9b0c1792e
|
Merge branch 'main' into feat/cacheECRrepo
|
2021-06-09 15:26:26 +02:00 |
sundowndev
|
8f527baf3b
|
feat: implement cache in github repository
|
2021-06-09 15:13:33 +02:00 |
sundowndev
|
e14552efed
|
feat: implement cache in cloudfront repository
|
2021-06-09 15:13:13 +02:00 |
sundowndev
|
5bbc905670
|
feat: implement cache in DynamoDB repository
|
2021-06-09 15:12:15 +02:00 |
sundowndev
|
89dcf9700e
|
feat: implement cache in SNS repository
|
2021-06-09 15:11:57 +02:00 |
sundowndev
|
de9d246f98
|
feat: implement cache in SQS repository
|
2021-06-09 15:11:40 +02:00 |
sundowndev
|
991e777364
|
feat: implement cache in RDS repository
|
2021-06-09 15:11:08 +02:00 |
sundowndev
|
6e3bfdca3a
|
feat: implement cache in lambda repository
|
2021-06-09 15:10:49 +02:00 |
sundowndev
|
351f9f6605
|
feat: implement cache in kms repository
|
2021-06-09 15:09:58 +02:00 |
sundowndev
|
2b91e69c73
|
feat: implement cache in route53 repository
|
2021-06-09 15:09:46 +02:00 |
sundowndev
|
3d97255858
|
feat: implement cache in s3 repository
|
2021-06-09 15:09:34 +02:00 |
sundowndev
|
aef2991445
|
feat: implement cache in ecr repository
|
2021-06-09 15:08:18 +02:00 |
Elie
|
f22734787e
|
Merge branch 'main' into feat/cacheIAMrepository
|
2021-06-09 14:56:02 +02:00 |
Elie
|
ae8cc3ffbd
|
[RUN ACC] Try to fix igw deletion issues
|
2021-06-09 11:35:32 +02:00 |
Martin Guibert
|
e441425e70
|
[RUN ACC] fix acc tests
filter our own keys for aws_iam_access_key
increase timeout
|
2021-06-09 11:35:31 +02:00 |
Martin Guibert
|
160f541767
|
remove old case to have only one alert/handler for wrong arn
|
2021-06-08 15:23:37 +02:00 |
Martin Guibert
|
465e6fd7f0
|
fix #601 by checking arn correctness and sending a different alert
|
2021-06-08 14:58:02 +02:00 |
sundowndev
|
ccbe73c368
|
feat: implement cache in IAM repository
|
2021-06-08 11:40:04 +02:00 |
Louis TOUSSAINT
|
86da6faf66
|
Issue 165: Add cache for ec2_repository and fix tests for iam_supplier
|
2021-06-07 16:59:54 +02:00 |
Louis TOUSSAINT
|
9f232ccb49
|
Issue 165: Fix typo and implement iamRepository in iam suppliers constructor
|
2021-06-07 15:02:12 +02:00 |
Louis TOUSSAINT
|
8b5b8bfb7f
|
Issue 165: Fix conflict from main rebase
|
2021-06-07 11:05:21 +02:00 |
Louis TOUSSAINT
|
4cf5130549
|
Issue 165: Merge main to branch and fix iam_repository_test conflict
|
2021-06-07 11:05:21 +02:00 |
Louis TOUSSAINT
|
b177dd804e
|
Issue 165: Change client typo to repo
|
2021-06-07 11:05:21 +02:00 |
Louis TOUSSAINT
|
0464c7cbb9
|
Issue 165: Add Test_IAMRepository_ListAllPolicies in iam_repository_test
|
2021-06-07 11:05:21 +02:00 |
Louis TOUSSAINT
|
d7bceb4d24
|
Issue 165: Add Test_IAMRepository_ListAllUsers in iam_repository_test
|
2021-06-07 11:05:21 +02:00 |
Louis TOUSSAINT
|
bf20120efc
|
Issue 165: Add Test_IAMRepository_ListAllRolePolicyAttachments in iam_repository_test
|
2021-06-07 11:05:21 +02:00 |
Louis TOUSSAINT
|
dbc179f0d8
|
Issue 165: Add Test_IAMRepository_ListAllRolePolicies in iam_repository_test
|
2021-06-07 11:05:21 +02:00 |
Louis TOUSSAINT
|
6c29aa04ff
|
Issue 165: Add Test_IAMRepository_ListAllRoles in iam_repository_test
|
2021-06-07 11:05:21 +02:00 |
Louis TOUSSAINT
|
09f3f82a97
|
Issue 165: Add Test_IAMRepository_ListAllUserPolicyAttachments in iam_repository_test
|
2021-06-07 11:05:21 +02:00 |
Louis TOUSSAINT
|
6e0a47ad67
|
Issue 165: Add Test_IAMRepository_ListAllUserPolicies in iam_repository_test
|
2021-06-07 11:05:21 +02:00 |
Louis TOUSSAINT
|
b4e04e0d77
|
Issue 165: Add Test_IAMRepository_ListAllAccessKeys in iam_repository_test
|
2021-06-07 11:05:21 +02:00 |
Louis TOUSSAINT
|
874756c259
|
Issue 165: Add mock_IAMRepository
|
2021-06-07 11:05:21 +02:00 |
Louis TOUSSAINT
|
ddac4d14b3
|
Issue 165: Delete hidden dependency for iam_role_policy_attachment_supplier
|
2021-06-07 11:05:21 +02:00 |
Louis TOUSSAINT
|
48289c35f7
|
Issue 165: Delete hidden dependency for iam_role_policy_supplier
|
2021-06-07 11:05:21 +02:00 |
Louis TOUSSAINT
|
551f958ea1
|
Issue 165: Delete hidden dependency for iam_role_supplier
|
2021-06-07 11:05:21 +02:00 |
Louis TOUSSAINT
|
b35eac7bc6
|
Issue 165: Delete hidden dependency for iam_user_policy_attachment_supplier
|
2021-06-07 11:05:21 +02:00 |
Louis TOUSSAINT
|
82ed1c2c71
|
Issue 165: Delete hidden dependency for iam_user_policy_supplier
|
2021-06-07 11:05:21 +02:00 |
Louis TOUSSAINT
|
832304c8f9
|
Issue 165: Delete hidden dependency for iam_user_supplier
|
2021-06-07 11:05:21 +02:00 |
Louis TOUSSAINT
|
414fecb9d1
|
Issue 165: Delete hidden dependency for iam_policy_supplier
|
2021-06-07 11:05:20 +02:00 |
Louis TOUSSAINT
|
f81cfb9eaf
|
Issue 165: Delete hidden dependency for iam_access_key_supplier
|
2021-06-07 11:05:20 +02:00 |
Louis TOUSSAINT
|
a0ecd28498
|
Issue 165: Add iam_repository
|
2021-06-07 11:05:20 +02:00 |
Louis TOUSSAINT
|
def99b065d
|
Issue 165: Add security_group/_rule tests to ec2_repository
|
2021-06-07 11:05:20 +02:00 |
Louis TOUSSAINT
|
2329c840d2
|
Issue 165: Add security_group_rule_supplier to ec2_repository
|
2021-06-07 11:05:20 +02:00 |
Louis TOUSSAINT
|
18e3a76d90
|
Issue 165: Add security_group_supplier to ec2_repository
|
2021-06-07 11:05:20 +02:00 |
Louis TOUSSAINT
|
b4a3458cc3
|
Issue 165: Add vpc_supplier to ec2_repository
|
2021-06-07 11:05:20 +02:00 |
Louis TOUSSAINT
|
b9fb4f9343
|
Issue 165: Add route_table_association_supplier to ec2_repository
|
2021-06-07 11:05:20 +02:00 |
Louis TOUSSAINT
|
1a45b6cdf2
|
Issue 165: Add route_table_supplier to ec2_repository
|
2021-06-07 11:05:20 +02:00 |
Louis TOUSSAINT
|
3f2fe6d90c
|
Issue 165: Add route_supplier to ec2_repository
|
2021-06-07 11:05:20 +02:00 |
Louis TOUSSAINT
|
86b7f52d60
|
Issue 165: Add nat_gateway_supplier to ec2_repository
|
2021-06-07 11:05:20 +02:00 |
Louis TOUSSAINT
|
6fc4478114
|
Issue 165: Add subnet_supplier to ec2_repository
|
2021-06-07 11:05:20 +02:00 |
Louis TOUSSAINT
|
9f89dac6f2
|
Issue 165: Revert goldenfiles for internet_gateway_multiple
|
2021-06-07 11:05:20 +02:00 |
Louis TOUSSAINT
|
abe938b0cd
|
Issue 165: Add internet_gateway_supplier to ec2_repository
|
2021-06-07 11:05:20 +02:00 |
Elie
|
18db5860b1
|
Merge branch 'main' into allow_to_change_provider_version
|
2021-06-07 10:17:22 +02:00 |
Rohan Sharma
|
6b2388c62a
|
Fix gen-driftignore --help example
|
2021-06-05 16:39:47 +05:30 |
Elie
|
07d992d472
|
Add input validation
|
2021-06-04 16:58:55 +02:00 |
Elie
|
fcb06cd782
|
Allow to specify a terraform provider version
|
2021-06-04 16:58:54 +02:00 |
Toussaint Louis
|
b63f723296
|
Merge branch 'main' into issue_494_http_scanning_error
|
2021-06-04 15:49:22 +02:00 |
Toussaint Louis
|
c3934f4d83
|
Merge branch 'main' into issue_494_http_scanning_error
|
2021-06-04 15:45:36 +02:00 |
Toussaint Louis
|
14a3947d3f
|
Update terraform_state_reader.go
|
2021-06-04 15:44:55 +02:00 |
sundowndev
|
26dcfd218e
|
refactor(cache): allow 0 capacity
|
2021-06-04 15:40:37 +02:00 |
Elie
|
72c8dc3ea8
|
Merge branch 'main' into issue_494_http_scanning_error
|
2021-06-04 15:34:07 +02:00 |
Raphaël
|
8d84f4ec52
|
Merge branch 'main' into test/cacheEC2repo
|
2021-06-04 15:30:06 +02:00 |
sundowndev
|
dfda3df3c6
|
test: improve testing for ec2 repository
|
2021-06-04 12:25:32 +02:00 |
Elie
|
c1770ac935
|
Fix unsupported resources read from state files
|
2021-06-04 11:31:32 +02:00 |
Louis TOUSSAINT
|
560a4a51cd
|
Issue 494: Detect if state reader is http and change error reporting logic
|
2021-06-03 15:42:29 +02:00 |
Louis TOUSSAINT
|
87426cb5b6
|
Issue 494: Fix error reporting in http state reader
|
2021-06-03 15:42:29 +02:00 |