{
	"id": "97e2a1bc-a35d-47d9-a81c-0770e91ee106",
	"created_at": "2026-04-06T01:32:02.429858Z",
	"updated_at": "2026-04-10T03:21:56.238267Z",
	"deleted_at": null,
	"sha1_hash": "36d725a73ff2f04dba1fb925e58ae111c4b4dc24",
	"title": "GetPublicAccessBlock - Amazon Simple Storage Service",
	"llm_title": "",
	"authors": "",
	"file_creation_date": "0001-01-01T00:00:00Z",
	"file_modification_date": "0001-01-01T00:00:00Z",
	"file_size": 79575,
	"plain_text": "GetPublicAccessBlock - Amazon Simple Storage Service\r\nArchived: 2026-04-06 00:46:21 UTC\r\nNote\r\nThis operation is not supported for directory buckets.\r\nRetrieves the PublicAccessBlock configuration for an Amazon S3 bucket. This operation returns the bucket-level configuration only. To understand the effective public access behavior, you must also consider account-level\r\nsettings (which may inherit from organization-level policies). To use this operation, you must have the\r\ns3:GetBucketPublicAccessBlock permission. For more information about Amazon S3 permissions, see\r\nSpecifying Permissions in a Policy.\r\nImportant\r\nWhen Amazon S3 evaluates the PublicAccessBlock configuration for a bucket or an object, it checks the\r\nPublicAccessBlock configuration for both the bucket (or the bucket that contains the object) and the bucket\r\nowner's account. Account-level settings automatically inherit from organization-level policies when present. If the\r\nPublicAccessBlock settings are different between the bucket and the account, Amazon S3 uses the most\r\nrestrictive combination of the bucket-level and account-level settings.\r\nFor more information about when Amazon S3 considers a bucket or an object public, see The Meaning of\r\n\"Public\".\r\nThe following operations are related to GetPublicAccessBlock :\r\nUsing Amazon S3 Block Public Access\r\nPutPublicAccessBlock\r\nGetPublicAccessBlock\r\nDeletePublicAccessBlock\r\nImportant\r\nYou must URL encode any signed header values that contain spaces. For example, if your header value is my\r\nfile.txt , containing two spaces after my , you must URL encode this value to my%20%20file.txt .\r\nRequest Syntax\r\nGET /?publicAccessBlock HTTP/1.1\r\nHost: Bucket .s3.amazonaws.com\r\nhttps://docs.aws.amazon.com/AmazonS3/latest/API/API_GetPublicAccessBlock.html\r\nPage 1 of 5\n\nx-amz-expected-bucket-owner: ExpectedBucketOwner\r\nURI Request Parameters\r\nThe request uses the following URI parameters.\r\nBucket\r\nThe name of the Amazon S3 bucket whose PublicAccessBlock configuration you want to retrieve.\r\nRequired: Yes\r\nx-amz-expected-bucket-owner\r\nThe account ID of the expected bucket owner. If the account ID that you provide does not match the actual\r\nowner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).\r\nRequest Body\r\nThe request does not have a request body.\r\nResponse Syntax\r\nHTTP/1.1 200\r\n\u003c?xml version=\"1.0\" encoding=\"UTF-8\"?\u003e\r\n\u003cPublicAccessBlockConfiguration\u003e\r\n \u003cBlockPublicAcls\u003eboolean\u003c/BlockPublicAcls\u003e\r\n \u003cIgnorePublicAcls\u003eboolean\u003c/IgnorePublicAcls\u003e\r\n \u003cBlockPublicPolicy\u003eboolean\u003c/BlockPublicPolicy\u003e\r\n \u003cRestrictPublicBuckets\u003eboolean\u003c/RestrictPublicBuckets\u003e\r\n\u003c/PublicAccessBlockConfiguration\u003e\r\nResponse Elements\r\nIf the action is successful, the service sends back an HTTP 200 response.\r\nThe following data is returned in XML format by the service.\r\nPublicAccessBlockConfiguration\r\nRoot level tag for the PublicAccessBlockConfiguration parameters.\r\nRequired: Yes\r\nBlockPublicAcls\r\nhttps://docs.aws.amazon.com/AmazonS3/latest/API/API_GetPublicAccessBlock.html\r\nPage 2 of 5\n\nSpecifies whether Amazon S3 should block public access control lists (ACLs) for this bucket and objects in\r\nthis bucket. Setting this element to TRUE causes the following behavior:\r\nPUT Bucket ACL and PUT Object ACL calls fail if the specified ACL is public.\r\nPUT Object calls fail if the request includes a public ACL.\r\nPUT Bucket calls fail if the request includes a public ACL.\r\nEnabling this setting doesn't affect existing policies or ACLs.\r\nType: Boolean\r\nBlockPublicPolicy\r\nSpecifies whether Amazon S3 should block public bucket policies for this bucket. Setting this element to\r\nTRUE causes Amazon S3 to reject calls to PUT Bucket policy if the specified bucket policy allows public\r\naccess.\r\nEnabling this setting doesn't affect existing bucket policies.\r\nType: Boolean\r\nIgnorePublicAcls\r\nSpecifies whether Amazon S3 should ignore public ACLs for this bucket and objects in this bucket. Setting\r\nthis element to TRUE causes Amazon S3 to ignore all public ACLs on this bucket and objects in this\r\nbucket.\r\nEnabling this setting doesn't affect the persistence of any existing ACLs and doesn't prevent new public\r\nACLs from being set.\r\nType: Boolean\r\nRestrictPublicBuckets\r\nSpecifies whether Amazon S3 should restrict public bucket policies for this bucket. Setting this element to\r\nTRUE restricts access to this bucket to only AWS service principals and authorized users within this\r\naccount if the bucket has a public policy.\r\nEnabling this setting doesn't affect previously stored bucket policies, except that public and cross-account\r\naccess within any public bucket policy, including non-public delegation to specific accounts, is blocked.\r\nType: Boolean\r\nExamples\r\nSample Request\r\nhttps://docs.aws.amazon.com/AmazonS3/latest/API/API_GetPublicAccessBlock.html\r\nPage 3 of 5\n\nThe following request gets a bucket PublicAccessBlock configuration.\r\n GET /\u003cbucket-name\u003e?publicAccessBlock HTTP/1.1\r\n Host: \u003cbucket-name\u003e.s3.\u003cRegion\u003e.amazonaws.com\r\n x-amz-date: \u003cThu, 15 Nov 2016 00:17:21 GMT\u003e\r\n Authorization: \u003csignatureValue\u003e\r\n \r\nSample Response\r\nThis example illustrates one usage of GetPublicAccessBlock.\r\n HTTP/1.1 200 OK\r\n x-amz-id-2: ITnGT1y4REXAMPLEPi4hklTXouTf0hccUjo0iCPEXAMPLEutBj3M7fPGlWO2SEWp\r\n x-amz-request-id: 51991EXAMPLE5321\r\n Date: Thu, 15 Nov 2016 00:17:22 GMT\r\n Server: AmazonS3\r\n Content-Length: 0\r\n \u003cPublicAccessBlockConfiguration\u003e\r\n \u003cBlockPublicAcls\u003eTRUE\u003c/BlockPublicAcls\u003e\r\n \u003cIgnorePublicAcls\u003eFALSE\u003c/IgnorePublicAcls\u003e\r\n \u003cBlockPublicPolicy\u003eFALSE\u003c/BlockPublicPolicy\u003e\r\n \u003cRestrictPublicBuckets\u003eFALSE\u003c/RestrictPublicBuckets\u003e\r\n \u003c/PublicAccessBlockConfiguration\u003e\r\n \r\nSee Also\r\nFor more information about using this API in one of the language-specific AWS SDKs, see the following:\r\nAWS Command Line Interface V2\r\nAWS SDK for .NET V4\r\nAWS SDK for C++\r\nAWS SDK for Go v2\r\nAWS SDK for Java V2\r\nAWS SDK for JavaScript V3\r\nAWS SDK for Kotlin\r\nhttps://docs.aws.amazon.com/AmazonS3/latest/API/API_GetPublicAccessBlock.html\r\nPage 4 of 5\n\nAWS SDK for PHP V3\r\nAWS SDK for Python\r\nAWS SDK for Ruby V3\r\nSource: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetPublicAccessBlock.html\r\nhttps://docs.aws.amazon.com/AmazonS3/latest/API/API_GetPublicAccessBlock.html\r\nPage 5 of 5",
	"extraction_quality": 1,
	"language": "EN",
	"sources": [
		"MITRE"
	],
	"references": [
		"https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetPublicAccessBlock.html"
	],
	"report_names": [
		"API_GetPublicAccessBlock.html"
	],
	"threat_actors": [],
	"ts_created_at": 1775439122,
	"ts_updated_at": 1775791316,
	"ts_creation_date": 0,
	"ts_modification_date": 0,
	"files": {
		"pdf": "https://archive.orkl.eu/36d725a73ff2f04dba1fb925e58ae111c4b4dc24.pdf",
		"text": "https://archive.orkl.eu/36d725a73ff2f04dba1fb925e58ae111c4b4dc24.txt",
		"img": "https://archive.orkl.eu/36d725a73ff2f04dba1fb925e58ae111c4b4dc24.jpg"
	}
}