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

Backup #314

Merged
merged 7 commits into from
Nov 5, 2019
Merged

Backup #314

merged 7 commits into from
Nov 5, 2019

Conversation

Bento007
Copy link
Member

@Bento007 Bento007 commented Nov 5, 2019

The CLI output looks like this. This info is saved in a JSON file named backup.json

USERS:
{'name': 'test@email.com', 'status': 'Enabled', 'policies': [{'IAMPolicy': {}}], 'roles': []}
]
GROUPS:
{'name': 'user_default', 'members': ['test@email.com',], 'policies': [{'IAMPolicy': {'Version': '2012-10-17', 'Statement': [{'Sid': 'fusGroupMember', 'Effect': 'Allow', 'Action': ['fus:GetGroup', 'fus:GetRole'], 'Resource': ['arn:hca:fus:::group/${fus:group_id}/', 'arn:hca:fus:::group/${fus:group_id}']}], 'Id': 'group:user_default'}}], 'owners': [], 'roles': ['default_user']}]
ROLES:
{'name': 'fusillade_admin', 'owners': [], 'policies': [{'IAMPolicy': {'Version': '2012-10-17', 'Statement': [{'Sid': 'fus_admin', 'Effect': 'Allow', 'Action': ['fus:
'], 'Resource': 'arn:hca:fus:::*'}], 'Id': 'role:fusillade_admin'}}]}

the current clouddirectory to a file
@Bento007 Bento007 self-assigned this Nov 5, 2019
Copy link
Contributor

@amarjandu amarjandu left a comment

Choose a reason for hiding this comment

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

LGTM, one nit.

scripts/backup.py Outdated Show resolved Hide resolved
@Bento007 Bento007 merged commit 090527d into master Nov 5, 2019
@Bento007 Bento007 deleted the tsmith-backup branch November 5, 2019 19:42
@Bento007
Copy link
Member Author

Bento007 commented Nov 5, 2019

Create new follow up issues #316 and #317

@codecov-io
Copy link

codecov-io commented Nov 5, 2019

Codecov Report

Merging #314 into master will increase coverage by <.01%.
The diff coverage is 30.76%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #314      +/-   ##
==========================================
+ Coverage   89.47%   89.47%   +<.01%     
==========================================
  Files          18       18              
  Lines        1662     1673      +11     
==========================================
+ Hits         1487     1497      +10     
- Misses        175      176       +1
Impacted Files Coverage Δ
fusillade/clouddirectory.py 92.88% <30.76%> (-1.06%) ⬇️
fusillade/utils/retry.py 83.49% <0%> (+7.76%) ⬆️

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 33c1dcd...dac455f. Read the comment docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants