Commit Graph

789 Commits (e4ab0cee0104cb07ddf4e90e95e20ae0c7c85976)

Author SHA1 Message Date
Martin Guibert 692c73ec88 split lambda_event_source_mapping_supplier 2021-07-09 11:42:22 +02:00
Elie 97f65abdbd Split aws_s3_bucket_analytic 2021-07-09 11:29:31 +02:00
Martin Guibert 74149109db split lambda_function_supplier 2021-07-09 11:07:57 +02:00
William Beuil 4add646e4c
Split nat_gateway_supplier 2021-07-09 10:46:42 +02:00
Louis TOUSSAINT 9877a3d6eb Issue 723: Split iam policy supplier 2021-07-09 10:36:07 +02:00
William Beuil c841047407
Split db_subnet_group_supplier 2021-07-08 18:22:12 +02:00
William Beuil 58c9c88811
Split db_instance_supplier 2021-07-08 18:01:30 +02:00
sundowndev cff7a2fee3 feat: split dynamodb table supplier 2021-07-08 17:39:42 +02:00
William BEUIL 6972f95994
Merge branch 'main' into change_Sqs_to_SQS 2021-07-08 17:17:32 +02:00
William BEUIL 439ac59cda
Merge branch 'main' into fea/split_sns_topic_subscription_supplier 2021-07-08 17:00:35 +02:00
William Beuil c5c11d0f6f Split cloudfront_distribution_supplier 2021-07-08 16:50:16 +02:00
Martin Guibert b2af025420 split sns_topic_subscription_supplier 2021-07-08 16:38:27 +02:00
Louis TOUSSAINT 3b830009b5 Change Sqs to SQS typo (except resourceType) 2021-07-08 16:13:51 +02:00
Martin Guibert 377e923813 split sns_topic_policy_supplier 2021-07-08 16:00:45 +02:00
Martin Guibert 08c3e2d7eb split sns_topic_supplier 2021-07-08 15:48:53 +02:00
Louis TOUSSAINT 431d9ba611 Issue 749: Split sqs queue policy supplier 2021-07-08 14:24:42 +02:00
Louis TOUSSAINT 047d17e496 Issue 750: Split sqs queue supplier 2021-07-07 20:42:24 +02:00
Elie 410e3df051
Fix kms_key crash 2021-07-06 17:34:24 +02:00
Martin Guibert dd58f32656 fix eip association acceptancy test 2021-07-06 15:44:30 +02:00
Elie 554fe88a8e
Merge pull request #767 from cloudskiff/refact/route53_record_deepmode
Split route53_record_supplier
2021-07-06 15:19:40 +02:00
Martin Guibert c7eccd5b7c add expander for eip association 2021-07-06 15:10:55 +02:00
sundowndev 500748f787 test: route53 scanner 2021-07-06 15:09:14 +02:00
sundowndev 336c7062bd refactor: simplify code 2021-07-06 15:07:02 +02:00
sundowndev f6a48d8edf refactor: split route53 record supplier 2021-07-06 15:07:02 +02:00
Elie 51a3b8fcb7
Fix enumeration errors not handled 2021-07-06 12:12:55 +02:00
sundowndev e95c852f19 refactor: split vpc security group supplier 2021-07-06 11:10:05 +02:00
William BEUIL 0e6c6caf08
Merge branch 'main' into route_table_supplier 2021-07-06 10:57:12 +02:00
Elie 07b2a878ce
Merge branch 'main' into route_table_supplier 2021-07-06 10:51:34 +02:00
Elie a560d84b25
Fix bucket policy return err when no policy exist 2021-07-06 10:47:28 +02:00
Louis TOUSSAINT 8fb10e0b3a Issue 615: Add envProxy and tests to s3Reader 2021-07-06 10:28:11 +02:00
Louis TOUSSAINT 973b67f6d5 Issue 615: Add a new test to s3_test.go to check if NewS3Enumerator take DCTL_S3_envVar in charge 2021-07-06 10:28:11 +02:00
Louis TOUSSAINT c882c769e8 Issue 615: Remove setProxy and add parameter to NewEnvProxy directly 2021-07-06 10:28:11 +02:00
Louis TOUSSAINT b78aeb5d06 Issue 615: Add test where env is empty in env_proxy_test 2021-07-06 10:28:11 +02:00
Louis TOUSSAINT cdf87ac1a6 Issue 615: Modify the env_proxy_test logic and env_proxy variable typo 2021-07-06 10:28:10 +02:00
Louis TOUSSAINT 916c458760 Issue 615: Create struct to override env config for state_enumerator 2021-07-06 10:28:10 +02:00
William Beuil 640956f95c
Split route_table_supplier 2021-07-05 17:45:40 +02:00
sundowndev 0460878238 refactor: remove cleanZoneID function 2021-07-05 17:43:23 +02:00
sundowndev 83d360ec99 refactor: split route53 zone supplier 2021-07-05 17:27:47 +02:00
Elie d78afaf2ce
Merge branch 'main' into rework_s3_bucket_policy_supplier 2021-07-05 16:46:19 +02:00
William Beuil 3991c0e604
Split subnet_supplier 2021-07-05 16:23:05 +02:00
William Beuil 019f8c9773
Split route_table_association_supplier 2021-07-05 16:07:22 +02:00
Elie 496b8982aa
Merge branch 'main' into rework_s3_bucket_policy_supplier 2021-07-05 16:05:13 +02:00
Elie 6d89bd5555
Merge branch 'main' into fix/remove_useless_config_github_enum 2021-07-05 15:57:57 +02:00
Elie ec4388133b
Split s3_bucket_policy_supplier 2021-07-05 15:49:05 +02:00
Martin Guibert 55ac4a1012 split github branch protection 2021-07-05 15:48:51 +02:00
Martin Guibert edc9a5ff4a split github team membership supplier 2021-07-05 15:35:53 +02:00
Martin Guibert cdc1b87b25 remove useless provider config from github enumerator 2021-07-05 15:34:32 +02:00
Martin Guibert 2d8ebe0804 split github membership supplier 2021-07-05 15:21:47 +02:00
Elie ee1b4d3864
Merge branch 'main' into refact/route53_health_check_deepmode 2021-07-05 14:37:46 +02:00
William Beuil 195c64c55b
Split kms_alias_supplier 2021-07-05 13:18:48 +02:00
William Beuil fe064b4bb8
Fix typo on file name 2021-07-05 12:39:34 +02:00
sundowndev d04d1e0763 refactor: split route53 health check supplier 2021-07-05 12:07:11 +02:00
sundowndev a720e30c30 Merge branch 'main' into refact/vpc_deepmode 2021-07-05 11:28:22 +02:00
sundowndev 835f06423e refactor: fix generic details fetcher func name 2021-07-05 11:25:19 +02:00
sundowndev 90b0bcde33 Merge branch 'main' into refact/vpc_deepmode 2021-07-05 11:18:10 +02:00
Elie 9cb0676c94
Merge branch 'main' into kms_key_supplier 2021-07-05 11:11:54 +02:00
William Beuil 1b8ed7838b
Split internet_gateway_supplier 2021-07-05 10:50:45 +02:00
William Beuil 5f3b0a8524
Split kms_key_supplier 2021-07-05 10:44:54 +02:00
William Beuil 3c993c063c
Fix enumerators 2021-07-05 10:30:42 +02:00
William Beuil 8b4385613c
Split ec2_instance_supplier 2021-07-02 17:34:45 +02:00
Martin Guibert e638dc3f94 split github repository supplier 2021-07-02 17:20:29 +02:00
William Beuil 878b0dddc9
Split ec2_eip_association_supplier 2021-07-02 17:00:25 +02:00
William Beuil da973bbbe5
Split ec2_key_pair_supplier 2021-07-02 16:04:12 +02:00
William Beuil 666effc872
Split ec2_ami_supplier 2021-07-02 15:52:18 +02:00
Martin 09f756e655
Merge branch 'main' into refact/vpc_deepmode 2021-07-02 15:06:58 +02:00
Martin 47453c57d0
Merge branch 'main' into rework_s3_bucket_metric_supplier 2021-07-02 14:44:40 +02:00
William Beuil 583ab5b065
First iteration of the output plan 2021-07-02 12:16:42 +02:00
William Beuil c12319e345
Fix details typo 2021-07-01 17:11:25 +02:00
sundowndev d7e789cdf3 test: merge vpc scanner & ec2 scanner tests 2021-07-01 17:01:14 +02:00
sundowndev 007149e785 refactor: delete unused schema files 2021-07-01 16:51:14 +02:00
sundowndev e1df7c84ec refactor: remove irrelevant line comment 2021-07-01 16:51:14 +02:00
sundowndev d0203cfbdc refactor: split default vpc supplier 2021-07-01 16:51:14 +02:00
sundowndev a160963596 refactor: split vpc supplier 2021-07-01 16:51:13 +02:00
William Beuil 4a8eea249e
Split ec2_eip_supplier 2021-07-01 16:22:46 +02:00
Martin Guibert d9d735615e split github_team_supplier 2021-07-01 15:52:52 +02:00
William Beuil 652d846631
Split ec2_ebs_snapshot_supplier 2021-07-01 15:24:35 +02:00
William Beuil 82fd4735f4
Split ec2_ebs_volume_supplier 2021-07-01 11:53:26 +02:00
Elie 54790c5d4c
Split s3_bucket_metrics_supplier 2021-07-01 10:36:46 +02:00
Elie 95c33bc886
Remove useless schemas files 2021-07-01 10:34:29 +02:00
Elie 0ca2866e5e
Merge branch 'main' into sso 2021-06-30 18:26:22 +02:00
Elie f6af2cffab
Merge branch 'main' into fix/sg_rule 2021-06-30 17:53:55 +02:00
Elie 4854d4d997
Split s3_bucket_notification_supplier 2021-06-30 17:26:37 +02:00
Elie 61a84856e0
Merge branch 'main' into rework_s3_bucket_inventory_supplier 2021-06-30 17:06:42 +02:00
Elie 4cbf29fa5b
Add generic detail fetcher 2021-06-30 14:57:50 +02:00
Elie 7f7c269e42
Split s3_bucket_inventory_supplier 2021-06-29 14:29:48 +02:00
Elie 74fda032b9
Rename test file 2021-06-29 14:02:18 +02:00
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