Toggle navigation
Toggle navigation
This project
Loading...
Sign in
서승완
/
kappa
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
Jose Diaz-Gonzalez
2016-05-17 23:33:28 -0400
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
6d4b4865a7c545673856b8a35172949c68e305ff
6d4b4865
1 parent
6057de78
Fix retrieval of resources when user is using statements
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
kappa/policy.py
kappa/policy.py
View file @
6d4b486
...
...
@@ -48,7 +48,7 @@ class Policy(object):
document
=
{
'Version'
:
'2012-10-17'
}
statements
=
[]
document
[
'Statement'
]
=
statements
for
resource
in
self
.
config
[
'policy'
]
[
'resources'
]
:
for
resource
in
self
.
config
[
'policy'
]
.
get
(
'resources'
,
[])
:
arn
=
resource
[
'arn'
]
_
,
_
,
service
,
_
=
arn
.
split
(
':'
,
3
)
statement
=
{
"Effect"
:
"Allow"
,
...
...
Please
register
or
login
to post a comment