CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-aws-sdk--client-sts

AWS SDK for JavaScript STS Client for Node.js, Browser and React Native, providing temporary security credentials and role assumption capabilities

92

1.05x
Quality

Pending

Does it follow best practices?

Impact

92%

1.05x

Average score across 10 eval scenarios

SecuritybySnyk

Pending

The risk profile of this skill

Overview
Eval results
Files

criteria.jsonevals/scenario-8/

{
  "context": "This evaluation assesses how well the engineer uses the AWS SDK for JavaScript v3's automatic retry and exponential backoff capabilities. It focuses on proper configuration of the STS client with retry settings and correct usage of the GetCallerIdentity operation.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "STSClient instantiation",
      "description": "Creates an STSClient instance from @aws-sdk/client-sts package with proper configuration object",
      "max_score": 15
    },
    {
      "name": "maxAttempts configuration",
      "description": "Configures the maxAttempts property in the client configuration to control the maximum number of retry attempts",
      "max_score": 20
    },
    {
      "name": "retryMode configuration",
      "description": "Sets the retryMode property to 'standard' or uses the standard retry strategy for exponential backoff behavior",
      "max_score": 20
    },
    {
      "name": "GetCallerIdentityCommand usage",
      "description": "Uses the GetCallerIdentityCommand class from @aws-sdk/client-sts to create the command for the API operation",
      "max_score": 20
    },
    {
      "name": "client.send() invocation",
      "description": "Calls the client.send() method with the GetCallerIdentityCommand to execute the API request",
      "max_score": 15
    },
    {
      "name": "Account ID extraction",
      "description": "Correctly extracts the Account property from the GetCallerIdentity response object",
      "max_score": 10
    }
  ]
}

tile.json