<commit_before>{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": [
        "s3:ListBucket"
      ],
      "Resource": "arn:aws:s3:::${LOGS_BUCKET}"
    },
    {
      "Effect": "Allow",
      "Action": [
        "s3:AbortMultipartUpload",
        "s3:GetObject",
        "s3:ListMultipartUploadParts",
        "s3:PutObject"
      ],
      "Resource": "arn:aws:s3:::${LOGS_LOCATION_BASE}/*"
    }
  ]
}
<commit_msg>CB-7506: Update example logging IAM policy to block FreeIPA backup access<commit_after>{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": [
        "s3:ListBucket"
      ],
      "Resource": "arn:aws:s3:::${LOGS_BUCKET}"
    },
    {
      "Effect": "Allow",
      "Action": [
        "s3:AbortMultipartUpload",
        "s3:GetObject",
        "s3:ListMultipartUploadParts",
        "s3:PutObject"
      ],
      "Resource": "arn:aws:s3:::${LOGS_LOCATION_BASE}/*"
    },
    {
      "Effect": "Deny",
      "Action": "s3:GetObject",
      "Resource": [
        "arn:aws:s3:::${LOGS_LOCATION_BASE}/cluster-backups",
        "arn:aws:s3:::${LOGS_LOCATION_BASE}/cluster-backups/*"
      ]
    }
  ]
}
{'fraction_non_alphanumeric': 0.1971595655806182, 'fraction_numerical': 0.030910609857978277, 'mean_word_length': 2.3185595567867034, 'pattern_counts': {'":': 19, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5629491', 'n_tokens_mistral': 466, 'n_tokens_neox': 455, 'n_words': 55}