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

Refactoring/aws/s3 #270

Merged
merged 21 commits into from
Mar 26, 2019
Merged

Conversation

Aboisier
Copy link
Contributor

@Aboisier Aboisier commented Mar 20, 2019

This PR migrates S3 to the new architecture, see #183 .

What changed (apart from like changing the architecture):

  • I removed a property named logging_stuff which contained what I identified as both redundant and irrelevant data.
  • About 100 lines of dead code were removed

@Aboisier Aboisier added this to the Iteration #5 milestone Mar 20, 2019
@Aboisier Aboisier self-assigned this Mar 20, 2019
@Aboisier Aboisier changed the base branch from refactoring/gcp-resource-configs to refactoring/resource-configs March 20, 2019 17:43
@Aboisier Aboisier mentioned this pull request Mar 20, 2019
53 tasks
Copy link
Contributor

@vifor2 vifor2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

giphy

@codecov-io
Copy link

Codecov Report

Merging #270 into refactoring/resource-configs will increase coverage by 0.58%.
The diff coverage is 20.83%.

Impacted file tree graph

@@                       Coverage Diff                        @@
##           refactoring/resource-configs     #270      +/-   ##
================================================================
+ Coverage                          30.9%   31.48%   +0.58%     
================================================================
  Files                               130      131       +1     
  Lines                              5633     5545      -88     
================================================================
+ Hits                               1741     1746       +5     
+ Misses                             3892     3799      -93
Impacted Files Coverage Δ
ScoutSuite/providers/aws/provider.py 9.74% <0%> (-0.02%) ⬇️
ScoutSuite/providers/aws/facade/s3.py 15.94% <15.94%> (ø)
ScoutSuite/providers/aws/facade/facade.py 35.59% <33.33%> (-0.13%) ⬇️
ScoutSuite/providers/aws/resources/s3/service.py 47.82% <47.82%> (ø)
ScoutSuite/providers/aws/configs/services.py 49.18% <50%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c542ca9...9c86f38. Read the comment docs.

@codecov-io
Copy link

codecov-io commented Mar 21, 2019

Codecov Report

Merging #270 into refactoring/resource-configs will increase coverage by 0.54%.
The diff coverage is 21.42%.

Impacted file tree graph

@@                       Coverage Diff                        @@
##           refactoring/resource-configs     #270      +/-   ##
================================================================
+ Coverage                         32.81%   33.35%   +0.54%     
================================================================
  Files                               157      157              
  Lines                              5702     5606      -96     
================================================================
- Hits                               1871     1870       -1     
+ Misses                             3831     3736      -95
Impacted Files Coverage Δ
ScoutSuite/providers/aws/provider.py 9.82% <0%> (-0.05%) ⬇️
ScoutSuite/providers/aws/facade/s3.py 15.94% <15.94%> (ø)
ScoutSuite/providers/aws/resources/s3/service.py 47.82% <47.82%> (ø)
ScoutSuite/providers/aws/configs/services.py 50% <50%> (ø) ⬆️
ScoutSuite/providers/aws/facade/facade.py 44.73% <66.66%> (+0.9%) ⬆️
ScoutSuite/providers/aws/configs/base.py
.../providers/aws/resources/cloudformation/service.py 27.45% <0%> (+0.62%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8d719e3...3d95dee. Read the comment docs.

Copy link
Contributor

@misg misg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job! 💯 I just left some comments about details and concurrency.

Co-Authored-By: Aboisier <aboisiermichaud@gmail.com>
@Aboisier Aboisier merged commit dcfce6f into refactoring/resource-configs Mar 26, 2019
@Aboisier Aboisier deleted the refactoring/aws/s3 branch March 26, 2019 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants