{
  "Provider": "aws",
  "CheckID": "ssm_documents_set_as_public",
  "CheckTitle": "Check if there are SSM Documents set as public.",
  "CheckType": [],
  "ServiceName": "ssm",
  "SubServiceName": "",
  "ResourceIdTemplate": "arn:aws:ssm:region:account-id:document/document-name",
  "Severity": "high",
  "ResourceType": "AwsSsmDocument",
  "Description": "Check if there are SSM Documents set as public.",
  "Risk": "SSM Documents may contain private information or even secrets and tokens.",
  "RelatedUrl": "https://docs.aws.amazon.com/systems-manager/latest/userguide/ssm-before-you-share.html",
  "Remediation": {
    "Code": {
      "CLI": "",
      "NativeIaC": "",
      "Other": "https://github.com/cloudmatos/matos/tree/master/remediations/aws/ssm/ssm-doc-block",
      "Terraform": ""
    },
    "Recommendation": {
      "Text": "Carefully review the contents of the document before is shared. Enable SSM Block public sharing for documents.",
      "Url": "https://docs.aws.amazon.com/systems-manager/latest/userguide/ssm-before-you-share.html"
    }
  },
  "Categories": [],
  "Tags": {
    "Tag1Key": "value",
    "Tag2Key": "value"
  },
  "DependsOn": [],
  "RelatedTo": [],
  "Notes": "",
  "Compliance": []
}
