Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable API Key Access for users, accounts and domains #9741

Draft
wants to merge 32 commits into
base: main
Choose a base branch
from

Fix events generated to set Username, Account and Domain of the calle…

a9805b5
Select commit
Loading
Failed to load commit list.
Draft

Disable API Key Access for users, accounts and domains #9741

Fix events generated to set Username, Account and Domain of the calle…
a9805b5
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch succeeded Oct 18, 2024 in 1s

25.73% of diff hit (target 15.78%)

View this Pull Request on Codecov

25.73% of diff hit (target 15.78%)

Annotations

Check warning on line 1254 in api/src/main/java/org/apache/cloudstack/api/ApiConstants.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

api/src/main/java/org/apache/cloudstack/api/ApiConstants.java#L1254

Added line #L1254 was not covered by tests

Check warning on line 1256 in api/src/main/java/org/apache/cloudstack/api/ApiConstants.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

api/src/main/java/org/apache/cloudstack/api/ApiConstants.java#L1256

Added line #L1256 was not covered by tests

Check warning on line 1258 in api/src/main/java/org/apache/cloudstack/api/ApiConstants.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

api/src/main/java/org/apache/cloudstack/api/ApiConstants.java#L1258

Added line #L1258 was not covered by tests

Check warning on line 1260 in api/src/main/java/org/apache/cloudstack/api/ApiConstants.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

api/src/main/java/org/apache/cloudstack/api/ApiConstants.java#L1260

Added line #L1260 was not covered by tests

Check warning on line 1262 in api/src/main/java/org/apache/cloudstack/api/ApiConstants.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

api/src/main/java/org/apache/cloudstack/api/ApiConstants.java#L1262

Added line #L1262 was not covered by tests

Check warning on line 1264 in api/src/main/java/org/apache/cloudstack/api/ApiConstants.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

api/src/main/java/org/apache/cloudstack/api/ApiConstants.java#L1264

Added line #L1264 was not covered by tests

Check warning on line 1266 in api/src/main/java/org/apache/cloudstack/api/ApiConstants.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

api/src/main/java/org/apache/cloudstack/api/ApiConstants.java#L1266

Added line #L1266 was not covered by tests

Check warning on line 119 in api/src/main/java/org/apache/cloudstack/api/command/admin/account/UpdateAccountCmd.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

api/src/main/java/org/apache/cloudstack/api/command/admin/account/UpdateAccountCmd.java#L117-L119

Added lines #L117 - L119 were not covered by tests

Check warning on line 143 in api/src/main/java/org/apache/cloudstack/api/command/admin/account/UpdateAccountCmd.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

api/src/main/java/org/apache/cloudstack/api/command/admin/account/UpdateAccountCmd.java#L143

Added line #L143 was not covered by tests

Check warning on line 58 in api/src/main/java/org/apache/cloudstack/api/command/admin/user/GetUserKeysCmd.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

api/src/main/java/org/apache/cloudstack/api/command/admin/user/GetUserKeysCmd.java#L58

Added line #L58 was not covered by tests

Check warning on line 64 in api/src/main/java/org/apache/cloudstack/api/command/admin/user/GetUserKeysCmd.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

api/src/main/java/org/apache/cloudstack/api/command/admin/user/GetUserKeysCmd.java#L62-L64

Added lines #L62 - L64 were not covered by tests

Check warning on line 88 in api/src/main/java/org/apache/cloudstack/api/command/admin/user/ListUsersCmd.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

api/src/main/java/org/apache/cloudstack/api/command/admin/user/ListUsersCmd.java#L86-L88

Added lines #L86 - L88 were not covered by tests

Check warning on line 100 in api/src/main/java/org/apache/cloudstack/api/command/admin/user/ListUsersCmd.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

api/src/main/java/org/apache/cloudstack/api/command/admin/user/ListUsersCmd.java#L100

Added line #L100 was not covered by tests

Check warning on line 129 in api/src/main/java/org/apache/cloudstack/api/command/admin/user/UpdateUserCmd.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

api/src/main/java/org/apache/cloudstack/api/command/admin/user/UpdateUserCmd.java#L127-L129

Added lines #L127 - L129 were not covered by tests

Check warning on line 129 in api/src/main/java/org/apache/cloudstack/api/command/user/account/ListAccountsCmd.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

api/src/main/java/org/apache/cloudstack/api/command/user/account/ListAccountsCmd.java#L127-L129

Added lines #L127 - L129 were not covered by tests

Check warning on line 564 in api/src/main/java/org/apache/cloudstack/api/response/AccountResponse.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

api/src/main/java/org/apache/cloudstack/api/response/AccountResponse.java#L562-L564

Added lines #L562 - L564 were not covered by tests

Check warning on line 57 in api/src/main/java/org/apache/cloudstack/api/response/RegisterResponse.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

api/src/main/java/org/apache/cloudstack/api/response/RegisterResponse.java#L55-L57

Added lines #L55 - L57 were not covered by tests

Check warning on line 319 in api/src/main/java/org/apache/cloudstack/api/response/UserResponse.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

api/src/main/java/org/apache/cloudstack/api/response/UserResponse.java#L317-L319

Added lines #L317 - L319 were not covered by tests

Check warning on line 239 in engine/schema/src/main/java/com/cloud/user/AccountVO.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

engine/schema/src/main/java/com/cloud/user/AccountVO.java#L237-L239

Added lines #L237 - L239 were not covered by tests

Check warning on line 242 in engine/schema/src/main/java/com/cloud/user/AccountVO.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

engine/schema/src/main/java/com/cloud/user/AccountVO.java#L242

Added line #L242 was not covered by tests

Check warning on line 244 in engine/schema/src/main/java/com/cloud/user/AccountVO.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

engine/schema/src/main/java/com/cloud/user/AccountVO.java#L244

Added line #L244 was not covered by tests

Check warning on line 359 in engine/schema/src/main/java/com/cloud/user/UserVO.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

engine/schema/src/main/java/com/cloud/user/UserVO.java#L357-L359

Added lines #L357 - L359 were not covered by tests

Check warning on line 364 in engine/schema/src/main/java/com/cloud/user/UserVO.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

engine/schema/src/main/java/com/cloud/user/UserVO.java#L362-L364

Added lines #L362 - L364 were not covered by tests

Check warning on line 151 in engine/schema/src/main/java/com/cloud/user/dao/AccountDaoImpl.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

engine/schema/src/main/java/com/cloud/user/dao/AccountDaoImpl.java#L151

Added line #L151 was not covered by tests

Check warning on line 153 in engine/schema/src/main/java/com/cloud/user/dao/AccountDaoImpl.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

engine/schema/src/main/java/com/cloud/user/dao/AccountDaoImpl.java#L153

Added line #L153 was not covered by tests