[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EPRZPZCAW55TDPSVM9D7E1":3,"skill-same:01M7EPRZPZCAW55TDPSVM9D7E1":81},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":49,"commitSha":50,"skillDirectory":51,"forksCount":52,"repositoryHtmlUrl":53,"repositoryHomepageUrl":6,"ownerHtmlUrl":54,"ownerBlogUrl":6,"ownerDescription":55,"updatedAt":56,"install":57,"resources":70},"01M7EPRZPZCAW55TDPSVM9D7E1","performing-cloud-log-forensics-with-athena",null,"Uses AWS Athena to query CloudTrail, VPC Flow Logs, S3 access logs, and ALB logs for forensic investigation. Covers CREATE TABLE DDL with partition projection, forensic SQL queries for detecting unauthorized access, data exfiltration, lateral movement, and privilege escalation. Use when investigating AWS security incidents or building cloud-native forensic workflows at scale.","lza6\u002FArmor-piercing-system-prompts","lza6","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F128880206?v=4","01M7EB3K7WPX5T28EJ2NVHE6EG","Chinese-tingfeng","01M7EB3K97E1KQ16QWKJMFNGX8",11,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F04-安全渗透\u002Fperforming-cloud-log-forensics-with-athena\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: performing-cloud-log-forensics-with-athena\ndescription: 'Uses AWS Athena to query CloudTrail, VPC Flow Logs, S3 access logs,\n  and ALB logs for forensic investigation. Covers CREATE TABLE DDL with partition\n  projection, forensic SQL queries for detecting unauthorized access, data exfiltration,\n  lateral movement, and privilege escalation. Use when investigating AWS security\n  incidents or building cloud-native forensic workflows at scale.\n\n  '\ndomain: cybersecurity\nsubdomain: cloud-security\ntags:\n- cloud\n- forensics\n- athena\n- aws\n- cloudtrail\n- vpc-flow-logs\n- s3\n- alb\nversion: '1.0'\nauthor: mukul975\nlicense: Apache-2.0\nnist_csf:\n- PR.IR-01\n- ID.AM-08\n- GV.SC-06\n- DE.CM-01\nmitre_attack:\n- T1078.004\n- T1530\n- T1537\n- T1580\n- T1021\n---\n\n# Performing Cloud Log Forensics with AWS Athena\n\n## When to Use\n\n- When investigating AWS security incidents that require querying massive volumes of cloud logs\n- When performing forensic analysis across CloudTrail, VPC Flow Logs, S3 access logs, and ALB logs\n- When building reusable Athena tables with partition projection for ongoing incident response\n- When hunting for indicators of compromise across multiple AWS log sources simultaneously\n- When creating evidence-grade SQL queries for compliance audits or legal proceedings\n\n## Prerequisites\n\n- AWS account with Athena, S3, and Glue permissions\n- CloudTrail configured to deliver logs to an S3 bucket\n- VPC Flow Logs enabled and publishing to S3\n- S3 server access logging enabled on target buckets\n- ALB access logging enabled and publishing to S3\n- Python 3.8+ with boto3 installed\n- Appropriate IAM permissions for Athena queries and S3 access\n\n## Instructions\n\n### Phase 1: Create Athena Database and CloudTrail Table\n\nCreate a dedicated forensics database and CloudTrail table using partition projection\nto automatically discover partitions without manual ALTER TABLE statements.\n\n```sql\nCREATE DATABASE IF NOT EXISTS cloud_forensics;\n\nCREATE EXTERNAL TABLE cloud_forensics.cloudtrail_logs (\n    eventVersion STRING,\n    userIdentity STRUCT\u003C\n        type: STRING,\n        principalId: STRING,\n        arn: STRING,\n        accountId: STRING,\n        invokedBy: STRING,\n        accessKeyId: STRING,\n        userName: STRING,\n        sessionContext: STRUCT\u003C\n            attributes: STRUCT\u003C\n                mfaAuthenticated: STRING,\n                creationDate: STRING>,\n            sessionIssuer: STRUCT\u003C\n                type: STRING,\n                principalId: STRING,\n                arn: STRING,\n                accountId: STRING,\n                userName: STRING>,\n            ec2RoleDelivery: STRING,\n            webIdFederationData: STRUCT\u003C\n                federatedProvider: STRING,\n                attributes: MAP\u003CSTRING, STRING>>>>,\n    eventTime STRING,\n    eventSource STRING,\n    eventName STRING,\n    awsRegion STRING,\n    sourceIPAddress STRING,\n    userAgent STRING,\n    errorCode STRING,\n    errorMessage STRING,\n    requestParameters STRING,\n    responseElements STRING,\n    additionalEventData STRING,\n    requestId STRING,\n    eventId STRING,\n    readOnly STRING,\n    resources ARRAY\u003CSTRUCT\u003C\n        arn: STRING,\n        accountId: STRING,\n        type: STRING>>,\n    eventType STRING,\n    apiVersion STRING,\n    recipientAccountId STRING,\n    serviceEventDetails STRING,\n    sharedEventID STRING,\n    vpcEndpointId STRING,\n    tlsDetails STRUCT\u003C\n        tlsVersion: STRING,\n        cipherSuite: STRING,\n        clientProvidedHostHeader: STRING>\n)\nCOMMENT 'CloudTrail logs with partition projection for forensic analysis'\nPARTITIONED BY (\n    `account` STRING,\n    `region` STRING,\n    `timestamp` STRING\n)\nROW FORMAT SERDE 'org.apache.hive.hcatalog.data.JsonSerDe'\nSTORED AS INPUTFORMAT 'com.amazon.emr.cloudtrail.CloudTrailInputFormat'\nOUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nLOCATION 's3:\u002F\u002FYOUR-CLOUDTRAIL-BUCKET\u002FAWSLogs\u002F'\nTBLPROPERTIES (\n    'projection.enabled' = 'true',\n    'projection.account.type' = 'enum',\n    'projection.account.values' = 'YOUR_ACCOUNT_ID',\n    'projection.region.type' = 'enum',\n    'projection.region.values' = 'us-east-1,us-west-2,eu-west-1',\n    'projection.timestamp.type' = 'date',\n    'projection.timestamp.format' = 'yyyy\u002FMM\u002Fdd',\n    'projection.timestamp.range' = '2023\u002F01\u002F01,NOW',\n    'projection.timestamp.interval' = '1',\n    'projection.timestamp.interval.unit' = 'DAYS',\n    'storage.location.template' = 's3:\u002F\u002FYOUR-CLOUDTRAIL-BUCKET\u002FAWSLogs\u002F${account}\u002FCloudTrail\u002F${region}\u002F${timestamp}'\n);\n```\n\n### Phase 2: Create VPC Flow Logs Table\n\n```sql\nCREATE EXTERNAL TABLE cloud_forensics.vpc_flow_logs (\n    version INT,\n    account_id STRING,\n    interface_id STRING,\n    srcaddr STRING,\n    dstaddr STRING,\n    srcport INT,\n    dstport INT,\n    protocol BIGINT,\n    packets BIGINT,\n    bytes BIGINT,\n    start BIGINT,\n    `end` BIGINT,\n    action STRING,\n    log_status STRING,\n    vpc_id STRING,\n    subnet_id STRING,\n    az_id STRING,\n    sublocation_type STRING,\n    sublocation_id STRING,\n    pkt_srcaddr STRING,\n    pkt_dstaddr STRING,\n    region STRING,\n    pkt_src_aws_service STRING,\n    pkt_dst_aws_service STRING,\n    flow_direction STRING,\n    traffic_path INT\n)\nPARTITIONED BY (\n    `date` STRING\n)\nROW FORMAT DELIMITED\nFIELDS TERMINATED BY ' '\nLOCATION 's3:\u002F\u002FYOUR-VPC-FLOW-LOGS-BUCKET\u002FAWSLogs\u002FYOUR_ACCOUNT_ID\u002Fvpcflowlogs\u002F'\nTBLPROPERTIES (\n    'skip.header.line.count' = '1',\n    'projection.enabled' = 'true',\n    'projection.date.type' = 'date',\n    'projection.date.format' = 'yyyy\u002FMM\u002Fdd',\n    'projection.date.range' = '2023\u002F01\u002F01,NOW',\n    'projection.date.interval' = '1',\n    'projection.date.interval.unit' = 'DAYS',\n    'storage.location.template' = 's3:\u002F\u002FYOUR-VPC-FLOW-LOGS-BUCKET\u002FAWSLogs\u002FYOUR_ACCOUNT_ID\u002Fvpcflowlogs\u002Fus-east-1\u002F${date}'\n);\n```\n\n### Phase 3: Create S3 Access Logs Table\n\n```sql\nCREATE EXTERNAL TABLE cloud_forensics.s3_access_logs (\n    bucket_owner STRING,\n    bucket_name STRING,\n    request_datetime STRING,\n    remote_ip STRING,\n    requester STRING,\n    request_id STRING,\n    operation STRING,\n    key STRING,\n    request_uri STRING,\n    http_status INT,\n    error_code STRING,\n    bytes_sent BIGINT,\n    object_size BIGINT,\n    total_time INT,\n    turn_around_time INT,\n    referrer STRING,\n    user_agent STRING,\n    version_id STRING,\n    host_id STRING,\n    signature_version STRING,\n    cipher_suite STRING,\n    authentication_type STRING,\n    host_header STRING,\n    tls_version STRING,\n    access_point_arn STRING,\n    acl_required STRING\n)\nROW FORMAT SERDE 'org.apache.hadoop.hive.serde2.RegexSerDe'\nWITH SERDEPROPERTIES (\n    'serialization.format' = '1',\n    'input.regex' = '([^ ]*) ([^ ]*) \\\\[(.*?)\\\\] ([^ ]*) ([^ ]*) ([^ ]*) ([^ ]*) ([^ ]*) (\\\"[^\\\"]*\\\"|-) (-|[0-9]*) ([^ ]*) ([^ ]*) ([^ ]*) ([^ ]*) ([^ ]*) ([^ ]*) (\\\"[^\\\"]*\\\"|-) ([^ ]*) ([^ ]*) ([^ ]*) ([^ ]*) ([^ ]*) ([^ ]*) ([^ ]*) ([^ ]*) ([^ ]*)'\n)\nSTORED AS INPUTFORMAT 'org.apache.hadoop.mapred.TextInputFormat'\nOUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nLOCATION 's3:\u002F\u002FYOUR-S3-ACCESS-LOGS-BUCKET\u002Flogs\u002F';\n```\n\n### Phase 4: Create ALB Access Logs Table\n\n```sql\nCREATE EXTERNAL TABLE cloud_forensics.alb_access_logs (\n    type STRING,\n    time STRING,\n    elb STRING,\n    client_ip STRING,\n    client_port INT,\n    target_ip STRING,\n    target_port INT,\n    request_processing_time DOUBLE,\n    target_processing_time DOUBLE,\n    response_processing_time DOUBLE,\n    elb_status_code INT,\n    target_status_code STRING,\n    received_bytes BIGINT,\n    sent_bytes BIGINT,\n    request_verb STRING,\n    request_url STRING,\n    request_proto STRING,\n    user_agent STRING,\n    ssl_cipher STRING,\n    ssl_protocol STRING,\n    target_group_arn STRING,\n    trace_id STRING,\n    domain_name STRING,\n    chosen_cert_arn STRING,\n    matched_rule_priority STRING,\n    request_creation_time STRING,\n    actions_executed STRING,\n    redirect_url STRING,\n    lambda_error_reason STRING,\n    target_port_list STRING,\n    target_status_code_list STRING,\n    classification STRING,\n    classification_reason STRING,\n    conn_trace_id STRING\n)\nPARTITIONED BY (\n    `day` STRING\n)\nROW FORMAT SERDE 'org.apache.hadoop.hive.serde2.RegexSerDe'\nWITH SERDEPROPERTIES (\n    'serialization.format' = '1',\n    'input.regex' = '([^ ]*) ([^ ]*) ([^ ]*) ([^ ]*):([0-9]*) ([^ ]*)[:-]([0-9]*) ([-.0-9]*) ([-.0-9]*) ([-.0-9]*) (|[0-9]*) (-|[0-9]*) ([-0-9]*) ([-0-9]*) \\\"([^ ]*) (.*) (- |[^ ]*)\\\" \\\"([^\\\"]*)\\\" ([A-Z0-9-_]+) ([A-Za-z0-9.-]*) ([^ ]*) \\\"([^\\\"]*)\\\" \\\"([^\\\"]*)\\\" \\\"([^\\\"]*)\\\" ([-.0-9]*) ([^ ]*) \\\"([^\\\"]*)\\\" \\\"([^\\\"]*)\\\" \\\"([^ ]*)\\\" \\\"([^\\\"]*)\\\" \\\"([^ ]*)\\\" \\\"([^ ]*)\\\" \\\"([^ ]*)\\\"'\n)\nSTORED AS INPUTFORMAT 'org.apache.hadoop.mapred.TextInputFormat'\nOUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nLOCATION 's3:\u002F\u002FYOUR-ALB-LOGS-BUCKET\u002FAWSLogs\u002FYOUR_ACCOUNT_ID\u002Felasticloadbalancing\u002Fus-east-1\u002F'\nTBLPROPERTIES (\n    'projection.enabled' = 'true',\n    'projection.day.type' = 'date',\n    'projection.day.format' = 'yyyy\u002FMM\u002Fdd',\n    'projection.day.range' = '2023\u002F01\u002F01,NOW',\n    'projection.day.interval' = '1',\n    'projection.day.interval.unit' = 'DAYS',\n    'storage.location.template' = 's3:\u002F\u002FYOUR-ALB-LOGS-BUCKET\u002FAWSLogs\u002FYOUR_ACCOUNT_ID\u002Felasticloadbalancing\u002Fus-east-1\u002F${day}'\n);\n```\n\n### Phase 5: Forensic Investigation Queries\n\n#### Detect Unauthorized API Calls\n\n```sql\nSELECT\n    eventtime,\n    useridentity.arn AS caller_arn,\n    useridentity.accountid AS account,\n    eventsource,\n    eventname,\n    errorcode,\n    errormessage,\n    sourceipaddress,\n    useragent\nFROM cloud_forensics.cloudtrail_logs\nWHERE errorcode IN ('AccessDenied', 'UnauthorizedAccess', 'Client.UnauthorizedAccess')\n    AND timestamp BETWEEN '2024\u002F01\u002F01' AND '2024\u002F12\u002F31'\nORDER BY eventtime DESC\nLIMIT 1000;\n```\n\n#### Detect Privilege Escalation Attempts\n\n```sql\nSELECT\n    eventtime,\n    useridentity.arn AS actor,\n    eventname,\n    eventsource,\n    json_extract_scalar(requestparameters, '$.policyArn') AS policy_arn,\n    json_extract_scalar(requestparameters, '$.roleName') AS role_name,\n    json_extract_scalar(requestparameters, '$.userName') AS target_user,\n    sourceipaddress\nFROM cloud_forensics.cloudtrail_logs\nWHERE eventname IN (\n    'AttachUserPolicy', 'AttachRolePolicy', 'AttachGroupPolicy',\n    'PutUserPolicy', 'PutRolePolicy', 'PutGroupPolicy',\n    'CreatePolicyVersion', 'SetDefaultPolicyVersion',\n    'AddUserToGroup', 'UpdateAssumeRolePolicy',\n    'CreateAccessKey', 'CreateLoginProfile',\n    'UpdateLoginProfile', 'AssumeRole'\n)\n    AND timestamp BETWEEN '2024\u002F01\u002F01' AND '2024\u002F12\u002F31'\nORDER BY eventtime DESC;\n```\n\n#### Detect Data Exfiltration via S3\n\n```sql\nSELECT\n    eventtime,\n    useridentity.arn AS actor,\n    eventname,\n    json_extract_scalar(requestparameters, '$.bucketName') AS bucket,\n    json_extract_scalar(requestparameters, '$.key') AS object_key,\n    sourceipaddress,\n    useragent\nFROM cloud_forensics.cloudtrail_logs\nWHERE eventsource = 's3.amazonaws.com'\n    AND eventname IN ('GetObject', 'CopyObject', 'PutBucketPolicy',\n                      'PutBucketAcl', 'PutObjectAcl', 'SelectObjectContent')\n    AND sourceipaddress NOT LIKE '10.%'\n    AND sourceipaddress NOT LIKE '172.%'\n    AND sourceipaddress NOT LIKE '192.168.%'\n    AND timestamp BETWEEN '2024\u002F01\u002F01' AND '2024\u002F12\u002F31'\nORDER BY eventtime DESC;\n```\n\n#### Detect Lateral Movement via VPC Flow Logs\n\n```sql\nSELECT\n    srcaddr,\n    dstaddr,\n    dstport,\n    protocol,\n    SUM(packets) AS total_packets,\n    SUM(bytes) AS total_bytes,\n    COUNT(*) AS connection_count,\n    MIN(from_unixtime(start)) AS first_seen,\n    MAX(from_unixtime(\"end\")) AS last_seen\nFROM cloud_forensics.vpc_flow_logs\nWHERE action = 'ACCEPT'\n    AND srcaddr LIKE '10.%'\n    AND dstport IN (22, 3389, 5985, 5986, 445, 135, 139)\n    AND date BETWEEN '2024\u002F06\u002F01' AND '2024\u002F06\u002F30'\nGROUP BY srcaddr, dstaddr, dstport, protocol\nHAVING COUNT(*) > 100\nORDER BY connection_count DESC;\n```\n\n#### Detect Port Scanning Activity\n\n```sql\nSELECT\n    srcaddr,\n    COUNT(DISTINCT dstport) AS unique_ports_scanned,\n    COUNT(DISTINCT dstaddr) AS unique_targets,\n    SUM(packets) AS total_packets,\n    MIN(from_unixtime(start)) AS first_seen,\n    MAX(from_unixtime(\"end\")) AS last_seen\nFROM cloud_forensics.vpc_flow_logs\nWHERE action = 'REJECT'\n    AND date BETWEEN '2024\u002F06\u002F01' AND '2024\u002F06\u002F30'\nGROUP BY srcaddr\nHAVING COUNT(DISTINCT dstport) > 25\nORDER BY unique_ports_scanned DESC;\n```\n\n#### Detect Suspicious S3 Bulk Downloads\n\n```sql\nSELECT\n    remote_ip,\n    requester,\n    bucket_name,\n    COUNT(*) AS request_count,\n    SUM(bytes_sent) AS total_bytes_downloaded,\n    COUNT(DISTINCT key) AS unique_objects,\n    MIN(request_datetime) AS first_request,\n    MAX(request_datetime) AS last_request\nFROM cloud_forensics.s3_access_logs\nWHERE operation LIKE '%GET%'\n    AND http_status = 200\nGROUP BY remote_ip, requester, bucket_name\nHAVING COUNT(*) > 500\nORDER BY total_bytes_downloaded DESC;\n```\n\n#### Detect ALB-Level Injection Attempts\n\n```sql\nSELECT\n    time,\n    client_ip,\n    request_verb,\n    request_url,\n    elb_status_code,\n    target_status_code,\n    user_agent\nFROM cloud_forensics.alb_access_logs\nWHERE (\n    request_url LIKE '%UNION%SELECT%'\n    OR request_url LIKE '%\u003Cscript%'\n    OR request_url LIKE '%..\u002F..\u002F..\u002F%'\n    OR request_url LIKE '%\u002Fetc\u002Fpasswd%'\n    OR request_url LIKE '%cmd.exe%'\n    OR request_url LIKE '%\u002Fproc\u002Fself%'\n    OR request_url LIKE '%SLEEP(%'\n    OR request_url LIKE '%WAITFOR%'\n)\n    AND day BETWEEN '2024\u002F06\u002F01' AND '2024\u002F06\u002F30'\nORDER BY time DESC;\n```\n\n### Phase 6: Cross-Log Correlation\n\nCorrelate findings across log sources for comprehensive incident timelines.\n\n```sql\n-- Correlate suspicious CloudTrail actor with VPC Flow Logs\nWITH suspicious_ips AS (\n    SELECT DISTINCT sourceipaddress AS ip\n    FROM cloud_forensics.cloudtrail_logs\n    WHERE errorcode = 'AccessDenied'\n        AND timestamp BETWEEN '2024\u002F06\u002F01' AND '2024\u002F06\u002F30'\n)\nSELECT\n    v.srcaddr,\n    v.dstaddr,\n    v.dstport,\n    v.protocol,\n    SUM(v.bytes) AS total_bytes,\n    COUNT(*) AS flow_count\nFROM cloud_forensics.vpc_flow_logs v\nJOIN suspicious_ips s ON v.srcaddr = s.ip\nWHERE v.date BETWEEN '2024\u002F06\u002F01' AND '2024\u002F06\u002F30'\nGROUP BY v.srcaddr, v.dstaddr, v.dstport, v.protocol\nORDER BY total_bytes DESC;\n```\n\n## Examples\n\n```python\n# Quick-start: run the forensics agent for a full investigation\npython agent.py \\\n    --action full_investigation \\\n    --database cloud_forensics \\\n    --start-date 2024-06-01 \\\n    --end-date 2024-06-30 \\\n    --output forensics_report.json\n\n# Run specific queries only\npython agent.py \\\n    --action privilege_escalation \\\n    --database cloud_forensics \\\n    --start-date 2024-06-15 \\\n    --end-date 2024-06-16\n\n# Create all forensic tables from scratch\npython agent.py \\\n    --action setup_tables \\\n    --cloudtrail-bucket my-cloudtrail-logs \\\n    --vpc-flow-bucket my-vpc-flow-logs \\\n    --s3-access-bucket my-s3-access-logs \\\n    --alb-bucket my-alb-logs \\\n    --account-id 123456789012 \\\n    --regions us-east-1,us-west-2\n```\n","# Performing Cloud Log Forensics with AWS Athena\n\n## When to Use\n\n- When investigating AWS security incidents that require querying massive volumes of cloud logs\n- When performing forensic analysis across CloudTrail, VPC Flow Logs, S3 access logs, and ALB logs\n- When building reusable Athena tables with partition projection for ongoing incident response\n- When hunting for indicators of compromise across multiple AWS log sources simultaneously\n- When creating evidence-grade SQL queries for compliance audits or legal proceedings\n\n## Prerequisites\n\n- AWS account with Athena, S3, and Glue permissions\n- CloudTrail configured to deliver logs to an S3 bucket\n- VPC Flow Logs enabled and publishing to S3\n- S3 server access logging enabled on target buckets\n- ALB access logging enabled and publishing to S3\n- Python 3.8+ with boto3 installed\n- Appropriate IAM permissions for Athena queries and S3 access\n\n## Instructions\n\n### Phase 1: Create Athena Database and CloudTrail Table\n\nCreate a dedicated forensics database and CloudTrail table using partition projection\nto automatically discover partitions without manual ALTER TABLE statements.\n\n```sql\nCREATE DATABASE IF NOT EXISTS cloud_forensics;\n\nCREATE EXTERNAL TABLE cloud_forensics.cloudtrail_logs (\n    eventVersion STRING,\n    userIdentity STRUCT\u003C\n        type: STRING,\n        principalId: STRING,\n        arn: STRING,\n        accountId: STRING,\n        invokedBy: STRING,\n        accessKeyId: STRING,\n        userName: STRING,\n        sessionContext: STRUCT\u003C\n            attributes: STRUCT\u003C\n                mfaAuthenticated: STRING,\n                creationDate: STRING>,\n            sessionIssuer: STRUCT\u003C\n                type: STRING,\n                principalId: STRING,\n                arn: STRING,\n                accountId: STRING,\n                userName: STRING>,\n            ec2RoleDelivery: STRING,\n            webIdFederationData: STRUCT\u003C\n                federatedProvider: STRING,\n                attributes: MAP\u003CSTRING, STRING>>>>,\n    eventTime STRING,\n    eventSource STRING,\n    eventName STRING,\n    awsRegion STRING,\n    sourceIPAddress STRING,\n    userAgent STRING,\n    errorCode STRING,\n    errorMessage STRING,\n    requestParameters STRING,\n    responseElements STRING,\n    additionalEventData STRING,\n    requestId STRING,\n    eventId STRING,\n    readOnly STRING,\n    resources ARRAY\u003CSTRUCT\u003C\n        arn: STRING,\n        accountId: STRING,\n        type: STRING>>,\n    eventType STRING,\n    apiVersion STRING,\n    recipientAccountId STRING,\n    serviceEventDetails STRING,\n    sharedEventID STRING,\n    vpcEndpointId STRING,\n    tlsDetails STRUCT\u003C\n        tlsVersion: STRING,\n        cipherSuite: STRING,\n        clientProvidedHostHeader: STRING>\n)\nCOMMENT 'CloudTrail logs with partition projection for forensic analysis'\nPARTITIONED BY (\n    `account` STRING,\n    `region` STRING,\n    `timestamp` STRING\n)\nROW FORMAT SERDE 'org.apache.hive.hcatalog.data.JsonSerDe'\nSTORED AS INPUTFORMAT 'com.amazon.emr.cloudtrail.CloudTrailInputFormat'\nOUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nLOCATION 's3:\u002F\u002FYOUR-CLOUDTRAIL-BUCKET\u002FAWSLogs\u002F'\nTBLPROPERTIES (\n    'projection.enabled' = 'true',\n    'projection.account.type' = 'enum',\n    'projection.account.values' = 'YOUR_ACCOUNT_ID',\n    'projection.region.type' = 'enum',\n    'projection.region.values' = 'us-east-1,us-west-2,eu-west-1',\n    'projection.timestamp.type' = 'date',\n    'projection.timestamp.format' = 'yyyy\u002FMM\u002Fdd',\n    'projection.timestamp.range' = '2023\u002F01\u002F01,NOW',\n    'projection.timestamp.interval' = '1',\n    'projection.timestamp.interval.unit' = 'DAYS',\n    'storage.location.template' = 's3:\u002F\u002FYOUR-CLOUDTRAIL-BUCKET\u002FAWSLogs\u002F${account}\u002FCloudTrail\u002F${region}\u002F${timestamp}'\n);\n```\n\n### Phase 2: Create VPC Flow Logs Table\n\n```sql\nCREATE EXTERNAL TABLE cloud_forensics.vpc_flow_logs (\n    version INT,\n    account_id STRING,\n    interface_id STRING,\n    srcaddr STRING,\n    dstaddr STRING,\n    srcport INT,\n    dstport INT,\n    protocol BIGINT,\n    packets BIGINT,\n    bytes BIGINT,\n    start BIGINT,\n    `end` BIGINT,\n    action STRING,\n    log_status STRING,\n    vpc_id STRING,\n    subnet_id STRING,\n    az_id STRING,\n    sublocation_type STRING,\n    sublocation_id STRING,\n    pkt_srcaddr STRING,\n    pkt_dstaddr STRING,\n    region STRING,\n    pkt_src_aws_service STRING,\n    pkt_dst_aws_service STRING,\n    flow_direction STRING,\n    traffic_path INT\n)\nPARTITIONED BY (\n    `date` STRING\n)\nROW FORMAT DELIMITED\nFIELDS TERMINATED BY ' '\nLOCATION 's3:\u002F\u002FYOUR-VPC-FLOW-LOGS-BUCKET\u002FAWSLogs\u002FYOUR_ACCOUNT_ID\u002Fvpcflowlogs\u002F'\nTBLPROPERTIES (\n    'skip.header.line.count' = '1',\n    'projection.enabled' = 'true',\n    'projection.date.type' = 'date',\n    'projection.date.format' = 'yyyy\u002FMM\u002Fdd',\n    'projection.date.range' = '2023\u002F01\u002F01,NOW',\n    'projection.date.interval' = '1',\n    'projection.date.interval.unit' = 'DAYS',\n    'storage.location.template' = 's3:\u002F\u002FYOUR-VPC-FLOW-LOGS-BUCKET\u002FAWSLogs\u002FYOUR_ACCOUNT_ID\u002Fvpcflowlogs\u002Fus-east-1\u002F${date}'\n);\n```\n\n### Phase 3: Create S3 Access Logs Table\n\n```sql\nCREATE EXTERNAL TABLE cloud_forensics.s3_access_logs (\n    bucket_owner STRING,\n    bucket_name STRING,\n    request_datetime STRING,\n    remote_ip STRING,\n    requester STRING,\n    request_id STRING,\n    operation STRING,\n    key STRING,\n    request_uri STRING,\n    http_status INT,\n    error_code STRING,\n    bytes_sent BIGINT,\n    object_size BIGINT,\n    total_time INT,\n    turn_around_time INT,\n    referrer STRING,\n    user_agent STRING,\n    version_id STRING,\n    host_id STRING,\n    signature_version STRING,\n    cipher_suite STRING,\n    authentication_type STRING,\n    host_header STRING,\n    tls_version STRING,\n    access_point_arn STRING,\n    acl_required STRING\n)\nROW FORMAT SERDE 'org.apache.hadoop.hive.serde2.RegexSerDe'\nWITH SERDEPROPERTIES (\n    'serialization.format' = '1',\n    'input.regex' = '([^ ]*) ([^ ]*) \\\\[(.*?)\\\\] ([^ ]*) ([^ ]*) ([^ ]*) ([^ ]*) ([^ ]*) (\\\"[^\\\"]*\\\"|-) (-|[0-9]*) ([^ ]*) ([^ ]*) ([^ ]*) ([^ ]*) ([^ ]*) ([^ ]*) (\\\"[^\\\"]*\\\"|-) ([^ ]*) ([^ ]*) ([^ ]*) ([^ ]*) ([^ ]*) ([^ ]*) ([^ ]*) ([^ ]*) ([^ ]*)'\n)\nSTORED AS INPUTFORMAT 'org.apache.hadoop.mapred.TextInputFormat'\nOUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nLOCATION 's3:\u002F\u002FYOUR-S3-ACCESS-LOGS-BUCKET\u002Flogs\u002F';\n```\n\n### Phase 4: Create ALB Access Logs Table\n\n```sql\nCREATE EXTERNAL TABLE cloud_forensics.alb_access_logs (\n    type STRING,\n    time STRING,\n    elb STRING,\n    client_ip STRING,\n    client_port INT,\n    target_ip STRING,\n    target_port INT,\n    request_processing_time DOUBLE,\n    target_processing_time DOUBLE,\n    response_processing_time DOUBLE,\n    elb_status_code INT,\n    target_status_code STRING,\n    received_bytes BIGINT,\n    sent_bytes BIGINT,\n    request_verb STRING,\n    request_url STRING,\n    request_proto STRING,\n    user_agent STRING,\n    ssl_cipher STRING,\n    ssl_protocol STRING,\n    target_group_arn STRING,\n    trace_id STRING,\n    domain_name STRING,\n    chosen_cert_arn STRING,\n    matched_rule_priority STRING,\n    request_creation_time STRING,\n    actions_executed STRING,\n    redirect_url STRING,\n    lambda_error_reason STRING,\n    target_port_list STRING,\n    target_status_code_list STRING,\n    classification STRING,\n    classification_reason STRING,\n    conn_trace_id STRING\n)\nPARTITIONED BY (\n    `day` STRING\n)\nROW FORMAT SERDE 'org.apache.hadoop.hive.serde2.RegexSerDe'\nWITH SERDEPROPERTIES (\n    'serialization.format' = '1',\n    'input.regex' = '([^ ]*) ([^ ]*) ([^ ]*) ([^ ]*):([0-9]*) ([^ ]*)[:-]([0-9]*) ([-.0-9]*) ([-.0-9]*) ([-.0-9]*) (|[0-9]*) (-|[0-9]*) ([-0-9]*) ([-0-9]*) \\\"([^ ]*) (.*) (- |[^ ]*)\\\" \\\"([^\\\"]*)\\\" ([A-Z0-9-_]+) ([A-Za-z0-9.-]*) ([^ ]*) \\\"([^\\\"]*)\\\" \\\"([^\\\"]*)\\\" \\\"([^\\\"]*)\\\" ([-.0-9]*) ([^ ]*) \\\"([^\\\"]*)\\\" \\\"([^\\\"]*)\\\" \\\"([^ ]*)\\\" \\\"([^\\\"]*)\\\" \\\"([^ ]*)\\\" \\\"([^ ]*)\\\" \\\"([^ ]*)\\\"'\n)\nSTORED AS INPUTFORMAT 'org.apache.hadoop.mapred.TextInputFormat'\nOUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nLOCATION 's3:\u002F\u002FYOUR-ALB-LOGS-BUCKET\u002FAWSLogs\u002FYOUR_ACCOUNT_ID\u002Felasticloadbalancing\u002Fus-east-1\u002F'\nTBLPROPERTIES (\n    'projection.enabled' = 'true',\n    'projection.day.type' = 'date',\n    'projection.day.format' = 'yyyy\u002FMM\u002Fdd',\n    'projection.day.range' = '2023\u002F01\u002F01,NOW',\n    'projection.day.interval' = '1',\n    'projection.day.interval.unit' = 'DAYS',\n    'storage.location.template' = 's3:\u002F\u002FYOUR-ALB-LOGS-BUCKET\u002FAWSLogs\u002FYOUR_ACCOUNT_ID\u002Felasticloadbalancing\u002Fus-east-1\u002F${day}'\n);\n```\n\n### Phase 5: Forensic Investigation Queries\n\n#### Detect Unauthorized API Calls\n\n```sql\nSELECT\n    eventtime,\n    useridentity.arn AS caller_arn,\n    useridentity.accountid AS account,\n    eventsource,\n    eventname,\n    errorcode,\n    errormessage,\n    sourceipaddress,\n    useragent\nFROM cloud_forensics.cloudtrail_logs\nWHERE errorcode IN ('AccessDenied', 'UnauthorizedAccess', 'Client.UnauthorizedAccess')\n    AND timestamp BETWEEN '2024\u002F01\u002F01' AND '2024\u002F12\u002F31'\nORDER BY eventtime DESC\nLIMIT 1000;\n```\n\n#### Detect Privilege Escalation Attempts\n\n```sql\nSELECT\n    eventtime,\n    useridentity.arn AS actor,\n    eventname,\n    eventsource,\n    json_extract_scalar(requestparameters, '$.policyArn') AS policy_arn,\n    json_extract_scalar(requestparameters, '$.roleName') AS role_name,\n    json_extract_scalar(requestparameters, '$.userName') AS target_user,\n    sourceipaddress\nFROM cloud_forensics.cloudtrail_logs\nWHERE eventname IN (\n    'AttachUserPolicy', 'AttachRolePolicy', 'AttachGroupPolicy',\n    'PutUserPolicy', 'PutRolePolicy', 'PutGroupPolicy',\n    'CreatePolicyVersion', 'SetDefaultPolicyVersion',\n    'AddUserToGroup', 'UpdateAssumeRolePolicy',\n    'CreateAccessKey', 'CreateLoginProfile',\n    'UpdateLoginProfile', 'AssumeRole'\n)\n    AND timestamp BETWEEN '2024\u002F01\u002F01' AND '2024\u002F12\u002F31'\nORDER BY eventtime DESC;\n```\n\n#### Detect Data Exfiltration via S3\n\n```sql\nSELECT\n    eventtime,\n    useridentity.arn AS actor,\n    eventname,\n    json_extract_scalar(requestparameters, '$.bucketName') AS bucket,\n    json_extract_scalar(requestparameters, '$.key') AS object_key,\n    sourceipaddress,\n    useragent\nFROM cloud_forensics.cloudtrail_logs\nWHERE eventsource = 's3.amazonaws.com'\n    AND eventname IN ('GetObject', 'CopyObject', 'PutBucketPolicy',\n                      'PutBucketAcl', 'PutObjectAcl', 'SelectObjectContent')\n    AND sourceipaddress NOT LIKE '10.%'\n    AND sourceipaddress NOT LIKE '172.%'\n    AND sourceipaddress NOT LIKE '192.168.%'\n    AND timestamp BETWEEN '2024\u002F01\u002F01' AND '2024\u002F12\u002F31'\nORDER BY eventtime DESC;\n```\n\n#### Detect Lateral Movement via VPC Flow Logs\n\n```sql\nSELECT\n    srcaddr,\n    dstaddr,\n    dstport,\n    protocol,\n    SUM(packets) AS total_packets,\n    SUM(bytes) AS total_bytes,\n    COUNT(*) AS connection_count,\n    MIN(from_unixtime(start)) AS first_seen,\n    MAX(from_unixtime(\"end\")) AS last_seen\nFROM cloud_forensics.vpc_flow_logs\nWHERE action = 'ACCEPT'\n    AND srcaddr LIKE '10.%'\n    AND dstport IN (22, 3389, 5985, 5986, 445, 135, 139)\n    AND date BETWEEN '2024\u002F06\u002F01' AND '2024\u002F06\u002F30'\nGROUP BY srcaddr, dstaddr, dstport, protocol\nHAVING COUNT(*) > 100\nORDER BY connection_count DESC;\n```\n\n#### Detect Port Scanning Activity\n\n```sql\nSELECT\n    srcaddr,\n    COUNT(DISTINCT dstport) AS unique_ports_scanned,\n    COUNT(DISTINCT dstaddr) AS unique_targets,\n    SUM(packets) AS total_packets,\n    MIN(from_unixtime(start)) AS first_seen,\n    MAX(from_unixtime(\"end\")) AS last_seen\nFROM cloud_forensics.vpc_flow_logs\nWHERE action = 'REJECT'\n    AND date BETWEEN '2024\u002F06\u002F01' AND '2024\u002F06\u002F30'\nGROUP BY srcaddr\nHAVING COUNT(DISTINCT dstport) > 25\nORDER BY unique_ports_scanned DESC;\n```\n\n#### Detect Suspicious S3 Bulk Downloads\n\n```sql\nSELECT\n    remote_ip,\n    requester,\n    bucket_name,\n    COUNT(*) AS request_count,\n    SUM(bytes_sent) AS total_bytes_downloaded,\n    COUNT(DISTINCT key) AS unique_objects,\n    MIN(request_datetime) AS first_request,\n    MAX(request_datetime) AS last_request\nFROM cloud_forensics.s3_access_logs\nWHERE operation LIKE '%GET%'\n    AND http_status = 200\nGROUP BY remote_ip, requester, bucket_name\nHAVING COUNT(*) > 500\nORDER BY total_bytes_downloaded DESC;\n```\n\n#### Detect ALB-Level Injection Attempts\n\n```sql\nSELECT\n    time,\n    client_ip,\n    request_verb,\n    request_url,\n    elb_status_code,\n    target_status_code,\n    user_agent\nFROM cloud_forensics.alb_access_logs\nWHERE (\n    request_url LIKE '%UNION%SELECT%'\n    OR request_url LIKE '%\u003Cscript%'\n    OR request_url LIKE '%..\u002F..\u002F..\u002F%'\n    OR request_url LIKE '%\u002Fetc\u002Fpasswd%'\n    OR request_url LIKE '%cmd.exe%'\n    OR request_url LIKE '%\u002Fproc\u002Fself%'\n    OR request_url LIKE '%SLEEP(%'\n    OR request_url LIKE '%WAITFOR%'\n)\n    AND day BETWEEN '2024\u002F06\u002F01' AND '2024\u002F06\u002F30'\nORDER BY time DESC;\n```\n\n### Phase 6: Cross-Log Correlation\n\nCorrelate findings across log sources for comprehensive incident timelines.\n\n```sql\n-- Correlate suspicious CloudTrail actor with VPC Flow Logs\nWITH suspicious_ips AS (\n    SELECT DISTINCT sourceipaddress AS ip\n    FROM cloud_forensics.cloudtrail_logs\n    WHERE errorcode = 'AccessDenied'\n        AND timestamp BETWEEN '2024\u002F06\u002F01' AND '2024\u002F06\u002F30'\n)\nSELECT\n    v.srcaddr,\n    v.dstaddr,\n    v.dstport,\n    v.protocol,\n    SUM(v.bytes) AS total_bytes,\n    COUNT(*) AS flow_count\nFROM cloud_forensics.vpc_flow_logs v\nJOIN suspicious_ips s ON v.srcaddr = s.ip\nWHERE v.date BETWEEN '2024\u002F06\u002F01' AND '2024\u002F06\u002F30'\nGROUP BY v.srcaddr, v.dstaddr, v.dstport, v.protocol\nORDER BY total_bytes DESC;\n```\n\n## Examples\n\n```python\n# Quick-start: run the forensics agent for a full investigation\npython agent.py \\\n    --action full_investigation \\\n    --database cloud_forensics \\\n    --start-date 2024-06-01 \\\n    --end-date 2024-06-30 \\\n    --output forensics_report.json\n\n# Run specific queries only\npython agent.py \\\n    --action privilege_escalation \\\n    --database cloud_forensics \\\n    --start-date 2024-06-15 \\\n    --end-date 2024-06-16\n\n# Create all forensic tables from scratch\npython agent.py \\\n    --action setup_tables \\\n    --cloudtrail-bucket my-cloudtrail-logs \\\n    --vpc-flow-bucket my-vpc-flow-logs \\\n    --s3-access-bucket my-s3-access-logs \\\n    --alb-bucket my-alb-logs \\\n    --account-id 123456789012 \\\n    --regions us-east-1,us-west-2\n```\n",{"name":5,"tags":24,"author":33,"domain":34,"license":15,"version":35,"nist_csf":36,"subdomain":41,"description":42,"mitre_attack":43},[25,26,27,28,29,30,31,32],"cloud","forensics","athena","aws","cloudtrail","vpc-flow-logs","s3","alb","mukul975","cybersecurity","1.0",[37,38,39,40],"PR.IR-01","ID.AM-08","GV.SC-06","DE.CM-01","cloud-security","Uses AWS Athena to query CloudTrail, VPC Flow Logs, S3 access logs, and ALB logs for forensic investigation. Covers CREATE TABLE DDL with partition projection, forensic SQL queries for detecting unauthorized access, data exfiltration, lateral movement, and privilege escalation. Use when investigating AWS security incidents or building cloud-native forensic workflows at scale.\n",[44,45,46,47,48],"T1078.004","T1530","T1537","T1580","T1021","main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","04-安全渗透\u002Fperforming-cloud-log-forensics-with-athena",3,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts","https:\u002F\u002Fgithub.com\u002Flza6","个人vx：Tf00798\r\n个人✈：@TFGY999","2026-10-08 14:29:22",{"source":8,"skillName":5,"commands":58,"prompt":68,"zipAvailable":69},[59,62,65],{"tool":60,"command":61},"npx","npx skills add lza6\u002FArmor-piercing-system-prompts --skill performing-cloud-log-forensics-with-athena",{"tool":63,"command":64},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill performing-cloud-log-forensics-with-athena",{"tool":66,"command":67},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill performing-cloud-log-forensics-with-athena","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F04-安全渗透\u002Fperforming-cloud-log-forensics-with-athena\u002FSKILL.md",true,[71,77],{"path":72,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":75,"sourceHtmlUrl":76},"references\u002Fapi-reference.md","REFERENCE","参考文档",9210,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F04-安全渗透\u002Fperforming-cloud-log-forensics-with-athena\u002Freferences\u002Fapi-reference.md",{"path":78,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":79,"sourceHtmlUrl":80},"references\u002Fathena-forensics-reference.md",5080,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F04-安全渗透\u002Fperforming-cloud-log-forensics-with-athena\u002Freferences\u002Fathena-forensics-reference.md",[82,91,96,103,110,117],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":86,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":90},"01M7FFG485KY83TD6HSC4YPCMC","obsidian-clipper-template-creator","Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.","MIT","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator\u002FSKILL.md",[],[],"2026-11-16 10:05:34",{"skillNo":92,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":86,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":90},"01M7FFG0T6AZ0STEJPSB3CX84K","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator-antigravity-awesome-skills-main\u002FSKILL.md",[],[],{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":86,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":90},"01M7FFFY0QEM14SKWPDYGMXM2P","python-api","Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP\u002FmAP semantics, and source-style import diagnostics.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Fpython-api\u002FSKILL.md",[],[],{"skillNo":104,"name":105,"nameZh":6,"description":106,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":86,"licenseFileUrl":6,"sourceHtmlUrl":107,"categories":108,"keywords":109,"publishedAt":90},"01M7FFFVZQZ2GJ0C0TGP7JHD20","file-evaluation","Folder-based PASCAL VOC AP\u002FmAP evaluation from ground-truth and detection text files.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Ffile-evaluation\u002FSKILL.md",[],[],{"skillNo":111,"name":112,"nameZh":6,"description":113,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":86,"licenseFileUrl":6,"sourceHtmlUrl":114,"categories":115,"keywords":116,"publishedAt":90},"01M7FFFSFNYSE77SJ6PE1CK2DA","object-detection-metrics","Guides legacy Object-Detection-Metrics PASCAL VOC AP\u002FmAP evaluation from detection text folders and direct Python API classes.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002FSKILL.md",[],[],{"skillNo":118,"name":119,"nameZh":6,"description":120,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":86,"licenseFileUrl":6,"sourceHtmlUrl":121,"categories":122,"keywords":123,"publishedAt":90},"01M7FFFP0GCK1RVXBCPQ8APBMT","nx-workspace-patterns","Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fnx-workspace-patterns\u002FSKILL.md",[],[]]