ladderlore
  • 输入服务名称,例如 S3 或 IAM。

服务 · Management and Governance

AWS CloudTrail

Records API calls in your account: the audit trail of who did what, when, including calls to Amazon Bedrock.

本课尚未翻译,暂以英文显示。

User or role
Bedrock
CloudTrail
Stored trail
  1. 1A user or role calls Amazon Bedrock.
  2. 2AWS CloudTrail records the call.
  3. 3The record is kept in a stored trail for audits.
CloudTrail records each call to the service.

分步说明

  1. 1A user or role calls Amazon Bedrock.
  2. 2AWS CloudTrail records the call.
  3. 3The record is kept in a stored trail for audits.

CloudTrail records each call to the service.

  • Records

    CloudTrail
    API calls
    CloudWatch
    Metrics and logs
    Model invocation logging
    Prompts and answers
  • Answers

    CloudTrail
    Who did what?
    CloudWatch
    How is it running?
    Model invocation logging
    What was said?
  • Prompt text

    CloudTrail
    No
    CloudWatch
    Only if logged to it
    Model invocation logging
    Yes, once turned on
Three records of AI use, and what each holds.

1 / 2

  • Records

    CloudTrail
    API calls
    CloudWatch
    Metrics and logs
    Model invocation logging
    Prompts and answers
  • Answers

    CloudTrail
    Who did what?
    CloudWatch
    How is it running?
    Model invocation logging
    What was said?

2 / 2

  • Prompt text

    CloudTrail
    No
    CloudWatch
    Only if logged to it
    Model invocation logging
    Yes, once turned on
Three records of AI use, and what each holds.

是什么

AWS CloudTrail records the API calls made in your AWS account. Each record says who made the call, what they asked for, when, and from where. It covers calls made in the console, the command line and code. Management events, such as changing a setting, are recorded by default: the event history in the console shows the last 90 days. Keep a trail to go back further.

For AI, CloudTrail is the audit trail. It shows who invoked a model, who changed a guardrail and who used an encryption key. You can keep the records in Amazon S3 for as long as your rules require.

是什么

CloudTrail records that a call happened. It does not store the text of prompts and answers. Amazon Bedrock model invocation logging does that, and it is off until you turn it on. It can send the text to Amazon CloudWatch Logs or Amazon S3. Amazon CloudWatch is for performance and alarms.

要记住

  • CloudTrail logs API calls: who, what, when and from where. Denied calls are recorded too.
  • It is the audit trail for AI activity, such as model invocation and guardrail changes.
  • Management events are recorded by default. Event history shows the last 90 days.
  • Store a trail in Amazon S3 for long-term retention.

要记住

  • Prompt and answer text comes from Bedrock model invocation logging, which is off until you turn it on.
  • CloudTrail is for audit. CloudWatch is for monitoring.

考试中

  • “Find out who invoked a foundation model yesterday” points to AWS CloudTrail.
  • “Record the text of prompts and responses” points to model invocation logging, not CloudTrail.
  • “Audit trail of API activity” always points to AWS CloudTrail.