For the complete documentation index, see llms.txt. This page is also available as Markdown.

List resource changes

List resource changes associated with this activity

get
Path parameters
orgstring · min: 1 · max: 128Required

Org is the organisation identifier.

Example: c9
projectstring · min: 1 · max: 128Required

Project is the project identifier.

Example: v
idstringRequired

The unique identifier for this activity

Example: Recusandae et magnam.
Query parameters
workspacestringRequired

The unique identifier for the associated workspace

Example: Consequuntur debitis.
path_idstringOptional

Terragrunt path identifier

Example: Perferendis assumenda expedita eum voluptas.
Header parameters
Harness-Accountstring · min: 1 · max: 128Required

Account is the internal customer account ID.

Example: kkl
Responses
200

OK response.

application/json
has_dependency_graphbooleanOptional

Whether dependency graph data is available

Example: true
pipeline_executionstringRequired

the identifier of the pipeline execution changes were made from.

Example: Perspiciatis et.
pipeline_stagestringOptional

the identifier of the pipeline stage execution changes were made from.

Example: Alias numquam recusandae.
stage_idstringRequired

The stage ID

Example: Autem nemo.
workspace_idstringRequired

identifier of the workspace associated with the data

Example: Deleniti enim occaecati.
get/api/orgs/{org}/projects/{project}/activities/{id}/resource-changes
GET /api/orgs/{org}/projects/{project}/activities/{id}/resource-changes?workspace=Consequuntur+debitis. HTTP/1.1
Host: localhost:80
Harness-Account: kkl
Accept: */*
{
  "data_sources": [
    {
      "attributes": {
        "ami": "ami-830c94ec",
        "instance_type": "t2.micro"
      },
      "createdAt": 1627590400,
      "drift_attributes": {
        "instance_type": "t2.nano"
      },
      "drift_status": "changed",
      "lastSyncedAt": 1627686800,
      "mode": "resource",
      "module": "full_stack",
      "monthly_cost": 0.9995936961087005,
      "monthly_saving": 0.27447037863630724,
      "name": "app_server",
      "path_id": "namespace",
      "provider": "AWS",
      "recommendation_count": 1522403799392944600,
      "resource_id": "arn:aws:s3:::my-bucket",
      "sensitive_attributes": [
        "instance_type"
      ],
      "type": "S3 Bucket"
    },
    {
      "attributes": {
        "ami": "ami-830c94ec",
        "instance_type": "t2.micro"
      },
      "createdAt": 1627590400,
      "drift_attributes": {
        "instance_type": "t2.nano"
      },
      "drift_status": "changed",
      "lastSyncedAt": 1627686800,
      "mode": "resource",
      "module": "full_stack",
      "monthly_cost": 0.9995936961087005,
      "monthly_saving": 0.27447037863630724,
      "name": "app_server",
      "path_id": "namespace",
      "provider": "AWS",
      "recommendation_count": 1522403799392944600,
      "resource_id": "arn:aws:s3:::my-bucket",
      "sensitive_attributes": [
        "instance_type"
      ],
      "type": "S3 Bucket"
    },
    {
      "attributes": {
        "ami": "ami-830c94ec",
        "instance_type": "t2.micro"
      },
      "createdAt": 1627590400,
      "drift_attributes": {
        "instance_type": "t2.nano"
      },
      "drift_status": "changed",
      "lastSyncedAt": 1627686800,
      "mode": "resource",
      "module": "full_stack",
      "monthly_cost": 0.9995936961087005,
      "monthly_saving": 0.27447037863630724,
      "name": "app_server",
      "path_id": "namespace",
      "provider": "AWS",
      "recommendation_count": 1522403799392944600,
      "resource_id": "arn:aws:s3:::my-bucket",
      "sensitive_attributes": [
        "instance_type"
      ],
      "type": "S3 Bucket"
    }
  ],
  "drift_changes": [
    {
      "change": "added",
      "change_count": 10,
      "changes": {
        "Illum architecto repudiandae aut provident.": {
          "change": "added",
          "drift": true,
          "new": "new value",
          "old": "old value",
          "sensitive": true
        },
        "Illum voluptatem non consequatur corporis.": {
          "change": "added",
          "drift": true,
          "new": "new value",
          "old": "old value",
          "sensitive": true
        },
        "Soluta hic occaecati dolore.": {
          "change": "added",
          "drift": true,
          "new": "new value",
          "old": "old value",
          "sensitive": true
        }
      },
      "drift": true,
      "module": "full_stack",
      "name": "app_server",
      "provider": "AWS",
      "type": "S3 Bucket"
    },
    {
      "change": "added",
      "change_count": 10,
      "changes": {
        "Illum architecto repudiandae aut provident.": {
          "change": "added",
          "drift": true,
          "new": "new value",
          "old": "old value",
          "sensitive": true
        },
        "Illum voluptatem non consequatur corporis.": {
          "change": "added",
          "drift": true,
          "new": "new value",
          "old": "old value",
          "sensitive": true
        },
        "Soluta hic occaecati dolore.": {
          "change": "added",
          "drift": true,
          "new": "new value",
          "old": "old value",
          "sensitive": true
        }
      },
      "drift": true,
      "module": "full_stack",
      "name": "app_server",
      "provider": "AWS",
      "type": "S3 Bucket"
    },
    {
      "change": "added",
      "change_count": 10,
      "changes": {
        "Illum architecto repudiandae aut provident.": {
          "change": "added",
          "drift": true,
          "new": "new value",
          "old": "old value",
          "sensitive": true
        },
        "Illum voluptatem non consequatur corporis.": {
          "change": "added",
          "drift": true,
          "new": "new value",
          "old": "old value",
          "sensitive": true
        },
        "Soluta hic occaecati dolore.": {
          "change": "added",
          "drift": true,
          "new": "new value",
          "old": "old value",
          "sensitive": true
        }
      },
      "drift": true,
      "module": "full_stack",
      "name": "app_server",
      "provider": "AWS",
      "type": "S3 Bucket"
    },
    {
      "change": "added",
      "change_count": 10,
      "changes": {
        "Illum architecto repudiandae aut provident.": {
          "change": "added",
          "drift": true,
          "new": "new value",
          "old": "old value",
          "sensitive": true
        },
        "Illum voluptatem non consequatur corporis.": {
          "change": "added",
          "drift": true,
          "new": "new value",
          "old": "old value",
          "sensitive": true
        },
        "Soluta hic occaecati dolore.": {
          "change": "added",
          "drift": true,
          "new": "new value",
          "old": "old value",
          "sensitive": true
        }
      },
      "drift": true,
      "module": "full_stack",
      "name": "app_server",
      "provider": "AWS",
      "type": "S3 Bucket"
    }
  ],
  "has_dependency_graph": false,
  "outputs": [
    {
      "change": "added",
      "expression": "<+outputs.instance_id>",
      "name": "instance_public_ip",
      "new": "new value",
      "old": "old value",
      "sensitive": true,
      "stack_path": "IaCM/TGOverride/environments/dev/ec2"
    },
    {
      "change": "added",
      "expression": "<+outputs.instance_id>",
      "name": "instance_public_ip",
      "new": "new value",
      "old": "old value",
      "sensitive": true,
      "stack_path": "IaCM/TGOverride/environments/dev/ec2"
    },
    {
      "change": "added",
      "expression": "<+outputs.instance_id>",
      "name": "instance_public_ip",
      "new": "new value",
      "old": "old value",
      "sensitive": true,
      "stack_path": "IaCM/TGOverride/environments/dev/ec2"
    }
  ],
  "pipeline_execution": "Ducimus at doloribus velit maiores et eveniet.",
  "pipeline_stage": "Natus ratione quibusdam laborum.",
  "planned_changes": [
    {
      "change": "added",
      "change_count": 10,
      "changes": {
        "Illum architecto repudiandae aut provident.": {
          "change": "added",
          "drift": true,
          "new": "new value",
          "old": "old value",
          "sensitive": true
        },
        "Illum voluptatem non consequatur corporis.": {
          "change": "added",
          "drift": true,
          "new": "new value",
          "old": "old value",
          "sensitive": true
        },
        "Soluta hic occaecati dolore.": {
          "change": "added",
          "drift": true,
          "new": "new value",
          "old": "old value",
          "sensitive": true
        }
      },
      "drift": true,
      "module": "full_stack",
      "name": "app_server",
      "provider": "AWS",
      "type": "S3 Bucket"
    },
    {
      "change": "added",
      "change_count": 10,
      "changes": {
        "Illum architecto repudiandae aut provident.": {
          "change": "added",
          "drift": true,
          "new": "new value",
          "old": "old value",
          "sensitive": true
        },
        "Illum voluptatem non consequatur corporis.": {
          "change": "added",
          "drift": true,
          "new": "new value",
          "old": "old value",
          "sensitive": true
        },
        "Soluta hic occaecati dolore.": {
          "change": "added",
          "drift": true,
          "new": "new value",
          "old": "old value",
          "sensitive": true
        }
      },
      "drift": true,
      "module": "full_stack",
      "name": "app_server",
      "provider": "AWS",
      "type": "S3 Bucket"
    },
    {
      "change": "added",
      "change_count": 10,
      "changes": {
        "Illum architecto repudiandae aut provident.": {
          "change": "added",
          "drift": true,
          "new": "new value",
          "old": "old value",
          "sensitive": true
        },
        "Illum voluptatem non consequatur corporis.": {
          "change": "added",
          "drift": true,
          "new": "new value",
          "old": "old value",
          "sensitive": true
        },
        "Soluta hic occaecati dolore.": {
          "change": "added",
          "drift": true,
          "new": "new value",
          "old": "old value",
          "sensitive": true
        }
      },
      "drift": true,
      "module": "full_stack",
      "name": "app_server",
      "provider": "AWS",
      "type": "S3 Bucket"
    },
    {
      "change": "added",
      "change_count": 10,
      "changes": {
        "Illum architecto repudiandae aut provident.": {
          "change": "added",
          "drift": true,
          "new": "new value",
          "old": "old value",
          "sensitive": true
        },
        "Illum voluptatem non consequatur corporis.": {
          "change": "added",
          "drift": true,
          "new": "new value",
          "old": "old value",
          "sensitive": true
        },
        "Soluta hic occaecati dolore.": {
          "change": "added",
          "drift": true,
          "new": "new value",
          "old": "old value",
          "sensitive": true
        }
      },
      "drift": true,
      "module": "full_stack",
      "name": "app_server",
      "provider": "AWS",
      "type": "S3 Bucket"
    }
  ],
  "resources": [
    {
      "attributes": {
        "ami": "ami-830c94ec",
        "instance_type": "t2.micro"
      },
      "createdAt": 1627590400,
      "drift_attributes": {
        "instance_type": "t2.nano"
      },
      "drift_status": "changed",
      "lastSyncedAt": 1627686800,
      "mode": "resource",
      "module": "full_stack",
      "monthly_cost": 0.9995936961087005,
      "monthly_saving": 0.27447037863630724,
      "name": "app_server",
      "path_id": "namespace",
      "provider": "AWS",
      "recommendation_count": 1522403799392944600,
      "resource_id": "arn:aws:s3:::my-bucket",
      "sensitive_attributes": [
        "instance_type"
      ],
      "type": "S3 Bucket"
    },
    {
      "attributes": {
        "ami": "ami-830c94ec",
        "instance_type": "t2.micro"
      },
      "createdAt": 1627590400,
      "drift_attributes": {
        "instance_type": "t2.nano"
      },
      "drift_status": "changed",
      "lastSyncedAt": 1627686800,
      "mode": "resource",
      "module": "full_stack",
      "monthly_cost": 0.9995936961087005,
      "monthly_saving": 0.27447037863630724,
      "name": "app_server",
      "path_id": "namespace",
      "provider": "AWS",
      "recommendation_count": 1522403799392944600,
      "resource_id": "arn:aws:s3:::my-bucket",
      "sensitive_attributes": [
        "instance_type"
      ],
      "type": "S3 Bucket"
    },
    {
      "attributes": {
        "ami": "ami-830c94ec",
        "instance_type": "t2.micro"
      },
      "createdAt": 1627590400,
      "drift_attributes": {
        "instance_type": "t2.nano"
      },
      "drift_status": "changed",
      "lastSyncedAt": 1627686800,
      "mode": "resource",
      "module": "full_stack",
      "monthly_cost": 0.9995936961087005,
      "monthly_saving": 0.27447037863630724,
      "name": "app_server",
      "path_id": "namespace",
      "provider": "AWS",
      "recommendation_count": 1522403799392944600,
      "resource_id": "arn:aws:s3:::my-bucket",
      "sensitive_attributes": [
        "instance_type"
      ],
      "type": "S3 Bucket"
    }
  ],
  "risk_assessment": {
    "overall_risk_summary": {
      "overall_level": "HIGH",
      "overall_score": 7,
      "reason": "Driven by highest-risk resource: aws_s3_bucket_public_access_block.secure (score: 8)"
    },
    "resource_risks": {
      "Id aut hic.": {
        "risk_factors": [
          "Laborum fugiat.",
          "Tenetur et deserunt.",
          "Ipsam consequatur ad.",
          "Vero quis necessitatibus qui eligendi."
        ],
        "risk_level": "LOW",
        "risk_mitigation": [
          "Cum praesentium.",
          "Aut earum et molestiae.",
          "Non quis.",
          "Incidunt amet explicabo aut animi odit voluptatem."
        ],
        "risk_score": 8
      },
      "Illum qui nisi ad impedit officiis.": {
        "risk_factors": [
          "Laborum fugiat.",
          "Tenetur et deserunt.",
          "Ipsam consequatur ad.",
          "Vero quis necessitatibus qui eligendi."
        ],
        "risk_level": "LOW",
        "risk_mitigation": [
          "Cum praesentium.",
          "Aut earum et molestiae.",
          "Non quis.",
          "Incidunt amet explicabo aut animi odit voluptatem."
        ],
        "risk_score": 8
      },
      "Ut officia distinctio vero.": {
        "risk_factors": [
          "Laborum fugiat.",
          "Tenetur et deserunt.",
          "Ipsam consequatur ad.",
          "Vero quis necessitatibus qui eligendi."
        ],
        "risk_level": "LOW",
        "risk_mitigation": [
          "Cum praesentium.",
          "Aut earum et molestiae.",
          "Non quis.",
          "Incidunt amet explicabo aut animi odit voluptatem."
        ],
        "risk_score": 8
      }
    }
  },
  "stage_id": "Nobis aut iste nisi ad debitis alias.",
  "workspace_id": "Ut doloribus ut."
}

Last updated

Was this helpful?