Skip to main content

Nimbus AWS Security SDK — Bedrock RAG remediation and infrastructure provisioning

Project description

nimbus-core

Nimbus AWS Security SDK — Bedrock RAG remediation and infrastructure provisioning.

Install

pip install nimbus-core

Prerequisites

  • AWS credentials configured (aws configure or env vars)
  • Bedrock model access enabled:
    • amazon.titan-embed-text-v2:0
    • anthropic.claude-haiku-4-5-20251001-v1:0

Quick Start

With an existing Knowledge Base

from nimbus_core import NimbusClient

client = NimbusClient(region="us-east-1", kb_id="YOUR_KB_ID")
result = client.suggest_fix("S3 bucket is publicly accessible")
print(result.remediation)

Provision a new Knowledge Base first

from nimbus_core import NimbusClient

client = NimbusClient(region="us-east-1")
client.init()  # creates S3 bucket, vectors, Bedrock KB, uploads docs

result = client.suggest_fix("EC2 instance has no IMDSv2 enforced")
print(result.remediation)

Structured finding input

from nimbus_core import NimbusClient, FindingInput

client = NimbusClient(region="us-east-1", kb_id="YOUR_KB_ID")

finding = FindingInput(
    title="Public S3 Bucket",
    description="S3 bucket my-bucket has public read access enabled",
    severity="HIGH",
    service="s3",
    resource_arn="arn:aws:s3:::my-bucket",
)
result = client.suggest_fix_for_finding(finding)
print(result.remediation)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nimbus_core-0.11.0.tar.gz (14.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nimbus_core-0.11.0-py3-none-any.whl (15.8 kB view details)

Uploaded Python 3

File details

Details for the file nimbus_core-0.11.0.tar.gz.

File metadata

  • Download URL: nimbus_core-0.11.0.tar.gz
  • Upload date:
  • Size: 14.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for nimbus_core-0.11.0.tar.gz
Algorithm Hash digest
SHA256 8379aa3e8197539256d7bf2f79f57510389750acb07b97bac117f934175804e0
MD5 a45eeabfa8537cc6f90a50b017ad1272
BLAKE2b-256 75616a45dbf1ce7ce730c2ff6ac1c92966c93607e9ec5a738ac66aaedec074f5

See more details on using hashes here.

File details

Details for the file nimbus_core-0.11.0-py3-none-any.whl.

File metadata

  • Download URL: nimbus_core-0.11.0-py3-none-any.whl
  • Upload date:
  • Size: 15.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for nimbus_core-0.11.0-py3-none-any.whl
Algorithm Hash digest
SHA256 df0bb550141056f37c4cbbc0503444e4af29e395e3f96f9ac43e40ab2e74bc12
MD5 448246b74b8acdbb68f3a6e077799d4b
BLAKE2b-256 ad4c792f318d0386dce50577f8d35dbcfb0d6012af6f2e3d435731aef986c10c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page