{% extends "base.html" %} {% set active_page = 'files' %} {% block title %}Manage S3 Buckets - Ursa Customer Portal{% endblock %} {% block content %}
Back to File Registry
About S3 Bucket Linking

Link your S3 buckets to register files for analysis. Ursa validates read/write permissions and provides remediation steps if access is not configured correctly.

Linked Buckets

{% if buckets %}
{% for bucket in buckets %}
{{ bucket.display_name or bucket.bucket_name }}
{{ 'Valid' if bucket.is_validated else 'Invalid' }} {{ bucket.bucket_type }} {% if bucket.read_only %} Read-only {% endif %}
{% if bucket.can_list %} Browse {% endif %}
s3://{{ bucket.bucket_name }} Prefix: {{ bucket.prefix_restriction if bucket.prefix_restriction else '/' }} {% if bucket.region %} {{ bucket.region }} {% endif %} Linked: {{ bucket.linked_at[:10] if bucket.linked_at else 'Unknown' }}
{% if bucket.description %}

{{ bucket.description }}

{% endif %}
Read Write List
{% if not bucket.is_validated and bucket.remediation_steps %}
How to fix:
    {% for step in bucket.remediation_steps %}
  1. {{ step }}
  2. {% endfor %}
{% endif %}
{% endfor %}
{% else %}

No buckets linked

Link an S3 bucket to start registering files for analysis

{% endif %}

IAM Policy Templates

Use these policy templates to configure access for Ursa:

{
    "Version": "2012-10-17",
    "Statement": [{
        "Effect": "Allow",
        "Action": ["s3:GetObject", "s3:ListBucket", "s3:GetBucketLocation"],
        "Resource": ["arn:aws:s3:::YOUR-BUCKET-NAME", "arn:aws:s3:::YOUR-BUCKET-NAME/*"]
    }]
}
{
    "Version": "2012-10-17",
    "Statement": [{
        "Effect": "Allow",
        "Action": ["s3:GetObject", "s3:PutObject", "s3:DeleteObject", "s3:ListBucket", "s3:GetBucketLocation"],
        "Resource": ["arn:aws:s3:::YOUR-BUCKET-NAME", "arn:aws:s3:::YOUR-BUCKET-NAME/*"]
    }]
}
{% endblock %} {% block extra_js %} {% endblock %}