Skip to content
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.

Jamf enhancement dev #160

Closed
wants to merge 8 commits into from
Closed

Jamf enhancement dev #160

wants to merge 8 commits into from

Conversation

poornima-metron
Copy link
Collaborator

@poornima-metron poornima-metron commented Jun 19, 2024

Description

Thank you for contributing to a JupiterOne integration!
Please include a summary of the change and which issue is fixed. Please also
include relevant motivation and context. List any dependencies that are required
for this change.

Summary

Type of change

Please leave any irrelevant options unchecked.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to
    not work as expected)
  • This change requires a documentation update

Checklist

General Development Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

Integration Development Checklist:

Please leave any irrelevant options unchecked.

  • I have checked for additional permissions required to call any new API
    endpoints, and have documented any additional permissions in
    jupiterone.md, where necessary.
  • My changes properly paginate the target service provider's API
  • My changes properly handle rate limiting of the target service provider's
    API
  • My new integration step is instrumented to execute in the correct order
    using dependsOn
  • I have referred to the
    JupiterOne data model
    to ensure that any new entities/relationships, and relevant properties,
    match the recommended model for this class of data
  • I have updated the CHANGELOG.md file to describe my changes
  • When changes include modifications to existing graph data ingestion, I've
    reviewed all existing managed questions referencing the entities,
    relationships, and their property names, to ensure those questions still
    function with my changes.

@poornima-metron poornima-metron requested a review from a team as a code owner June 19, 2024 06:23
CHANGELOG.md Outdated

#### 🐛 Bug Fix

- Updated the code device group entity : missing groups

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated the code for Device Group Entity

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Bharatkk-metron Please make this change

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated

if (computerIdSet.has(computerDevice.id)) {
continue;
}
computerIdSet.add(computerDevice.id);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are we doing this? Is there a chance that computerDevice will have duplicate values in computerDevices?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For a larger data set, this might be the case. In the previous code, they were checking for duplications therefore putting a check to avoid duplicate key errors.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

CHANGELOG.md Outdated

#### 🐛 Bug Fix

- Updated the code device group entity : missing groups

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Bharatkk-metron Please make this change

@VDubber
Copy link
Contributor

VDubber commented Jun 27, 2024

@poornima-metron - On future PRs, please reference the Jira ticket or SOW associated with this work. Thanks!

src/steps/devices/index.ts Outdated Show resolved Hide resolved
src/steps/devices/index.ts Outdated Show resolved Hide resolved
src/steps/devices/index.ts Outdated Show resolved Hide resolved
@VDubber
Copy link
Contributor

VDubber commented Jul 1, 2024

I think this PR is ready to be merged once the Build/test check is passing.

@VDubber
Copy link
Contributor

VDubber commented Jul 2, 2024

These changes need to be moved here. Closing this PR now.

@VDubber VDubber closed this Jul 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants