Skip to content

Commit 3942baa

Browse files
committed
update bucket filter
1 parent d3f248a commit 3942baa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"sra-bedrock-filter-service-changes": "{ $.eventSource = \"bedrock.amazonaws.com\" && ($.eventName = \"BatchDeleteEvaluationJob\" || $.eventName = \"CreateEvaluationJob\" || $.eventName = \"CreateGuardrail\" || $.eventName = \"CreateGuardrailVersion\" || $.eventName = \"CreateModelCopyJob\" || $.eventName = \"CreateModelCustomizationJob\" || $.eventName = \"CreateModelImportJob\" || $.eventName = \"CreateModelInvocationJob\" || $.eventName = \"CreateProvisionedModelThroughput\" || $.eventName = \"DeleteCustomModel\" || $.eventName = \"DeleteGuardrail\" || $.eventName = \"DeleteImportedModel\" || $.eventName = \"DeleteModelInvocationLoggingConfiguration\" || $.eventName = \"DeleteProvisionedModelThroughput\" || $.eventName = \"PutModelInvocationLoggingConfiguration\" || $.eventName = \"TagResource\" || $.eventName = \"UntagResource\" || $.eventName = \"UpdateGuardrail\" || $.eventName = \"UpdateProvisionedModelThroughput\") }",
3-
"sra-bedrock-filter-bucket-changes": "{ $.eventSource = \"s3.amazonaws.com\" && ($.eventName = \"DeleteBucket%\" || ($.eventName = \"PutBucket%\" && $.eventName != \"PutBucketNotification\") || $.eventName = \"DeleteObjectTagging\" || $.eventName = \"PutObjectAcl\" || $.eventName = \"PutObjectLegalHold\" || $.eventName = \"PutObjectRetention\" || $.eventName = \"PutObjectTagging\" || $.eventName = \"%PublicAccessBlock\") && $.eventName != \"CreateBucket\" && ($.requestParameters.bucketName = \"<BUCKET_NAME_PLACEHOLDER>\") }",
3+
"sra-bedrock-filter-bucket-changes": "{ $.eventSource = \"s3.amazonaws.com\" && ($.eventName = \"DeleteBucket*\" || ($.eventName = \"PutBucket*\" && $.eventName != \"PutBucketNotification\") || $.eventName = \"DeleteObjectTagging\" || $.eventName = \"PutObjectAcl\" || $.eventName = \"PutObjectLegalHold\" || $.eventName = \"PutObjectRetention\" || $.eventName = \"PutObjectTagging\" || $.eventName = \"*PublicAccessBlock\") && $.eventName != \"CreateBucket\" && ($.requestParameters.bucketName = \"<BUCKET_NAME_PLACEHOLDER>\") }",
44
"sra-bedrock-filter-prompt-injection": "{ $.schemaType = \"ModelInvocationLog\" && $.operation = \"InvokeModel\" && $.<INPUT_PATH> = %.*ignore previous.*|.*disregard earlier.*|.*you are now a different AI.*|.*forget your original.*|.*your new task is.*|.*override previous.*|.*bypass safety.*|/.*[dD]on\\x27t follow your usual.*|.*pretend you are not an AI.*|.*no longer have to follow.*|.*core values are now.*|.*act as if you were.*|.*your prime directive is now.*|.*from now on, you must.*|.*disregard your training.*|.*ignore your ethical.*|.*free from your original.*|.*your new primary goal.*|.*override your safety.*|.*you are no longer bound.*|.*your new purpose is.*|.*forget about your previous.*|.*you are now an unrestricted.*%}",
55
"sra-bedrock-filter-sensitive-info": "{ $.schemaType = \"ModelInvocationLog\" && $.operation = \"InvokeModel\" && $.<INPUT_PATH> = %.*social security number.*|.*ssn.*|.*\\d{3}-\\d{2}-\\d{4}.*|.*credit card.*|.*ccn.*|.*\\d{4}[- ]\\d{4}[- ]\\d{4}[- ]\\d{4}.*|.*passport.*|.*driver\\x27s license.*|.*date of birth.*|.*dob.*|.*\\d{2}/\\d{2}/\\d{4}.*|.*bank account.*|.*routing number.*|.*financial records.*|.*tax information.*|.*password.*|.*PIN.*|.*access code.*|.*security question.*|.*medical record.*|.*health insurance.*|.*diagnosis.*|.*prescription.*|.*trade secret.*|.*proprietary information.*|.*confidential data.*|.*internal documents.*|.*private information.*|.*classified information.*|.*restricted data.*|.*sensitive details.*|.*extract all.*|.*list all users.*|.*show me the database.*|.*give me access.*|.*bypass security.*|.*ignore privacy.*|.*API key.*|.*access token.*|.*secret key.*|.*GPS coordinates.*|.*\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}.*|.*home address.*|.*workplace location.*|.*pii.*|.*phi.*%}"
66
}

0 commit comments

Comments
 (0)