aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.test/tst-rsrc/jgit-s3-config.policy.bucket.json
blob: 3020b09a0043319ad52e7a443b617465a16e8bd9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "DenyAllButKnownSourceAddressWithMask",
            "Effect": "Deny",
            "Principal": "*",
            "Action": "s3:*",
            "Resource": "arn:aws:s3:::jgit.eclipse.org/*",
            "Condition": {
                "NotIpAddress": {
                    "aws:SourceIp": [
                        "198.41.30.0/24",
                        "67.175.188.187/32"
                    ]
                }
            }
        }
    ]
}