Skip to content

Commit

Permalink
Merge pull request #155 from basepair/HotFix-Adding-Missing-Policy-Me…
Browse files Browse the repository at this point in the history
…thod

HotFix-Adding-Missing-Policy-Method
  • Loading branch information
blasvicco authored Feb 3, 2025
2 parents f3c6d81 + 8be1a8c commit 728377e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/basepair/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# Exposing the storage wrapper

__title__ = 'basepair'
__version__ = '2.2.3'
__version__ = '2.2.4'
__copyright__ = 'Copyright [2017] - [2024] Basepair INC'


Expand Down
12 changes: 12 additions & 0 deletions app/basepair/modules/aws/policy.py
Original file line number Diff line number Diff line change
Expand Up @@ -355,3 +355,15 @@ def batch_worker():
}],
'Version': '2012-10-17'
}

@staticmethod
def sts_get_caller_id():
'''Get caller ID'''
return {
'Statement': [{
'Effect': 'Allow',
'Action': ['sts:GetCallerIdentity'],
'Resource': '*'
}],
'Version': '2012-10-17'
}

0 comments on commit 728377e

Please sign in to comment.